Super weird form post problem...happened when I switch servers
Posted on 2003-03-04
I just recently switched servers and it's been giving me problems. I checked the config files and didn't notice anything drastically different.
Here's the situation. Let's say I have an email newsletter signup form on the first page called "home.php." The field name is called "email". When I submit, it goes to "newsletter.php," where there is are other "profile" fields, along with an "email" field that has been prefilled based on what you entered on the previous ("home.php") page. Simple enough right?
Now on that second page, for the value of "email", I set it to <?=$HTTP_POST_VARS["email"]?> so it could pull the variable from the previous page. THAT'S ALL.
Now since I switched servers, I've been getting very weird results. Let's say I enter "email@example.com", on the next page it would spit out "firstname.lastname@example.orgemail@example.com." This is basically the "valuename=value." It's really screwing things up, esp. since I've never had this problem before.