Re: Very Odd Session Array Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Let me see if i can explain this.

Basically, if i dont have this chunk of code:

$quoteString = implode(",",$_SESSION['quotes'][$key]);
$_SESSION['quotes'][$key] = explode(",",$quoteString);

If i dont do that, when i do a print_r($_SESSION['quotes'][$key]) i get errors that say RECURSION and its almost like the arrays are making new arrays instead of just storing them in the one session array. It is a very odd problem. Does that make things any clearer?


Richard Lynch wrote:

Aaron Axelsen wrote:


We have the chunk of code at the bottom of the page. It is behaving
very strangly under php 4.3.9. Basically, if it is not coded exactly as
listed below, it will not work right. The development server is running
5.0.3, and it works fine. However, the live server has 4.3.9. Is there
something vastly different with arrays and session variables?



You are going to have to define "behaving very strangely" and "will not work right"

Right now, we've got *NOTHING* to work with in terms of what your problem is.




-- Aaron Axelsen lists@xxxxxxxxxxxx

Great hosting, low prices.  Modevia Web Services LLC -- http://www.modevia.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux