Re: is there a commandline php.exe interpreter?

From: Date: Fri, 02 Nov 2001 01:21:17 +0000
Subject: Re: is there a commandline php.exe interpreter?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73218@lists.php.net to get a copy of this message
sure there is, get it at php.net goto download section and choose the cgi version. there you are. php.exe -- Chris Lee lee@mediawaveonline.com "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? > > Here's why I'm asking. I have a set of pages that I want to convert > to php, but I will also need to drop those pages onto a CD too. > I suppose I could view each page from the server and 'save as > HTML' locally, but I was thinking that I might be able to run a php > interpreter on the *.php pages and generate corresponding *.html > pages in batch mode as follows: > c:\> php index.php > index.html > c:\> php about.php > about.html > etc. > > Then I would have to run a batch search/replace program on the > *.html files to change all links to *.php pages to link to the > newly-generated *.html pages. > > Is there anything like that in the win32 install package or > just configure a web server? I started to install it, but it looked > like it was going to just install server stuff, so I cancelled it. > > -- > 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 > > >

« previous php.general (#73218) next »