Execute php file from command line
Posted: Thu May 31, 2007 8:24 pm
I have a script, basically a spider.. that I would like to run on the server.. how would I execute it from the command line?
Thanks!
Thanks!
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
php -f "pathtoscript/test.php"Code: Select all
php -r "pathtoscript/test.php"Code: Select all
php --help