RE: [PHP] command line execution of php code

From: Date: Wed, 30 Aug 2000 16:37:11 +0000
Subject: RE: [PHP] command line execution of php code
Groups: php.general 
Request: Send a blank email to php-general+get-14436@lists.php.net to get a copy of this message
You have two options: 1) rebuild PHP as a CGI (I.E. a standalone excutable) and do: # php -q scriptname or 2) use some sort of text based browser... such as LYNX So you could do: # lynx http://localhost/path/to/your/script and add that to a cron script so you don't have to run it yourself... HTH Tom Walsh http://www.designgeek.com > > I am running PHP on a Linux system ... i have an > occasion to use a PHP > script that does not need to be called from a web page. In > the case of PERL > I use: (/usr/local/bin/perl somescript.pl) is there a way > of doing this > with PHP. I cant seem to find a PHP executable on my system anywhere . > > Thanks > Mark

« previous php.general (#14436) next »