[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 simple session check
] 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
as line that captures the name of the file the user is trying to view
.
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 Thursday 31 July 2003 06:39, Sam Folk-Williams
--- 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 with.
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
From: Ow Mun Heng [EMAIL PROTECTED]
snip
The Location: header requires a correctly formed URL, ie http://...
/snip
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...
---John
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
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 appear as you want in the browser you're
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 user tries to go straight to an inside page
without logging
* 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 as well
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
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
12 matches
Mail list logo