Re: $_SERVER['HTTP_REFERER'] does not work
| From: | Jason Wong | Date: | Fri, 05 Nov 2004 13:23:01 +0000 |
| Subject: | Re: $_SERVER['HTTP_REFERER'] does not work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201258@lists.php.net to get a copy of this message | ||
On Friday 05 November 2004 01:13, Michelle Konzack wrote:
[snip]
> Then I have the same problem with
>
> echo $_SERVER['SERVER_NAME'];
>
> which tell me every time the "ServerName" but not the public
> "ServerAlias".
>
> WHY ?
Look up "UseCanonicalName" in the Apache docs and see if this relates to your
problem.
> Does anyone have an example, which I can put at the beginning
> of my Web-Pages which allow or deny access to the HTML-Page ?
>
> I need to protect my php-Scripts, because I have had already
> a DoS by calling my php-scripts several tenthousandth times.
The surest way to prevent unauthorised access is to require a login.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Nature is by and large to be found out of doors, a location where,
it cannot be argued, there are never enough comfortable chairs.
-- Fran Lebowitz
*/