is there a commandline php.exe interpreter?
| From: | John A. Grant | Date: | Tue, 23 Oct 2001 18:22:36 +0000 |
| Subject: | is there a commandline php.exe interpreter? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71977@lists.php.net to get a copy of this message | ||
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