|
|
 |
RE: FN-FORUM: mobile phone service provider
date posted 4th September 2006 20:21
< Do you still find that code useful? On the nms project we find that so
many personal firewalls now strip the HTTP_REFERER header that it's
usually pointless to check it.>
I guess it's impossible to answer until a spammer abuses one of my forms.
The only thing I can say is that none of my sites have been used to send out
spam AFAIK since using it.
kind regards
Paul Bryant
http://webdesignSME.co.uk
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Dave Cross
Sent: 04 September 2006 20:21
To: FN-FORUM / [EMAIL REMOVED]
Subject: Re: FN-FORUM: mobile phone service provider
Paul Bryant wrote:
> //check referring URL
> else {
> $referer = $_SERVER['HTTP_REFERER'];
> $this_url = "http://wildlifebreaks.co.uk/form.php" ||
> "http://wildlifebreaks.co.uk/form.php";
> if ($referer != $this_url) {
> echo "You do not have permission to use this script from another
> URL";
> exit;
> }
Do you still find that code useful? On the nms project we find that so
many personal firewalls now strip the HTTP_REFERER header that it's
usually pointless to check it.
Dave...
--
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|