Re: [PHP] Running Scripts from the Command Line in Linux

2006-06-10 Thread OOzy Pal
On 6/8/06, Venky [EMAIL PROTECTED] wrote: Even better... if you want to use GET/POST, and access PHP scripts thru the web server, it is recommended to use wget very useful tool, supports http auth, etc. Regards Venky On 08/06/06, Brad Bonkoski [EMAIL PROTECTED] wrote: $ php

[PHP] Running Scripts from the Command Line in Linux

2006-06-08 Thread OOzy Pal
How can I run a .php script from the command in Linux? -- OOzy Kubuntu-Dapper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running Scripts from the Command Line in Linux

2006-06-08 Thread Dave Goodchild
On 08/06/06, OOzy Pal [EMAIL PROTECTED] wrote: How can I run a .php script from the command in Linux? 1. run /usr/local/bin/php (or wherever the php binary is, run which php to find out) scriptname 2. add the hash bang to the start of the script and run it by typing the scriptname. --

Re: [PHP] Running Scripts from the Command Line in Linux

2006-06-08 Thread Rabin Vincent
On 6/8/06, OOzy Pal [EMAIL PROTECTED] wrote: How can I run a .php script from the command in Linux? $ php yourscript.php Rabin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running Scripts from the Command Line in Linux

2006-06-08 Thread Brad Bonkoski
$ php script.php OOzy Pal wrote: How can I run a .php script from the command in Linux? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running Scripts from the Command Line in Linux

2006-06-08 Thread Venky
Even better... if you want to use GET/POST, and access PHP scripts thru the web server, it is recommended to use wget very useful tool, supports http auth, etc. Regards Venky On 08/06/06, Brad Bonkoski [EMAIL PROTECTED] wrote: $ php script.php OOzy Pal wrote: How can I run a .php