[PHP] sessions

2004-05-23 Thread Maarten Weyn
Hi, All my session_start() calls were working fine. But since yesterday the vars i use does not keep there value i use $_SESSION['varname'] Nothing has been changed to the server normally, but on all my sites it does work anymore i think the problem is that when i use session_start() and then

Re: Re[2]: [PHP] sessions

2004-05-23 Thread Maarten Weyn
it works back after a reboot but does anybody know how it could have happened? Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Jeroen, Sunday, May 23, 2004, 4:00:46 PM, you wrote: Should username have quote around it? Wouldn't it try to make it a constant

[PHP] Re: sessions

2004-05-23 Thread Maarten Weyn
it works back after a reboot but does anybody know how it could have happened? Maarten Weyn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, All my session_start() calls were working fine. But since yesterday the vars i use does not keep there value i use $_SESSION['varname

Re: Re[4]: [PHP] sessions

2004-05-23 Thread Maarten Weyn
no i cleaned the /tmp dir, now the problem occurs again Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Maarten, Sunday, May 23, 2004, 4:13:27 PM, you wrote: MW it works back after a reboot MW but does anybody know how it could have happened? Maybe your

[PHP] Re: sessions

2004-05-23 Thread Maarten Weyn
It worked for 5 minutes after a reboot, but now i get the same problem what happens is that on every session_start(); a new sessid is created how comes it doesn't use the old one Maarten Weyn [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, All my session_start() calls were

[PHP] Re: Can anybody tell what is wrong with this file?

2002-03-12 Thread Maarten Weyn
MessageTry this html head /head body table tr td width=19% bgcolor=#DBF3DE1/td td width=15% bgcolor=#DBF3DE1/td td width=14% bgcolor=#DBF3DERaghu/td td width=19% bgcolor=#DBF3DEModem/td td width=18%

[PHP] newbie: using sessions

2002-03-12 Thread Maarten Weyn
Hi i can't get the session variables working. When I get something like $_SESSION['Login']=$HTTP_POST_VARS['login']; on the first page, and i go with a link to an other php page. When then try to get $_SESSION['Login'] again it is empty. How comes? Maarten Weyn -- PHP General Mailing List

[PHP] mysql problems

2002-03-12 Thread Maarten Weyn
Hi on this code: $link = mysql_connect(localhost, login, passwd); mysql_select_db(table); $result = mysql_query(select * from table); while ($row = mysql_fetch_object($result)) { echo $row-ID; echo $row-Drank; } mysql_free_result($result); mysql_close($link); It resulst in Warning: