Re: $_SERVER['HTTP_REFERER'] does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux