Re: [PHP-DB] Problem Using Sessions. .. .

2005-05-05 Thread Patel, Aman
Shawn Singh wrote: that was very helpful...Thank you. One question I have is that I want to ensure that my admin page cannot get accessed unless a variable that was registered upon a successful login has been passed into the session...what can I do to ensure this? There are several ways to do

[PHP-DB] Problem Using Sessions

2005-05-04 Thread Shawn Singh
Hey All, I'm fairly new to PHP Programming. I have compiled and installed postgres version 8.0.1, and with that compiled postgres support into my postgres (I'm using PHP version 5.0.4), and I've compiled support for PHP into Apache (version 2.0.53) and all is working (in that I can embed PHP into

Re: [PHP-DB] Problem Using Sessions. .

2005-05-04 Thread Patel, Aman
From the PHP help page on session_register() If your script uses session_register(), it will not work in environments where the PHP directive register_globals is disabled. I'm assuming since you compiled and installed PHP 5.0.4 that your register_globals is disabled. I wouldn't recommend

Re: [PHP-DB] Problem Using Sessions

2005-05-04 Thread Mignon Hunter
The browser has already sent headers on line 13 of your code- line 25 must be the session_start - it has to come first and be at the very top of your code Shawn Singh [EMAIL PROTECTED] 05/04/05 03:13PM Hey All, I'm fairly new to PHP Programming. I have compiled and installed postgres version

RE: [PHP-DB] Problem Using Sessions

2005-05-04 Thread Miguel Guirao
Why dont'n you use soma classes from www.phpclasses.com about User Management!! There are great classes in this site!! -Original Message- From: Shawn Singh [mailto:[EMAIL PROTECTED] Sent: MiƩrcoles, 04 de Mayo de 2005 03:14 p.m. To: php-db@lists.php.net Subject: [PHP-DB] Problem Using

Re: [PHP-DB] Problem Using Sessions. .

2005-05-04 Thread Shawn Singh
that was very helpful...Thank you. One question I have is that I want to ensure that my admin page cannot get accessed unless a variable that was registered upon a successful login has been passed into the session...what can I do to ensure this? Thank you, Shawn On 5/4/05, Patel, Aman [EMAIL