A PHP script creates a banner based on random selection of a product from a database.
Ad server software shows this randomized banner to a client machine.
Problem being, I want one link to give to the ad server software (so we don't have a recurrent time-consuming management nightmare).
How does this link inform the client browser which product was being shown in the banner?
My only thought thus far:
A second PHP "click script" is written and given to the ad server software. The PHP image-generator script grabs the client's IP address and the product number and caches them in DB, then the "click script" looks for this IP and product number and redirects the browser to the proper product.
Does that sound reasonable? Is there a better way?