Re: [PHP] securing php pages

2009-11-20 Thread niccguard-dev
From: nitin reddy To: php-general@lists.php.net Sent: Fri, November 20, 2009 8:56:39 AM 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

Re: [PHP] securing php pages

2009-11-20 Thread LinuxManMikeC
On Fri, Nov 20, 2009 at 8:56 AM, nitin reddy wrote: > 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, > > -- >

RE: [PHP] securing php pages

2009-11-20 Thread David Stoltz
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---