Re: First stupid post of the year.
| From: | tedd | Date: | Wed, 02 Jan 2008 23:41:29 +0000 |
| Subject: | Re: First stupid post of the year. | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266537@lists.php.net to get a copy of this message | ||
At 1:08 PM -0800 1/2/08, Casey wrote:
OKAY. Let's clarify. Here's the string in HTML: A The browser then passes it to GET/POST. It decodes the entities, and then urlencodes them. Now it looks like this: %a0%20%a0%20%a0%20%a0A%a0%20%a0%20%a0%20%a0 Then PHP receives it, urldecodes the string, then stuffs it inside $_POST, $_GET, $_REQUEST, etc. Now it's like this:Good clarification, but not a solution. It didn't work. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comA$_POST['submit'] == ' A ' // TRUE.... *pokes my solution*... $value = trim($value, chr(32) . chr(160));