Hello
Well basically what I've got is a random banner script working. I can add images to a folder on my server called bannerx, inside bannerx is what ever banners I want to have rotated. There is also a text document called bannerx.txt which has all the banners that are in the folder, listed like this:
<a target=_blank href="http://www.trafficswarm.com/go.cgi?217787"><img src="bannerx/00001.gif" border="0" alt="Free Traffic To Your Site!"></a>
Then outside of the bannerx folder, is a file called bannerx.php this basically randomizes the rotation of each banner, but checks the bannerx.txt file to see which ones to rotate.
Now the only way to get a banner in the sequence is to add it to the bannerx folder and add its url etc to the bannerx.txt file.
I want to change how this works. I want to be able to have users on my site upload a banner to the bannerx folder, and be able to type in a URL to their site or another site, for when someone clicks on their banner.
I only want to make it a very simple image uploader where I can set the dimensions for the image, the max file size, the file types, and I want to have another text box for typing in their URL and a submit button, and then a confirmation page.
I am having a little trouble doing this how ever.
Any help would be appreciated. Thanks.
EDIT: here is the link to the script so far
http://www.brokencube.xnnetworks.net/bannerx.php