Re: [PHP] Blocking Values From an External Source

2005-12-16 Thread Matt Stone
- Original Message - From: "Shaun" <[EMAIL PROTECTED]> To: Sent: Friday, December 16, 2005 7:50 PM Subject: [PHP] Blocking Values From an External Source > Hi, > > I have a script on my site for processing values sent from a contact form > and emailing them to the webmaster. The script

Re: [PHP] Blocking Values From an External Source

2005-12-16 Thread Michael Hulse
On Dec 16, 2005, at 12:05 PM, Michael Hulse wrote: http://us2.php.net/reserved.variables Check this post in the comment section of above url: Zoic 20-Sep-2005 11:39 "I just wrote up this function to secure forms on my site so that you can't submit a form from anywhere but your site. This is

Re: [PHP] Blocking Values From an External Source

2005-12-16 Thread Jason Gerfen
Or try $defined['hostname'] = ""; if ($_SERVER['SERVER_NAME'] != $defined['hostname']) { echo "Not from my domain pal"; } Michael Hulse wrote: 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 webm

Re: [PHP] Blocking Values From an External Source

2005-12-16 Thread Michael Hulse
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