Re: [PHP] uk date to mysql date and back again

2007-04-10 Thread Jan Brucek
Hi, maybe what you are looking for are functions strtotime() and date(). Since PHP5.1 you can also define timezone through date_default_timezone_set(). J. Ross wrote: I have made a very messy function for this that splits the string up does all kinds of stuff but I was wondering if anyone has

Re: [PHP] Where to insert a phrase in the right place

2007-04-10 Thread Jan Brucek
Hi, it seems that you set the $_SESSION['greeted'] variable and do not unset it anywhere. If user wants to log-in, and his credentials are OK, you then create session and set this varaible you want. If it isn't OK, you need to unset the variable or/and destroy the session so that the variable won