| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | I have a picture that I want people to use via hotlinking, however I don't want them to know the direct path so I have written a script that will output it. so the URL to teh pic is mysite.com/pic.php Now I want to do something more, I want to log the URL of the sites that are grabbing the pic. Is there any code that I can use to do this? I am on a shared server if it makes a difference. Thanks |
| |
| | #3 (permalink) | |
| NamePros Regular | Quote:
That is what I was going to use, but I wasn't suere if it was the right thing,, or at least the best way | |
| |
| | #4 (permalink) |
| Senior Member | it may also be best for you to change the extension of the file to the extension the image should be and use a htaccess file to make it so that file is parsed by the php engine. It will not be so noticeable then that you are using a script and people wont try circumventing it. Last edited by filth@flexiwebhost; 06-26-2006 at 09:40 AM. |
| |
| | #5 (permalink) | |
| A Wealth of Knowledge | Quote:
-Steve
__________________ Follow Me on Twitter: | |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |