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: A $_POST['submit'] == ' A ' // TRUE. ... *pokes my solution*... $value = trim($value, chr(32) . chr(160));
Good clarification, but not a solution. It didn't work. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php