On Monday 02 April 2001 22:30, you wrote:
> Hi all
> is this syntax correct to work on session in php4?
>
> <?php
> global $test;
> $test = "foo";
> session_register("$test");
> ?>
>
> but nest page when I call variable $test to echo it, nothing come up?
> what did I do wrong? Jack

Use session_start();

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Pretty cool, the kind of power information technology puts in our hands
these days.

- Securityfocus on probing 36000000 hosts for known problems in 3 weeks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to