[PHP] Cookies Help

2002-12-12 Thread Sean Mayhew
Ive created a log in that essentially if the username and password are found in the database it displays one section of code and if its not found it display another log in form Im able to log in and my verifylogin() function works because if the username and password are not found it displays the

Re: [PHP] Cookies help please

2002-12-06 Thread Steve Vernon
Thanks a million, must of had something else on my mind ;-) Love, Steve XX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cookies help please

2002-12-06 Thread Jason Wong
On Friday 06 December 2002 20:22, Steve Vernon wrote: > The code below keeps my sessions but the cookie bit dosent work. > > Thanks, > > Steve > XX > > /* Check a session is valid > */ > function session_check($db_link) > { > //Ok so either want to log on, or have a session

[PHP] Cookies help please

2002-12-06 Thread Steve Vernon
Hiya, Ive got a few websites that use sessions and I thought id upgrade them now to use cookies. In the main file it calls the session start function, and then this function is called, but it does not seem to work. I open a new window and the cookie does not seem to auto log me on. Sorry i