Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1886 > unrolled thread

How to run php file in browser using windows Scheduled Task

Started byrrvasanth <vasanthaltimate@gmail.com>
First post2011-05-27 22:31 -0700
Last post2011-05-30 10:12 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.php


Contents

  How to run php file in browser using windows Scheduled Task rrvasanth <vasanthaltimate@gmail.com> - 2011-05-27 22:31 -0700
    Re: How to run php file in browser using windows Scheduled Task Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-28 08:40 -0400
    Re: How to run php file in browser using windows Scheduled Task "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-05-30 10:12 +0200

#1886 — How to run php file in browser using windows Scheduled Task

Fromrrvasanth <vasanthaltimate@gmail.com>
Date2011-05-27 22:31 -0700
SubjectHow to run php file in browser using windows Scheduled Task
Message-ID<19e6c59f-1328-4e36-b24b-6b0cae5c73fa@e17g2000prj.googlegroups.com>
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

[toc] | [next] | [standalone]


#1903

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-05-28 08:40 -0400
Message-ID<irqqfg$jft$1@dont-email.me>
In reply to#1886
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@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1926

From"Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid>
Date2011-05-30 10:12 +0200
Message-ID<irvjhv$3f8$1@dont-email.me>
In reply to#1886
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
--

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web