RE: [PHP] session header issue

2003-07-31 Thread Ow Mun Heng
5168 -Original Message- From: Sam Folk-Williams [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 11:41 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] session header issue > That doesn't justify it. This is no different than writing screwed up HTML > tables that happen to ap

Re: [PHP] session header issue

2003-07-31 Thread Sam Folk-Williams
> That doesn't justify it. This is no different than writing screwed up HTML > tables that happen to appear as you want in the browser you're testing with. GREAT point! Sorry, I didn't realize it was bad form. Just ignorant here -- I tried it with an absolule URL and it now works fine. Thanks for

Re: [PHP] session header issue

2003-07-31 Thread CPT John W. Holmes
From: "Ow Mun Heng" <[EMAIL PROTECTED]> >> >> >> The Location: header requires a correctly formed URL, ie http://... >> > > I'm running fine using only Location:home.php on Mozilla & IE 6 > > maybe I should change. Please see my previous emails on the difference between "works" and "right"...

Re: [PHP] session header issue

2003-07-31 Thread John Manko
I usually included a global variable prefixed to the page, like such.. header("Location: $ssl_server/mypage.php"); or header("Location: $server/mypage.php"); and a myserversetting.php setting these. Now, I can globally change the servers by editing one file. Chris Shiflett wrote: --- Sam Folk-Wi

Re: [PHP] session header issue

2003-07-31 Thread Chris Shiflett
--- Sam Folk-Williams <[EMAIL PROTECTED]> wrote: > > The Location: header requires a correctly formed URL > > It works fine having Location: main.php That doesn't justify it. This is no different than writing screwed up HTML tables that happen to appear as you want in the browser you're testing w

Re: [PHP] session header issue

2003-07-31 Thread Sam Folk-Williams
a & IE 6 maybe I should change. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] session header issue On Thursd

Re: [PHP] session header issue

2003-07-31 Thread Sam Folk-Williams
dnesday, July 30, 2003 10:12 PM Subject: Re: [PHP] session header issue > On Thursday 31 July 2003 06:39, Sam Folk-Williams wrote: > > I've got a site with a login authentication script in a file called > > login.php. Every page has a simple session check on top of it, as well &g

RE: [PHP] session header issue

2003-07-31 Thread Ow Mun Heng
[mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] session header issue On Thursday 31 July 2003 06:39, Sam Folk-Williams wrote: > I've got a site with a login authentication script in a file called > login.php. Every page has a si

Re: [PHP] session header issue

2003-07-30 Thread Jason Wong
On Thursday 31 July 2003 06:39, Sam Folk-Williams wrote: > I've got a site with a login authentication script in a file called > login.php. Every page has a simple session check on top of it, as well > as line that captures the name of the file the user is trying to view. > The idea is that if the

Re: [PHP] session header issue

2003-07-30 Thread Sam Folk-Williams
Thanks, but that's not on the login.php page, only on all the protected pages. Sam Curt Zirzow wrote: * Thus wrote Sam Folk-Williams ([EMAIL PROTECTED]): Problem: instead of sending them to the page they wanted to view, they get sent to this URL: login.php?file=/dir/file_name.php?v=123 What'

Re: [PHP] session header issue

2003-07-30 Thread Curt Zirzow
* Thus wrote Sam Folk-Williams ([EMAIL PROTECTED]): > Problem: instead of sending them to the page they wanted to view, they > get sent to this URL: login.php?file=/dir/file_name.php?v=123 > > What's going on here? Why doesn't "Location: $file" return the contents > of $file? The session check a