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!

passing variables from forms to php with Apache or IIS

Status
Not open for further replies.

sdales

Programmer
Apr 23, 2003
3
ES
I use mysql + apache + php4 and pass variables from the forms created im HTML to PHP without problem. However, I have to use IIS in another network and for some reason the variables I pass don't seem to be recognised by the PHP using that server. It appears it thinks the variables are empty. Has anyone experienced this? Any idea how to get around it?
 
it may be due to different php versions?

Known is handfull, Unknown is worldfull
 
That sounds an awful lot like a register globals issue.

Make a simple script which just does
Code:
<?php
phpinfo();
?>

and do a search for register_globals on each. I would expect on machine says on and one says off.

Granted, it could be many other things, but I think this is the most likely culprit.

-Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top