Re: Execute shell php scripts (was: Hiiiiii)
| From: | Sascha Meyer | Date: | Sat, 04 Jul 2009 15:06:20 +0000 |
| Subject: | Re: Execute shell php scripts (was: Hiiiiii) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29439@lists.php.net to get a copy of this message | ||
Hi Ravi,
> I want to know that Can i run php script using command prompt in any
> location by typing scriptname.php?
I think that question was answered by Richard, you can have another look it at through the PHP-WIN
user list web frontend:
http://news.php.net/php.windows/29434
Follow his steps and you'll be able to run php files as executable files.
Another way to execute php shell script is setting your PATH environment variable to point to your
php.exe. If set, you can run php files though typing "php myscriptname.php".
Regards, Sascha
--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02