I am continuing to have the same problem when using this enctype on a form. All of the data is being passed, however, if I compare the value of a hidden input to it's string equivalent--it does not equate.
IE-- a hidden input with a value of "test" passed back to the script via multipart/form-data: if I echo the value, I will SEE test, however, if I try someVar == "test" it returns false. This causes problems when trying to write variables to mySQL, using if statements after submission (to check for required fields, valid input, ETC ETC)
If I remove the enctype--everything is FINE. The reason I am using multipart is due to a file upload ability on the script.
PHP Version 4.0.4pl1
Apache Version Apache/1.3.14
Any ideas?
IE-- a hidden input with a value of "test" passed back to the script via multipart/form-data: if I echo the value, I will SEE test, however, if I try someVar == "test" it returns false. This causes problems when trying to write variables to mySQL, using if statements after submission (to check for required fields, valid input, ETC ETC)
If I remove the enctype--everything is FINE. The reason I am using multipart is due to a file upload ability on the script.
PHP Version 4.0.4pl1
Apache Version Apache/1.3.14
Any ideas?