Well I now feel a bit stupid!! It dawned on me that these were warning
messages and NOT errors. I checked in the ini file and found that the
default setting is to show ALL errors and warnings. Re setting this to just
critical errors cured the problem and everything is now working properly.
Thank you for your advice.
--
Ian Pawson
""Johannes Janson"" <[EMAIL PROTECTED]> wrote in message
9dgoeq$goq$[EMAIL PROTECTED]">news:9dgoeq$goq$[EMAIL PROTECTED]...
> Hi,
>
> > session_register("EasyUSER"); $EasyUSER=$login[username];
> > session_register("EasyPASS");$EasyPASS=$login[password];
> > session_register("EasySERVER");$EasySERVER=$login[db_server];
> > session_register("EasyDB");$EasyDB=$login[db_name];
>
> I assume these are the lines which caused the error (counted just
roughly).
> Assign the value to the vars first then register the session.
> This is a question of taste but isn't it eayier to register just one
session
> and put all the values into this session.
>
> session_register("SESSION");
> $SESSION["EasyUSER"]=$login["username"];
> ....
>
> hope it helps (and works... ;-))
>
> johannes
>
>
>
> --
> PHP Install 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]
>
--
PHP Install 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]