get remote parameters
Posted: Sat Mar 15, 2008 8:21 pm
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
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