Re: Execute shell php scripts (was: Hiiiiii)

"Sascha Meyer" <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.