ID: 22427 Comment by: solidus_in at yahoo dot com Reported By: jroland at uow dot edu dot au Status: No Feedback Bug Type: *General Issues Operating System: Windows XP / 2000 PHP Version: 4.2.3 New Comment:
When the post data contains HTML special entities i.e. "&" it is stripped off. PHP POst variable only contains data before the first occurrence of "&" I am not sure whether it is a bug or something else. I am yet to test the POST containing other HTML entities. I have been trying to solve the issue but it remains yet. Any help there? Previous Comments: ------------------------------------------------------------------------ [2007-09-21 08:48:04] umberto at meroni dot name Hi there, I solved this problem setting output_buffering = On in my PHP.ini. I hope this helps. Umberto Meroni ------------------------------------------------------------------------ [2007-09-18 11:57:57] idefix at dwaal dot net The same problem happens to me (and my users unfortunately). - PHP Version 5.1.6 - Apache/2.2.3 (CentOS) - only with enctype="multipart/form-data" - only with IE6 on WinXP sp2 - _POST is completely empty (count($_POST) === 0) - Uploaded files are smaller than 3 MB. - Charset: US-ASCII (both Apache header and Meta-tag) For some reason only _some_ IE6 WinXP SP2 machines trigger this error. Opera and Firefox do not seem to trigger this error at all. ------------------------------------------------------------------------ [2007-09-13 20:49:15] lewisagosta at gmail dot com I am still looking for why this worked... but... When I changed "$_POST" to "$HTTP_POST_VARS", the form data is now there. I think it has something to do with the global variables setting, but not sure yet. ------------------------------------------------------------------------ [2007-09-03 11:01:01] ben at hceo dot co dot uk Hi, I found the same POST problem. I have a login form and it works fine on FireFox and IE 6.0.3790, but not on IE 6.0.2800. If the username and password are all one word it works fine on IE 6.0.2800 but if it is made of 2 or more words it only posts the variables once in every 10 or so posts. I read that this problem can be got around by using .htm extension rather than .php - to get around this I changed the httpd.conf file to read: AddType application/x-httpd-php .php .htm I then changed the extension of my login file to .htm and this seems to work ok. ------------------------------------------------------------------------ [2007-07-04 06:05:46] ads at alex4all dot com I just want to say Thanks a lot for comment called ([27 Mar 2003 2:08am UTC] sendoffer at ukr dot net); because my problem solved for same issue. BR, Ali ------------------------------------------------------------------------ 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/22427 -- Edit this bug report at http://bugs.php.net/?id=22427&edit=1