note 23892 added to security.registerglobals

From: Date: Wed, 31 Jul 2002 05:35:59 +0000
Subject: note 23892 added to security.registerglobals
Groups: php.notes 
Request: Send a blank email to php-notes+get-34033@lists.php.net to get a copy of this message
You can send arrays through a post action. The reason it prints Array when you tell it to print is because you've told it to print the entire array, and it is informing you that it is an array. If you were to send some data via post with the following code, <input type="text" name="myarray[1]"> you could print the contents of the textbox with the php command echo "$myarray[1]"; -- http://www.php.net/manual/en/security.registerglobals.php http://master.php.net/manage/user-notes.php?action=edit+23892 http://master.php.net/manage/user-notes.php?action=delete+23892 http://master.php.net/manage/user-notes.php?action=reject+23892

« previous php.notes (#34033) next »