note 50649 added to security.globals
| From: | stephenthebaker<at>gmail" com | Date: | Sat, 05 Mar 2005 19:39:23 +0000 |
| Subject: | note 50649 added to security.globals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85980@lists.php.net to get a copy of this message | ||
hi all,
just a note, and maybe this is the wrong section to post this, but i was working for several hours
on a problem I was having .. i developed a web app on a server using php 4.1x.x and went to move it
to a server with php 5.x.x and was getting problems where the session varriables wouldn't pass
through, or seemingly ...
Come to find out, the session variables were passing through, i was using $_SESSION and NOT
session_is_registered, etc ... which is correct according to this article, but the problem was this
..
I was using $_SESSION['varname'] and the values wouldn't seemingly work, but then I
switched everything to $_SESSION["varname"] and now it all seems to work. not sure if
this is a change in PHP 5 or if this is a thing to set in php.ini, but it was frustrating to not
figure this out for several hours.
Hope this helps someone avoid lots of grief looking for an error, maybe there is an article about
the differences between ' and " ?
Peace ...
----
Manual Page -- http://www.php.net/manual/en/security.globals.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50649
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50649&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50649&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50649&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50649&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50649&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50649&report=yes
Search -- http://master.php.net/manage/user-notes.php