I want to build a function where a user can buy an ad and upload it, and as soon as they pay (I already have shopping cart software), their ad gets displayed on the webpage live. Does anyone have the PHP/MySQL code to do this? Thanks Best
I was working on something like this for one of my sites but I could never get paypal to approve it back to my server... What I did was I made an SQL table to hold all the details, the ad had to be approved by an admin then the user could pay, paypal (or whatever your using) needs to communicate to your server tell you to UPDATE your sql to approve it then to display them just have a random sql query to grab one thats approved and show it. But by doing this its hard to track all the clicks. I ended up giving up and just using adbrite. Hope I kinda sorta maybe helped.
You already have the IPN portion???? You need upload and display only? For a timed display this should not be difficult to write or adapt from existing scripts. As Voyde said above counting clicks or views may be a problem. Sorry answer with questions but I did not get a firm grasp on exactly what you want.