Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2005, 04:48 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default Save Password

I have a website in PHP in which a users can login and view my site. I want to do that when user login and it check the remember me checkbox. Then when again he will come he will not need to login again on my site.
I know that for this I have to use cookies but now idea that how to use cookies and integrate with PHP ?



(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is how you got it
__________________
(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is  how you got it
 
Old August 16th, 2005, 05:23 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Save username/password in COOKIE.
And check that then.

http://www.medaisworks.org/tutorials/
 
Old August 16th, 2005, 06:06 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

dear anshul thanks for replying but the problem is that how can I use these cookies to store username and password ?

(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is how you got it
 
Old August 16th, 2005, 05:14 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Please see setcookie() function ( in PHP manual ); it's easy.

http://www.mediasworks.org/





Similar Threads
Thread Thread Starter Forum Replies Last Post
using password in Acces Vince_421 Access VBA 8 February 6th, 2007 08:06 AM
Password strength derekl ASP.NET 1.0 and 1.1 Professional 0 November 17th, 2006 06:35 AM
Password rajuru PHP Databases 1 February 10th, 2005 12:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.