|
|
|
|
![]() ![]() |
Oct 20 2007, 11:35 PM
Post
#11
|
|
|
Advanced Member Group: Members Posts: 152 Joined: 24-May 07 Member No.: 22,135 |
That's a cool way even though, technically you're still hotlinking though lol. I find that unless the images are insanely huge, it shouldn't be a problem just to host it yourself. Or just upload it to imageshack. I have flickr pro, which has unlimited uploading, so I can shove as many pictures, and display it on other sites.
It's a pretty cool tutorial though. |
|
|
|
Oct 21 2007, 04:40 AM
Post
#12
|
|
|
Super Member Group: [HOSTED] Posts: 805 Joined: 8-April 06 From: Lima - Peru Member No.: 12,579 myCENTs:46.87 |
I just test this cool code to see if it works correctly and i found that it works perfectly, but it can be blocked even if you enable the Hotlinking protection that comes with CPanel, if someone know how to block this please share with us the solution.
Also with few changes it can work with other images files like JPG, PNG, etc. Best regards, |
|
|
|
Oct 21 2007, 07:24 PM
Post
#13
|
|
|
Techno-Necromancer Group: Members Posts: 1,018 Joined: 13-January 05 From: The Net Member No.: 2,127 |
I'm not sure there is a way to block scripts like this in general. This particular one, yes, but not in general. The reason is that web browsers still need to be able to download the images to show to people visiting your site. Scripts can easily pretend to be known browsers, and then there is no good way to prevent this kind of hotlinking.
~Viz |
|
|
|
Oct 22 2007, 05:48 AM
Post
#14
|
|
|
Premium Member Group: [HOSTED] Posts: 286 Joined: 17-June 07 From: Tasmania Member No.: 22,699 |
I never quite realised when I wrote the script, that it still hotlinked. I was trying to prevent it hotlinking at the client end, and I forgot all about the server end.
I use this kind of scripts on my own website, getting images from a site where you're allowed to. I don't know if this is just me, but I don't like putting images on a page where the src="" is from another website. It just doesn't seem "clean" to me. But maybe that's just me being weird. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 5th December 2008 - 01:54 AM |