Re: [PHP3] Session Trouble In PHP 4.0
| From: | fredo | Date: | Mon, 12 Jun 2000 16:38:21 +0000 |
| Subject: | Re: [PHP3] Session Trouble In PHP 4.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1630@lists.php.net to get a copy of this message | ||
> I have installed PHP 4.0 on a Windows 2000 box. Following along to the
> article "Session Management in PHP4: A followup" by Mattias Nilsson, I
have
> attempted to use a very simple session example. When the page is parsed,
> the HTML up to the PHP code is parsed, but nothing thereafter...not even
the
> closing HTML tags after the PHP code?
Make your session variables GLOBAL and set register_globals = On in the
php.ini - this fixed it for me. Using NT4/Apache/PHP4 here...
Good luck.