phpnoobie9 Posted March 23, 2008 Share Posted March 23, 2008 I have some images that I host. I was wondering if it's possible to see what sites are linking to my images? Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/ Share on other sites More sharing options...
AdRock Posted March 23, 2008 Share Posted March 23, 2008 You can prevent this using .htaccess Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499056 Share on other sites More sharing options...
MadTechie Posted March 23, 2008 Share Posted March 23, 2008 try checking the host logs, Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499057 Share on other sites More sharing options...
phpnoobie9 Posted March 24, 2008 Author Share Posted March 24, 2008 You can prevent this using .htaccess I'm not trying to deny access. I'm trying to see where it's being displayed. try checking the host logs, I can see some referring sites with host log, just wondering if it's possible to track an actual image being displayed at a website. Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499083 Share on other sites More sharing options...
MadTechie Posted March 24, 2008 Share Posted March 24, 2008 if its being displayed via a php script (your side) then yes, really need more info.. about what you want exactly! Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499093 Share on other sites More sharing options...
phpnoobie9 Posted March 24, 2008 Author Share Posted March 24, 2008 Let's say I have image.jpg hosted on my site. I want to see all the websites out there that is linking to image.jpg....where would I start? Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499137 Share on other sites More sharing options...
uniflare Posted March 24, 2008 Share Posted March 24, 2008 im pretty sure apaches access.log file will tell all. Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499138 Share on other sites More sharing options...
MadTechie Posted March 24, 2008 Share Posted March 24, 2008 Let's say I have image.jpg hosted on my site. I want to see all the websites out there that is linking to image.jpg....where would I start? try checking the host logs, I can see some referring sites with host log, just wondering if it's possible to track an actual image being displayed at a website. OR create a script to display the images on their site ie display.php?image=hello.jpg <?php $private = "/hiddenfolder/" //sql write to log file readfile($private.$_GET['image']); ?> Quote Link to comment https://forums.phpfreaks.com/topic/97538-is-there-a-way-to-see-who-is-linking-to-images-on-my-site/#findComment-499150 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.