HTTP Referer has to be changed.
| From: | FvH | Date: | Thu, 01 Feb 2001 22:23:37 +0000 |
| Subject: | HTTP Referer has to be changed. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37731@lists.php.net to get a copy of this message | ||
Hi,
I've got a problem with the HTTP_REFERER. I'll explain it to you now.
I've got a site where I can't logon to to change some things. That site
checks the HTTP_REFERER variable and if it matches with what's in the MySQL
db it passes you through.
Now I've got a site which has to have access to that site. Is there a
possiblity to change the referer in the httpheader?
I already tried header("Http-referer: www.name.com"); and header("Referer:
www.name.com"); and so one, but the headers_sent() function keeps on
returing false. (So headers aren't sent)
When I replace the referer for e.g. Location: www.name.com the header is
sent (headers_sent() returns true)
Hope someone can help me.
Greetz & already thanks.
Frank