note 82842 added to security.globals
| From: | Anonymous at osu1 dot php dot net | Date: | Mon, 28 Apr 2008 23:14:56 +0000 |
| Subject: | note 82842 added to security.globals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138885@lists.php.net to get a copy of this message | ||
oirinely at yahoo dot com -
that piece of code will not print another value unless it looks like this:
<?php
$_SESSION['value'] = 'some value';
$value = 'another value';
$_SESSION['value'] = $value; // with this line in, $_SESSION['value'] now equals
$value so it will be insecure
echo $_SESSION['value'];
?>
----
Server IP: 92.48.74.199
Probable Submitter: 86.20.187.216
----
Manual Page -- http://www.php.net/manual/en/security.globals.php
Edit -- https://master.php.net/note/edit/82842
Del: integrated -- https://master.php.net/note/delete/82842/integrated
Del: useless -- https://master.php.net/note/delete/82842/useless
Del: bad code -- https://master.php.net/note/delete/82842/bad+code
Del: spam -- https://master.php.net/note/delete/82842/spam
Del: non-english -- https://master.php.net/note/delete/82842/non-english
Del: in docs -- https://master.php.net/note/delete/82842/in+docs
Del: other reasons-- https://master.php.net/note/delete/82842
Reject -- https://master.php.net/note/reject/82842
Search -- https://master.php.net/manage/user-notes.php