On Monday 01 September 2003 15:54, Mohamed S. wrote: > I'm have a strange problem. I've encoutered a few before, but nothing like > this: > > New machine with php4.2.2 on RedHat with Apache2.0 > > All my forms use POST method. But I noticed that some scripts when i submit > the form, i get wierd data. > > For example: > say i have <input type=hidden name="example" value="val"> > > then what i will get for $example is the string "valexample=val" instead of > just "val"!!! even the $_POST[example] variable gives the same thing...
I believe this is a known problem with that version of PHP. Upgrade to a newer version. Also if you don't have any particular reason to use Apache 2.x then you ought to use Apache 1.3.x instead. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* An adequate bootstrap is a contradiction in terms. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php