|
Posted by NC on 04/24/06 19:56
Raistlin Majere wrote:
>
> I want my PHP file to work on my browser offline just like uploading
> and visiting my PHP file on a web host with my browser online. In other
> words, I want the interactivity of my site to happen in my computer.
>
> How can I do that?
You need to:
1. Have a working installation of IIS.
2. Configure PHP to work with IIS (either as a NSAPI module or
as a CGI application).
3. Place your PHP scripts in the appropriate directory (by default, IIS
looks for scripts in C:\Inetpub\www, your installation can have a
different setting).
4. Call your PHP scripts via HTTP, not via file system. If you have
a script C:\Inetpub\www\script.php, you should address it as
http://localhost/script.php
Cheers,
NC
Navigation:
[Reply to this message]
|