POST not working on IIS 5 but GET is working How to get POST to work also.
Posted on 2008-06-13
I have installed PHP5 on IIS on my windows XP machine. I have MySQL working, phpMyAdmin working also. In my scripts I cannot get the POST data to send to another page. I can use $_GET['data'] to send something to another page from a form.
I have method="POST" in my html form, I have $_POST['data_name'] in my script but it will not show up.
If I do var_dump($_POST), I get the following display:
I went to Properties on Default Web Site in my Internet Information, to the Home Directory tab and then "Configuration". I check to see that the verb POST is entered there and it is.
I can't figure out why this isn't working.
500 points to the person that helps me figure it out. If more than one person is helpful, I'll ask another similar, but different question to award points to more than one helpful person.