![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Master of Gfy.com
Industry Role:
Join Date: Feb 2002
Posts: 14,887
|
Anti Hotlinking Script!
Any guys good with Php around? How did this guy make this?
http://www.pornvideoworld.com/avi/ I found it at this message board thread where he mentions about it being a php script http://www.videosboard.com/cgi-bin/i...um=1&topic=544 any help would be appreciated, having my own little war with hotlinkers right now |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Location: Toronto, ON
Posts: 962
|
The AVI file is a PHP script which validates the refferer. If there is no refferer, it sends a redirect instead. Look:
vhosts]# telnet www.pornvideoworld.com 80 Trying 216.131.82.98... Connected to pornvideoworld.com. Escape character is '^]'. GET /avi/xxx.avi HTTP/1.1 host:www.pornvideoworld.com HTTP/1.1 302 Found Date: Wed, 13 Feb 2002 04:02:44 GMT Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 FrontPage/4.0.4.3 PHP/4.0.4pl1 X-Powered-By: PHP/4.0.4pl1 Location: fuck.html Transfer-Encoding: chunked Content-Type: text/html 0 Connection closed by foreign host.
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60. |
![]() |
![]() ![]() ![]() ![]() ![]() |