Date: 05/24/00
- Next message: lomo <email protected>: "[PHP-DEV] PHP 4.0 Bug #4570: cannot load libphp4.so - undefined symbol"
- Previous message: achowe <email protected>: "[PHP-DEV] PHP 4.0 Bug #4569: configure fails to correctly identify GD 1.8.x functions available"
- In reply to: Joey++: "[PHP-DEV] sessions with php4.0.0"
- Next in thread: Joey++: "Re: [PHP-DEV] sessions with php4.0.0"
- Reply: Joey++: "Re: [PHP-DEV] sessions with php4.0.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
nope, still nothing, now the page won't display because it does not have a
html header.
I'm going to have to create another .asp site if I can't resolve this...
anyone got a php.ini file that I could look at?
Thanks / Dankie / Siyanbonga
Joey
joey,
remove *any code* that creates output before the call to
session_start();
(in this case, remove the line that says <p>Before</p>)
it should work then.
- avi
"Joey++" <joey <email protected>> wrote in message
news:8gfv7i$v4j$1 <email protected>
> I am trying to use sessions with php4.0.0 and getting no joy.. an e.g..
>
> <p>Before</p>
>
> <?
> session_start();
>
> session_register("mycount");
>
> $mycount++;
>
> echo("You have visited $mycount times");
>
> session_close();
> ?>
>
> <p>After</p>
>
> The example above, with or without the session_close(); function does not
> return anything more than <p>before</p> in the viewed source of the
executed
> page. I have tried playing with php.ini and the only thing that effects it
> is the session.auto_start booleon, which, when turned on doesn't display a
> page, but the session variable is created in my designated temp file.
>
> The question is, does php4 support sessions on NT and how. Is their an
> example of a php.ini file showing how to do this?
>
> Many thanks in advance for any input you or your team could supply.
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: lomo <email protected>: "[PHP-DEV] PHP 4.0 Bug #4570: cannot load libphp4.so - undefined symbol"
- Previous message: achowe <email protected>: "[PHP-DEV] PHP 4.0 Bug #4569: configure fails to correctly identify GD 1.8.x functions available"
- In reply to: Joey++: "[PHP-DEV] sessions with php4.0.0"
- Next in thread: Joey++: "Re: [PHP-DEV] sessions with php4.0.0"
- Reply: Joey++: "Re: [PHP-DEV] sessions with php4.0.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

