Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-31-2010, 11:56 PM   #1
Member (10 bit)
 
ChoboSeki's Avatar
 
Join Date: Sep 2006
Location: Roanoke, VA
Posts: 516
Send a message via AIM to ChoboSeki
Any way to retrieve hotlink url?

Say somebody shows one of my images on their website (the image is generated by PHP and uses the IMG tag)

My log file shows:

"GET /usercode-8.png HTTP/1.1" 200 2007 -----.com "http://----.org/user.php?i=2300" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4)

Green: The image which is hotlinked
Blue: The "referer" / link that has the image hotlinked

Is there any way to get the referer by PHP?

I tried $HTTP_REFERER and $_SERVER['HTTP_REFERER'] and it doesn't work in this case.


This is the way it's displayed:
FORUM > Linked PNG (actually PHP file) using IMG tag > PHP file shows the image while adding information in the database
__________________
HD: Seagate Barracuda 320GB PRT SATA 3.0 (7200/16MB), 120GB Seagate Barracuda (7200/8MB)
MB: Asus P5Q Pro Turbo
CPU: Intel C2Q Q9650 3.0 GHz
GPU: BFG GeForce 8800 ULTRA
RAM: G Skill 4GB DDR2 800MHz/PC6400
PSU: Corsair 620-HX
Case: XCLIO A380 Silver
Monitor: Sceptre 20.1" Widescreen (5ms/1000:1)
Headset: Logitech USB Premium 350
Mouse: Logitech G5

Last edited by ChoboSeki; 08-31-2010 at 11:59 PM.
ChoboSeki is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:46 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2