RE: [PHP] Newbie needs compile

From: Date: Mon, 06 May 2002 09:58:44 +0000
Subject: RE: [PHP] Newbie needs compile
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97157@lists.php.net to get a copy of this message
hi you can also use http://www.webcron.org At 13:29 06/05/02, John Holmes wrote:
He did say he did /not/ want to invoke it from a browser :)
I didn't think that PHP could run w/o one though, so my idea was to use a text browser, have it run the script, then exit out. As I said, I was probably wrong ;) Actually, that's exactly how it's typically done, using wget or lynx. Yes, you can compile a standalone version of PHP and use it directly, but most hosts do not have that. So, you add a line to your cron file that calls up your PHP script through lynx. Your script shouldn't return anything, just do what it has to do, or it should redirect output to a file or email. You can use the -dump switch for lynx to dump any output that does occur. I know he said he did not want to invoke it from a browser, but I think he meant that he didn't want to have to physically go to and load up the page himself. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
___________________________________________________ Hassan El Forkani Founder And Mantainer of : http://WarmAfrica.com EveryOne's Africa Freelance Internet Consultant / Web Applications Developper. Email: hassan@warmafrica.com Tel : 0021671880014 ___________________________________________________

« previous php.general (#97157) next »