|
Posted by Baeribeeri on 04/11/07 08:51
On 9 Apr., 21:59, iktorn <s...@phpfreelancer.net> wrote:
>
> http://php.net/manual/en/function.session-register.php
>
> "If your script uses session_register(), it will not work in
> environments where the PHP directive register_globals is disabled."
>
> 1) check your php.ini for register_globals directive and turn it on (not
> recommended)
> 2) use $_SESSION variable - best way to avoid such problems
>
> --
> Wiktor Walchttp://phpfreelancer.net
register_globals is enabled. Not only on my development machine. My
Webhoster has register_globals enabled, too.
The funny thing is, that other variables, which contain strings and
integers, don't forget their values in the session file on the
webserver. Only the array bilder[] forget the contents.
I rewrote the code using $_SESSION variables. The problems stays.
Hartmut Jäger (http:www.jaeger-edv-service.de)
Navigation:
[Reply to this message]
|