You can use either cookies of sessions to maintain security:

Some pseudo code:

Login page:

Login successful? If yes, set session value "LOGIN" = "YES"

Then on all other pages, 1st check session value "LOGIN"....if != "YES"
then bump them to the login page.

Make sense?

-----Original Message-----
From: nitin reddy [mailto:chintu.ni...@gmail.com] 
Sent: Friday, November 20, 2009 10:57 AM
To: php-general@lists.php.net
Subject: [PHP] securing php pages

Hi I am a new user of PHP..in my project i have put login forms and i am
able to login successful but the pages after the login can be accessed
directly by typing the address so if any one can help in this matter.


Thank you,

-- 
Nitin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to