Home > Archive > PHP SQL > January 2005 > php/mysql banner ad server
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
php/mysql banner ad server
|
|
| Big Frank 2005-01-14, 8:56 pm |
| Hello all,
Excuse me if this is slightly off-topic.
I have spent the past 48 hours scouring the web, downloading and installing
all sorts of scripts purporting to do what I need, but none of them come
close. Maybe one of you is aware of something that will fulfil my
requirements, which are as follows:
I have a php/mysql cms.
Pages are built using template includes.
Each page has the url 'index.php?id=nn'
Once the page has been created I will know that index.php?id=48 is the page
about Antique Clocks, i.e. this will not change unless I edit the page and
change its content.
I need a Banner Ad serving script that will serve up ads based upon the
content of the page, and using ONE piece of invocation code inserted into
the Header template.
Everything I have seen, tested , demo'd or downloaded, including the
wonderful phpAdsNew, cannot achieve this at all or if it says it can, not
without a mind-numbing level of complexity that I could not master. Is there
not an application somewhere that allows me to set a limitation on banner
serving as follows:
IF ({URL variable 'id'} = '48')
DISPLAY Banner 'Antique Clock Magazine'
ELSE
DISPLAY Banner 'default'
Surely this is not rocket science, especially when so many websites these
days are dynamic? Any assistance pointing me in the right direction would be
gratefully received.
Have a good w end, wherever you are!
Frank
| |
| Bob Bedford 2005-01-14, 8:56 pm |
|
"Big Frank" <francois@duffortENLEVE.org> a écrit dans le message de news:
cs97lp$cnr$2@aphrodite.grec.isp.9tel.net...
> Hello all,
>
> Excuse me if this is slightly off-topic.
>
> I have spent the past 48 hours scouring the web, downloading and
> installing
> all sorts of scripts purporting to do what I need, but none of them come
> close. Maybe one of you is aware of something that will fulfil my
> requirements, which are as follows:
>
> I have a php/mysql cms.
> Pages are built using template includes.
> Each page has the url 'index.php?id=nn'
> Once the page has been created I will know that index.php?id=48 is the
> page
> about Antique Clocks, i.e. this will not change unless I edit the page and
> change its content.
>
> I need a Banner Ad serving script that will serve up ads based upon the
> content of the page, and using ONE piece of invocation code inserted into
> the Header template.
>
> Everything I have seen, tested , demo'd or downloaded, including the
> wonderful phpAdsNew, cannot achieve this at all or if it says it can, not
> without a mind-numbing level of complexity that I could not master. Is
> there
> not an application somewhere that allows me to set a limitation on banner
> serving as follows:
>
> IF ({URL variable 'id'} = '48')
> DISPLAY Banner 'Antique Clock Magazine'
> ELSE
> DISPLAY Banner 'default'
>
> Surely this is not rocket science, especially when so many websites these
> days are dynamic? Any assistance pointing me in the right direction would
> be
> gratefully received.
>
> Have a good w end, wherever you are!
>
> Frank
Hi Frank,
Maybe I'm wrong, but for what I've understood, you can do it with phpadsnew
(even if you say you can't, it was quite simple to achieve). I don't
remember how, but you can set a particular banner on a word or even number.
So if you know ID = 48, you may be able to show your banner on this info.
Look in user's guide or any other PDF file and you will get the info on how
to do so.
Hope it helps.
bob
|
|
|
|
|