HTTP_REFERER n'est pas une information sur laquelle l'on puisse se fier en toutes circonstances.
C'est indiqué clairement dans la documentation :
Citation :
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
(Source : http://www.php.net/manual/en/reser [...] erver.php)
|
HTTP_REFERER ne dépend pas des serveurs mais des postes clients ("user agents", les navigateurs).
(voir par exemple http://www.phpbuilder.com/board/ar [...] 4100.html)
Message édité par billgatesanonym le 19-02-2010 à 18:33:07