Re: Blocking Values From an External Source

From: Date: Fri, 16 Dec 2005 20:05:22 +0000
Subject: Re: Blocking Values From an External Source
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227559@lists.php.net to get a copy of this message
On Dec 16, 2005, at 11:50 AM, Shaun wrote:
I have a script on my site for processing values sent from a contact form and emailing them to the webmaster. The script has been abused by spammers and my hosting company has recommended that I change the script to only accept information posted from my own URL. Could someone tell me how this can be done please?
Hello, Maybe try using: $_SERVER['DOCUMENT_ROOT'] Or, something similar. http://us2.php.net/reserved.variables Hth, Cheers, Micky

« previous php.general (#227559) next »