note 68170 added to security.globals

From: Date: Sun, 16 Jul 2006 21:11:11 +0000
Subject: note 68170 added to security.globals
Groups: php.notes 
Request: Send a blank email to php-notes+get-114830@lists.php.net to get a copy of this message
Quoted from above: "Reliance on this directive was quite common and many people didn't even know it existed and assumed it's just how PHP works." Quoted from http://us3.php.net//manual/phpfi2.php#starting <----Begin Quote Block----> A simple example Suppose you have a form: <FORM ACTION="/cgi-bin/php.cgi/~userid/display.html" METHOD=POST> <INPUT TYPE="text" name="name"> <INPUT TYPE="text" name="age"> <INPUT TYPE="submit"> </FORM> Your display.html file could then contain something like: <?echo "Hi $name, you are $age years old!<p>"> It's that simple! PHP/FI automatically creates a variable for each form input field in your form. You can then use these variables in the ACTION URL file. <----End Quote Block----> I never assumed this was how PHP worked. I was told this is how it worked! :-) ---- Server IP: 216.194.113.175 Probable Submitter: 68.97.180.250 ---- X-Spam-Status: No, hits=4.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HTML_30_40,HTML_MESSAGE autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/security.globals.php Edit -- http://master.php.net/note/edit/68170 Del: integrated -- http://master.php.net/note/delete/68170/integrated Del: useless -- http://master.php.net/note/delete/68170/useless Del: bad code -- http://master.php.net/note/delete/68170/bad+code Del: spam -- http://master.php.net/note/delete/68170/spam Del: non-english -- http://master.php.net/note/delete/68170/non-english Del: in docs -- http://master.php.net/note/delete/68170/in+docs Del: other reasons-- http://master.php.net/note/delete/68170 Reject -- http://master.php.net/note/reject/68170 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#114830) next »