FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to run php file in browser using windows Scheduled Task
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to run php file in browser using windows Scheduled Task [message #174231] Sat, 28 May 2011 05:31 Go to next message
rrvasanth is currently offline  rrvasanth
Messages: 9
Registered: May 2011
Karma: 0
Junior Member
Dear Friends,

I need help i need to run php file in browser or command-line using
windows scheduled task. if you know please help me.

Thanks
Vasanth
Re: How to run php file in browser using windows Scheduled Task [message #174248 is a reply to message #174231] Sat, 28 May 2011 12:40 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 5/28/2011 1:31 AM, rrvasanth wrote:
> Dear Friends,
>
> I need help i need to run php file in browser or command-line using
> windows scheduled task. if you know please help me.
>
> Thanks
> Vasanth

Browsers do not run PHP code. They request a page from a web server
which then executes the PHP script and sends the output to the browser.
To run in a browser, you would have to start the browser, request the
page from the web server (which may be on the same machine) and display
the results.

You can also have PHP run from the command line, but it won't run in a
browser.

But this is the wrong place to ask about Windows scheduled tasks. Try a
Windows newsgroup.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: How to run php file in browser using windows Scheduled Task [message #174268 is a reply to message #174231] Mon, 30 May 2011 08:12 Go to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma: 0
Senior Member
El 28/05/2011 7:31, rrvasanth escribió/wrote:
> I need help i need to run php file in browser or command-line using
> windows scheduled task. if you know please help me.

Do you have a specific PHP-related problem or are you looking for a
tutorial on how to use the scheduler wizard?

As about the "browser", I'll assume you want a grabber to do some HTTP
stuff. You can write one in PHP or use wget for Windows:

- http://php.net/curl
- http://gnuwin32.sourceforge.net/packages/wget.htm



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: input country name and query database to output google map
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 23:00:18 GMT 2024

Total time taken to generate the page: 0.01987 seconds