Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fedora 4/apache/ php no post variables from submitted form

Status
Not open for further replies.

cjokinen

Programmer
Dec 7, 2005
1
US
Hello,

I have a form that submits to itself, but no post variables set. I have checked the $GLOBALS and found that the HTTP_RAW_POST does indeed have the values, they are just not being parsed to the $_POST variable, some that PHP should be doing. I have ran a simular script in a windows environment and did not have this problem. I wounder if this is some setting in Apache that would cause the script to behave this way? a sample of the form would be like this....
=====================================
<form method='post' action=''>
<table>
<tr><td>name</td><td><input type='text' name='uName'></td></tr>
<tr><td>password</td><td><input type='password' name='uPass'></td></tr>
<tr><td colspan='2'><input type='submit' name='login' value='logogin'></td></tr>
</table>
</form>
=====================================
...because the action atribute is empty it will submit to itself, but to be certain i have a script that loads the page pathway.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top