Page 1 of 1

help on local host php form

Posted: Sat Sep 06, 2003 4:13 am
by lance
Hi there, wondering if anyone can help. I've recently setup my pc as a localhost server with IIS and installing PHP and Apache. I've got a book on PHP which is great learning. However, one of the tutorials shows me how to do a simple form that uses a GET method which directs to a PHP page that displays the information which a user has just entered.

The problem is, it won't display on my localhost server, but when I upload to a different server via modem it works fine. Small PHP scripts like PHP includes display fine on my localhost so is there something else I'm missing? I'd appreciate if someone could get back to me on this one.

Posted: Sat Sep 06, 2003 4:43 am
by volka
the script doesn't show up at all or it simply doesn't recognize the parameters passed?
In the latter case please have a read of Sticky: Before Post Read: Concerning Passing Variables in PHP 4.2+

If it doesn't work at all open the source view of your browser after you've requested the page. If the script's source code shows up there your webserver isn't configured to handle php-scripts.

Posted: Sat Sep 06, 2003 11:50 am
by m3rajk
you have BOTH IIS AND Apache? could it be a conflict wbetween the server software packages?both apache and iis are server packages. they do the same thing.