Bug #10377 Updated: PHP forces illegal HTML

From: Date: Wed, 18 Apr 2001 13:54:21 +0000
Subject: Bug #10377 Updated: PHP forces illegal HTML
Groups: php.dev 
Request: Send a blank email to php-dev+get-51875@lists.php.net to get a copy of this message
ID: 10377 Updated by: derick Reported By: have@none.com Old-Status: Open Status: Bogus Bug Type: Feature/Change Request PHP Version: 4.0.4pl1 Assigned To: Comments: 1. $HTTP_GET_VARS is an array (try var_dump ($HTTP_GET_VARS)); 2. You can get the whole query string: $HTTP_SERVER_VARS["QUERY_STRING"]; and 3. You don't need to use the [], it's up to you how you use it. It merely gives you a nice function. Previous Comments: --------------------------------------------------------------------------- [2001-04-18 09:44:41] have@none.com $HTTP_GET_VARS and $HTTP_POST_VARS force us to use illegal HTML. This is because we have to add "[]" after a checkbox name if we want to access all values. Suggested fixes: 1. $HTTP_GET_VARS could return an array. 2. Create environment variables $HTTP_GET/POST which includes the parameters in the standard way (like "name=value&name2=value2" etc. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10377&edit=2

« previous php.dev (#51875) next »