Re: $HTTP_REFERER < 10

From: Date: Fri, 13 Jul 2001 00:04:58 +0000
Subject: Re: $HTTP_REFERER < 10
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57589@lists.php.net to get a copy of this message
Maybe what you say about smallest refeerer length is true... but why don't you check via regexps the validity of the REFEERER format only if it was set? "InéRcia Sensorial" <inerte@hotmail.com> wrote in message news:20010712125129.25061.qmail@pb1.pair.com... > Is it possible? > > I am writing a recommend script, and I already know that the $HTTP_REFERER > can come empty or even not set, tested turning off the 'Enable Referer > Logging' on Opera. > > But, an invalid $HTTP_REFERER is also one smaller than 10 characters? > > I believe the smallest referer you can have is > 'http://a.jp', for example, > but I am not sure. > > Anyone saw a smaller $HTTP_REFERER or have any other ideas to check if it > is invalid? > > -- > > Julio Nobrega. > > One and One and One is Three > >

« previous php.general (#57589) next »