Hiiiiii

Hiiiiii

am 04.07.2009 14:14:37 von Ravi Joshi

--0-633137608-1246709677=:68669
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


Thanks mr. Gunawan for helping me in php=A0 mailing list.
                         =A0=
                         =A0=
        =A0 AND
I want to know that Can i run php script using command prompt in any locati=
on by typing scriptname.php?
-Ravi Joshi

=0A
--0-633137608-1246709677=:68669--

Re: Execute shell php scripts (was: Hiiiiii)

am 04.07.2009 17:06:20 von harlequin2

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