I need to build a script that will 'credit' a user's account with points when they click a banner add. The problem is that I need to register this click, but at the same time send them to the advertiser's site. The problem is how to pick up the URL's from the banners. I'm really not sure how the excahnge will work (I'm doing this for someone else) but the PHP program has to get the URL, go to a page that registers the click (I figured I would use something like http://site.com/out.php?site=http://advertiser.com
and redirect using that. The problem is HOW to pull http://www.advertiser.com from the Banner exhange...
Thanks! Josh
hi
if the url is as shown the $site variable will store the url, you can then redirect using the location header
header("Location:<your url here>"); exit;
dont forget to put the exit after the redirect statement.
steve
I know this much, the problem is how to get the site variable from the banner..