|
Posted by Jim Carlock on 07/16/06 00:25
"Eric Capps" <no@thanks.com> wrote:
> I'm writing a web app that uses a PHP script to request
> information from the server. I'd like to test it locally on
> my machine, but despite having PHP installed, I can't
> seem to get it to process the .php file automatically when
> it is read. Is there a way to turn automatic processing of
> a file/directory on/off?
The best way to go involves installing a webserver.
However, you can do simple tests and such on a Windows
system, if they don't use "include", "require" and in general
are really simple. You'd do this by putting the php.exe in the
path inside a command prompt, but this means that you'd
lose the ability to use a web-browser.
There's another more complicated way to get things more
permanent by editing the HKCR\.php key or possibly the
HKCR\phpfile key.
Not sure which direction you're heading or which OS you
work on.
--
Jim Carlock
Post replies to the group.
Navigation:
[Reply to this message]
|