I have this strange problem.
If anyone enteres the letters 'nc ' that is N C and a space (eg typing Bobs Inc or Hotsync etc) the server gives:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Now I suppose it could be Apache related or something, but I have no way of telling. I thought it was only in phpBB but I have my own forms on my own blog website and the same thing happens there ( http://www.bangrocks.com .. post a comment to test if you like).
I don't see any problems in the log file to say why this may be occurring so this is my last hope.
Has anyone seen this before? My webhost has noticed it but aren't sure how to proceed.
How are you processing the user supplied text? Can you show us the code that validates what the user wrote before it's sent off to your database?
Basic troubleshooting steps would be of use here. Comment out your validation code and see if it works. If it does, add back the code bit by bit until it breaks. There's nothing in PHP that would prevent text ending in "nc " to be entered.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php