SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Referrer Check
-
Feb 18, 2001, 00:43 #1
- Join Date
- Sep 2000
- Location
- Seattle, WA area
- Posts
- 104
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How can I check (using PHP) that the user used the form on my site to submit the data and that they're not using a form on their site to just POST data to my site?
Thanks.
-
Feb 18, 2001, 00:58 #2
- Join Date
- Aug 2000
- Location
- it look me along time to do that...
- Posts
- 99
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Code:if (eregi(youdomain.com,getenv('HTTP_REFERER'))) { do stuff } else { echo "you can't do that sucker"; }
I will Tell you what is wrong with your website and maybe what you can do to make it better.
Professional Web Site Reviews ... Usability ...
Contact Me god@stillsucks.com for more information ...
look at my other reviews, to see what i have done.
-
Feb 19, 2001, 19:53 #3
- Join Date
- Sep 2000
- Location
- Seattle, WA area
- Posts
- 104
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks. That worked great.
Bookmarks