Hi As you may remember, i am trying to prepare something to give users a code to place on their pages to show ads. some suggested me to give them a 1*1 image so that enables me to analize their details and help me show ads. ( I know how to analize info after visitors clicked on the ads. Jus the display is a problem) while i was thinking about this idea (using image), i thought maybe i can give them a code like: <img border="0" src="a redirect link here.php " width="1" height="1"> and aRedirecrtLinkHere.php analizes the HTTP_referrer and help me have the ads displayed. and finally redirect to an image. If this works, how can I settup that link and if not any suggestion or idea that works? thanks
I guess I got the solution. I give them an iframe code with a link to a php file on my site as src The only remaining problem is that I can use http_referrer to realize from where my link has been clicked. But I need to realize where ( what domain) is asking for my php file to display the iframe. if i know that, I can analize their settings and display the ads according to their setting in my database
Why not have the width/height the same as the images. Then use php gd to create the image along with processing anything you need to process.