Reply to Re: Testing PHP locally

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация