Re: [PHP-WIN] Database Invalid

2006-05-01 Thread Armando
There's ways. A really simple way (though not necessarily the right one, or the only one) would be to just use an SSI that gets included at the top of each page it's required to be on to check for the validity of a session... if OK proceed, if not, punt to login. Armando Harpreet wrote: I d

RE: [PHP-WIN] Database Invalid

2006-05-01 Thread Harpreet
I did not get any replies , I was wondering if you guys needed more info or the question is not clear. Is there a way to check when a session variable is ready to expire and rather then it breaking connection to database give a message or take the user to login page Please help Regards Harpreet

Re: [PHP-WIN] Re: Getting Started

2006-05-01 Thread Armando
Don't put php.ini in the Windows folder.. put it back in the PHP folder and add "c:\php" to your PATH environment variable in Windows. Cheers. Armando Travis Cooper wrote: Okay, here is some more information that might help somebody help me. I am working on Windows XP Home. I have Apache 2.0

[PHP-WIN] Re: Getting Started

2006-05-01 Thread Travis Cooper
Okay, here is some more information that might help somebody help me. I am working on Windows XP Home. I have Apache 2.0.55 and php 5.1.2. These are the steps that I have tried. I used the .msi to install apache and then unzipped the php files to c:\php. In the php.ini file I changed the d

Re: [PHP-WIN] Getting Started

2006-05-01 Thread Frank M. Kromann
Did you restart apache after changing http.conf? - Frank > Hi, I have never set up php, or a server for that matter, before and I am > having trouble getting php to work. I have downloaded the latest files for > windows from the php website and I have the latest 2.0 version of Apache. I > have

[PHP-WIN] Getting Started

2006-05-01 Thread Travis Cooper
Hi, I have never set up php, or a server for that matter, before and I am having trouble getting php to work. I have downloaded the latest files for windows from the php website and I have the latest 2.0 version of Apache. I have followed all the instal text files, readmes, etc. and I still can'

[PHP-WIN] Database Invalid

2006-05-01 Thread Harpreet
If a Session is left for an hour or so, the message "Database Invalid" will be displayed on the next attempt to navigate to a page. Would it be possible to jump back to the login page? Or better still, display a popup with the text "Session has expired, pleas log in". When OK is pressed we wou