Hello everyone,
I hate to ask a question that has probably been covered here before, but I just could not find an adequate discussion of the problem.
I am using PHP 4.0.0 and trying to pass an array using session_register from one page to another. All of the other variables pass wonderfully, but the arrays come through blank (on the next page).
I have something like this on the first page:
...
session_start();
...
$my_array = array($filename1,$filename2,$filename3);
session_register('my_array');
...
The array definitely contains values because they are presentable on the first page.
On the second page, I just want to access the array again, but all the data is gone.
I cannot find specific documentation regarding passing arrays through a session. Any help would be appreciated.
Thanks,
James