Get support from Xavier Media
It is currently Sun Dec 08, 2013 12:24 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: cookie password protection script
PostPosted: Mon Apr 19, 2010 10:45 am 
Offline
Rookie
Rookie

Joined: Sun Apr 18, 2010 5:57 pm
Posts: 11
Points: 0
hi all,
i am hope a new member here and really its a very good forum and i am happy that i joined it.

i am a new php user

i need to make a secure login and log out system using php

and found your cookie password protection script which is really good

but i am facing some miss understanding in the script read me

in how to install line no. 3:
Quote:
Edit login.php, logout.php and invalidlogin.php so that they look like the rest of your web site. Don't remove any <? ?> tags.


is that mean that i put my home page code inside all these codes?
or what?

also in line no.6:

Quote:
WARNING: Don't link to the login.php file, always link to the file you want to protect! If you add a link directly to login.php the script may not work at all.


what is that mean? is it i must rename the files i have edited in line no. 3 or what?


thanks in advance


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: cookie password protection script
PostPosted: Mon Apr 19, 2010 4:36 pm 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
3 means that you make the files look like the rest of your web site (if you like) so the visitors don't feel lost if they see a new design on the login page.

6 means that you shouldn't link directly to login.php. To login you should visit one of the protected pages instead, if you haven't logged in already then you will see the login screen.

_________________
Xavier Media®
Join me at LinkedIn | Get your latest blog post in your signature you too


Report this post
Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: cookie password protection script
PostPosted: Wed Apr 21, 2010 3:15 pm 
Offline
Rookie
Rookie

Joined: Sun Apr 18, 2010 5:57 pm
Posts: 11
Points: 0
thanks alot

i will continue working


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]