Forum Moderators: coopster

Message Too Old, No Replies

Dynamicly serve images on other sites

         

batto

7:28 pm on Feb 12, 2010 (gmt 0)

10+ Year Member



Hi

If i will put an img tag on site (A) with source (src) of it will point to the php script on other site(B) that will serve image will script have available address of site A?

jatar_k

6:07 pm on Feb 13, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I am not sure what you mean by "available address"

my suggestion would be to test it

PHPcoder

4:30 am on Feb 14, 2010 (gmt 0)

10+ Year Member



Ok i think what hes saying is will his site show up as the caller of the image.

Well as the caller of the image no it will not. but as the caller of the script that returns the image yes it will.

The logs will show a request from site A to the script on site B this will trigger a log event for the image. it will get called from the script on site b and logged as site b calling it.

Either way, unless you redirtect the call to the script through a proxy server then your site will be the one that gets logged for the initial call. I see no value in trying to hide your site from the logs however unless you are not permitted to use the script or you are trying to breach some security. in either case., tread carefully you may get slam dunked

batto

4:13 pm on Feb 14, 2010 (gmt 0)

10+ Year Member



@jatar_k: I meant address stored in some variable.

@PHPcoder: Thank you for answer. As for usage- i want do do the exact opposite :) I want sites to be in my log.