Re: Secure pages - Mailing list pgsql-php

From Grant
Subject Re: Secure pages
Date
Msg-id Pine.LNX.4.21.0103140821440.19081-100000@webster.conprojan.com.au
Whole thread Raw
In response to Secure pages  (Paul Joseph McGee <mcgee@student.cs.ucc.ie>)
List pgsql-php
> Hi everybody,
> i have a user login authentication sysytem on my machine here where users
> may view pages but to do other things the user must login. the login
> scripts seem to work ok and are based on a "Secure Authentication System"
> from www.phpbuilder.com. Basically the page where i want people to arrive
> at upon logging in is at present viewable by anyone who puts the proper
> url into their browser. how do i keep this and other pages secure from
> people who havent logged in?
> Thanks,
> Paul

Create a session. If (!(isset($session))) then redirect to login.php or your authentication file.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl




pgsql-php by date:

Previous
From: Michael Fork
Date:
Subject: Re: php, postgres, ssl
Next
From: Grant
Date:
Subject: Re: postgresql array with PHP