Re: php stand alone

From: Date: Wed, 25 Jul 2001 07:55:14 +0000
Subject: Re: php stand alone
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59510@lists.php.net to get a copy of this message
Hi, Thanks. I will look at that **manual**. But your suggestion of running lynx is interesting. What I want to do is receive a mail to a account with a preset subject. On arriving at that account the php script will get the contents of the subject and preform other tasks. Will the Lynx do it? Adrian On Tue, 24 Jul 2001, Gunther E. Biernat wrote: > >How do I compile php to work as a stand alone. Right now it is working > >thru the web but need to run it from a cron job. > > Have a look at > http://www.php.net/manual/en/install.commandline.php > > The easiest thing of course would be to just call lynx (or any other command line browser taht > is able to do a HTTP request and exit (that's why the "-dump")) within your cron > table, e.g.: > > 0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null > > > > mit freundlichen Gruessen / yours sincerely > > > Gunther E. Biernat > Web Application Engineer > ______________________________________________________________ > > RealNetworks GmbH Tel.: +49-40-415204-24 > Weidestraße 128 Fax.: +49-40-415204-11 > 22083 Hamburg Mail: GEBiernat@real.com > Germany URL : http://de.real.com > ______________________________________________________________ > > >

« previous php.general (#59510) next »