Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 30, 2006, 11:30 am
rate this thread
fine in my script:
$selb = array (
If I fill the same array with the following function, I get error messages:
$suche="SELECT * FROM tabelle";
$erg=mysql_query($suche) or die(ERR_ABFRAGE);
$array = $all["bla"];
Not Supported File Warning: Unknown(): The session id contains invalid
characters, valid characters are only az, AZ and 0-9 in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify
that the current setting of session.save_path is correct (/tmp/session)
in Unknown on line 0
When I print those arrays, they look identical. The Output is WML.
Does anyone have a hint for me?
Thanks a lot!
Re: identical arrays created in different ways behave different
You have a session problem, not an arrayproblem.
Try to debug THAT part and leave the array.
I suggest you start with a simple page without any DB access that only
stores a var in a session, and try to retrieve from the next page.
Go to www.php.net and look up session to learn how to use them and possible
problems concerning sessions.
In this case I expect /tmp/session is NOT writable for PHP-user (often
apache or nobody or www-data under *nix)
- » "Cannot send session cookie ..." I truely DON'T output ANYTHING before calling session_sta...
- — Previous thread in » PHP Scripting Forum