Page 1 of 1

MSN Framework Bot

Posted: Sun Jun 02, 2002 6:44 pm
by Bart
I saw the bot, I know how to use PHP (And pretty good) but one thing I have never done is run a PHP file through Command line, how can I do this?

Posted: Mon Jun 03, 2002 6:16 am
by rats
http://gtk.php.net/
This has the install for the commandline php.

Posted: Tue Jun 04, 2002 4:55 am
by Bart
...I recently got a free shell and I know it's possible to run PHP scripts off it, can anyone guide me in doing this?

Posted: Tue Jun 04, 2002 9:50 am
by EvilWalrus
i think you people are confused about how to run php via commandline... if you're on windows, just make a batch file with the following contents:


"C:\Your\Location\To\php-cli.exe" -f script.exe
pause


or...

if you're on *nix, just type 'php -f script.php' to run it...