Page 1 of 1

New To PHP, ad rotator

Posted: Mon Oct 06, 2008 12:14 pm
by Vegan
I was considering using PHP to implement an ad rotator for my my phpBB forum. At present I have static ads and wanted to make the offerings more attractive. I was pondering placing ad assets into MySQL to pick based on various criteria such as who has been making the most coin etc. I could also use the old JavaScript idea of a random item from an array of ad code strings. Any suggestions?

Re: New To PHP, ad rotator

Posted: Mon Oct 06, 2008 12:57 pm
by onion2k
PHP and MySQL is a better approach than Javascript, but either will work fine.

Re: New To PHP, ad rotator

Posted: Tue Oct 07, 2008 11:45 am
by Vegan
Do you have any code to stuff new ads into MySQL and some code to select ads that can not show more than one of each in a given page etc.

Re: New To PHP, ad rotator

Posted: Tue Oct 07, 2008 12:20 pm
by onion2k
Vegan wrote:Do you have any code to stuff new ads into MySQL and some code to select ads that can not show more than one of each in a given page etc.
If you want someone to write this application for you then I'll move this folder to the volunteer work folder (or Job Hunt if you're willing to pay...) ... otherwise please stick to discussing the design of the application or the code you've already written.

Re: New To PHP, ad rotator

Posted: Wed Oct 08, 2008 10:43 am
by Vegan
I am sure such code would be popular for a large number of web operators, so sure, toss it over there.

I am new to Linux etc having come from the Windows platform where I cam very skilled.

Posting the solution here, in this forum would make it available for everyone. Everyone seems to like free.

Hmmm, this forum looks vaguely like mine, but mine is unmodified fresh out of the box. It was easy to install without any help in under 5 minutes. Took some help though to understand how to carve up the forum into separate vhosts.

Re: New To PHP, ad rotator

Posted: Wed Oct 08, 2008 11:04 am
by onion2k
Moved to Volunteer Work as requested.