note 68342 added to security.globals
| From: | branatk at yahoo dot com | Date: | Mon, 24 Jul 2006 05:30:48 +0000 |
| Subject: | note 68342 added to security.globals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115071@lists.php.net to get a copy of this message | ||
Here's a historical note dating back to PHP/FI for those that have used PHP for some time and
feel like, "Yes, this is how I thought PHP was designed."
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:
<?php
<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:
<?php 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: 64.71.164.2
Probable Submitter: 68.97.180.250
----
X-Spam-Status: No, hits=4.0 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HTML_20_30,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/68342
Del: integrated -- http://master.php.net/note/delete/68342/integrated
Del: useless -- http://master.php.net/note/delete/68342/useless
Del: bad code -- http://master.php.net/note/delete/68342/bad+code
Del: spam -- http://master.php.net/note/delete/68342/spam
Del: non-english -- http://master.php.net/note/delete/68342/non-english
Del: in docs -- http://master.php.net/note/delete/68342/in+docs
Del: other reasons-- http://master.php.net/note/delete/68342
Reject -- http://master.php.net/note/reject/68342
Search -- http://master.php.net/manage/user-notes.php