note 23894 added to security.registerglobals

From: Date: Wed, 31 Jul 2002 05:43:45 +0000
Subject: note 23894 added to security.registerglobals
Groups: php.notes 
Request: Send a blank email to php-notes+get-34035@lists.php.net to get a copy of this message
When I was reading this page, I thought, "Oh great, now how am I going to change my pages so they will accept variables from the URL" I read some of the first comments and got confused about why they were doing that. It finally made sense when I read that in an URL, and thing after the ? mark is a get request. So we have a URL, http://www.hello.com/?id=12345 the command $id=$HTTP_GET_VARS['id']; would get the variable. I didn't know this before, so I hope this helps some other people. -- http://www.php.net/manual/en/security.registerglobals.php http://master.php.net/manage/user-notes.php?action=edit+23894 http://master.php.net/manage/user-notes.php?action=delete+23894 http://master.php.net/manage/user-notes.php?action=reject+23894

« previous php.notes (#34035) next »