try this

<?
system("php.exe <filename>", $output);
echo $output;
?>

make sure you put the correct paths to the .exe and file  otherwise it will
think that it is realtive to where you are in the file system.

Jim
----- Original Message -----
From: "John A. Grant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 6:07 AM
Subject: [PHP] Re: is there a commandline php.exe interpreter?


> "John A. Grant" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've installed ActivePerl, which gives me a way to run .pl files,
> > i.e. :
> >     c:\> perl someprogram.pl
> >
> > Does the Win32 php installation give me a command-line
> > interpreter like that?
>     [...]
>     No replies. I guess not, just server-based... :(
>
> --
> John A. Grant  * I speak only for myself *  (remove 'z' to reply)
> Radiation Geophysics, Geological Survey of Canada, Ottawa
> If you followup, please do NOT e-mail me a copy: I will read it here
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to