PDA

View Full Version : php scripting question


noooze
09-03-2003, 06:02 AM
ok - here goes - hope you can understand me.

have dl easylinklist but i need a litte change.
the script a uses top and bottom html to put in the listing.
I wouldt like if there was anyway of changing the script so i wouldt only use the a specific top and bottom html so that I wouldt be able to put niche specifc banner and text up.

It says include("page-bottom.html");

anyway of making it something like : include("$categories/$category_name/page-bottom.html");
I know its prob not right but my programming skills really suck

but make it in a way so every category has a top and bottom html that i can change in any way I want for each niche.


Or maybe a php script that can read category and then show the right banner and script ? ( prob not a good way )


hopefullty someone can help me out

thx in advance

noooze

Cleo
09-03-2003, 06:08 AM
Why not just use a banner rotator like PhpAdsNew.com?

noooze
09-03-2003, 06:20 AM
hi cloe |shake|

well i dont use PhpAdsNew.com becouse I have never heard of it before. Well getting it now.
Hope its easy to install - otherwise i'm fucked.
Really stupid when comming to installing php and cgi

noooze
09-04-2003, 03:52 AM
CLEO! YOU &%#%&¤#

you have just caused me a gigantic headake |angry|

just kidden :D |waves|

I must say that installing the script was easy - But getting it to use is not |noclue| |help|

My head akes, my brain is trying to kill me and my eyes is about to explode. wish that manual allso had a - dumb-stupic-n00b section - maybe that way I wouldt be able to use it quicker.

One question - the banner you want to show , can it search for keywords in the html document ? or how do I make the script show the right banner at the right page, when the top and bottom html is loaded for every listing made.

anyone got a pinex or just anykind of pill to take away my pain ?|goodnight

Cleo
09-04-2003, 04:06 AM
No one ever uses the board's search function,
http://www.greenguyandjim.com/board/showthread.php?s=&threadid=268&highlight=banner+rotator