dime_f Posted March 16, 2008 Share Posted March 16, 2008 Hello i have a problem and i hope that somebody can help me. i work on project banner manager. i have owners who get banner with this code: a href="http://localhost/click.php?site_id=1" img src="http://localhost/picture.php?site_id=1" alt="server not started" /a image tag is associated with php file who generate picture with this code: $image_path = $row[0]; $fp=fopen($image_path,'rb'); $data=fread($fp,filesize($image_path)); echo $data; when some visitor click on banner i want to increment banner clicks in click.php but i dont know how to recognize banner id. Banners generates random and some time visitor see ex. banner1, other visitor see banner2. how can i get banner id's for same site, if at one moment ex. 10 visitors see same site with diferent banners. any ideas? (sorry for my bad english) Regards Quote Link to comment 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.