help on local host php form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lance
Forum Newbie
Posts: 1
Joined: Sat Sep 06, 2003 4:13 am

help on local host php form

Post 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.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post 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.
Post Reply