Re: url without a query string?
| From: | In�rcia Sensorial | Date: | Mon, 09 Jul 2001 06:15:06 +0000 |
| Subject: | Re: url without a query string? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56884@lists.php.net to get a copy of this message | ||
I am not sure if the header(); function still maintain the referer, but if
it does:
You could make the first link lead to any named page, like: gate.php
On gate.php you put: header("Location: index.php");
On index.php you put:
if ($HTTP_REFERER == 'http://www.your_domain.com/gate.php') {
header ("Location: http://www.where_users_really_will_go.com")
}
Maybe a few protections on gate.php so users don't call it directly are
nice too...
--
Julio Nobrega.
Yes, I am developing another 'Portal-System'
Have a look:
http://sourceforge.net/projects/toca
"Jon Yaggie" <dmsales@design-monster.com> wrote in message
news:02e801c1082e$c48e6a30$0100a8c0@piiimonster...
the problem
i have a page that uses a query string to determine content. ie
index.php?id=2 in this page there is a link to a memebership area that uses
a remote service. this service requires that thee be the exact same
refering url. is the refering url must always be index.php. how can i do
this? can i do this?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0