ID: 34594 Updated by: [EMAIL PROTECTED] Reported By: thijs at toltech dot nl -Status: Closed +Status: Bogus Bug Type: Variables related Operating System: Gentoo Linux PHP Version: 5.0.5 New Comment:
We mark user errors as 'Bogus'. Previous Comments: ------------------------------------------------------------------------ [2005-09-22 15:07:39] thijs at toltech dot nl Ok I found the problem, Every variable that is send over (GET and POST) variables is being checked: foreach($_POST as $key => $value) $_POST[$key] = addslashes(trim($value)); This somehow caused it to be a string with the value 'Array'. I searched around for help and found one similair bug on this site that was exactly the same.. so I thought it was a php bug. Sorry for this invalid bug post.. I closed it now ------------------------------------------------------------------------ [2005-09-22 12:50:08] thijs at toltech dot nl I have been testing this now as well since [EMAIL PROTECTED] sais this works.. it now works for me as well except in the form where I want it to work.. I first thought this was caused by the template engine, but it isn't.. I will try to find out what is causing this.. ------------------------------------------------------------------------ [2005-09-22 12:31:35] [EMAIL PROTECTED] Works fine for me too when using proper HTML form. ------------------------------------------------------------------------ [2005-09-22 12:27:24] thijs at toltech dot nl I'm unable to post feedback on this matter due to that make install fails on the location of the apache conf file. (Which is httpd.conf instead of apache2.conf, I configured php with the configuration taken from phpinfo() from my current php installation) ------------------------------------------------------------------------ [2005-09-22 11:11:03] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Works perfectly here. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34594 -- Edit this bug report at http://bugs.php.net/?id=34594&edit=1