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:

"Jon Yaggie" <[EMAIL PROTECTED]> wrote in message
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

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

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to