PHP data corruption in form submission on new server
| From: | Brad Esclavon | Date: | Mon, 03 May 2004 18:32:34 +0000 |
| Subject: | PHP data corruption in form submission on new server | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-13387@lists.php.net to get a copy of this message | ||
One of my variables "link1" that is storing a bunch of urls is having random
lines being duplicated on form submission. I just recently swithed servers
from a PHP 4.3.3 to a 4.2.2 version. This error has only started appearing
on the new machine. The script worked fine on the old server and still does
on the test server. Any ideas? I think it might have to do with the ini
config. i am stumped. here is a link to my code.
http://host107.ipowerweb.com/~madpundi/bad.php
this is the links that the form should echo
http://host107.ipowerweb.com/~madpundi/exgood.php
thiis is what it is echoing after submit
http://host107.ipowerweb.com/~madpundi/exbad.php
i have debugged my code and traced it all. i have the script running
flawless on the old server and on a local test server. there is just
something about data transmission in submitting that screws it up. i think
it is a ini misconfig, but i cant see anything that would cause that. i
included the 2 php info files, incase i am missing something. i am stumped
as to what to do now. the only thing i know to try is compile
php/apache/mysql from scratch from the latest versions. (the colocation
setup used rh9 rpms, so the versions are slightly old and all the data is
scattered in custom locations). i have had nothing but trouble and errors in
all my rpm endeavors.
here is the phpinfo() from the old server
http://host107.ipowerweb.com/~madpundi/oldserver.htm
here is the phpinfo() from the new server
http://host107.ipowerweb.com/~madpundi/newserver.htm