Re: Re: is there a commandline php.exe interpreter?
| From: | Jim Lucas | Date: | Fri, 26 Oct 2001 01:28:06 +0000 |
| Subject: | Re: Re: is there a commandline php.exe interpreter? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72379@lists.php.net to get a copy of this message | ||
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" <jazrant@zsc.nrcan.zc.ca>
To: <php-general@lists.php.net>
Sent: Thursday, October 25, 2001 6:07 AM
Subject: [PHP] Re: is there a commandline php.exe interpreter?
> "John A. Grant" <jazrant@zsc.nrcan.zc.ca> wrote in message
> news:20011023183345.37457.qmail@pb1.pair.com...
> > 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>