> Does anyone know if there's a php command line parser,
> that lets you run php-scripts from the command prompt instead of running
> them over http. (much like perl)

Make sure you compiled php as a binary.. and then start your script with:

#!/path/to/php -q
<?php
//code here
?>

Then simply perform a chmod 755 or whatever you wish on that file to make it
executable, and then you can run it from the shell.

/ franklin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to