• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

phpadnews / other ways to include ad code

Stoltenborg

[H]ard|Gawd
Joined
Oct 18, 2000
Messages
1,394
I want to include ad code on many pages, and have the ability to change the ads if I want to.

best way I have thought to do this is with a php include/ssi.

I installed phpadnews and have been playing with it, but I am wondering if anyone else has some more indepth experience as to how I should do this?

Should I still put an include in, so i can put new phpadnews banner invocations in?

I am just a bit confused.


TIA
 
Umm, its been a while since I messed with phpadsnew and phppgads (or whatever the postgresql version is), but cant you just get the position invocation code, put that in your site, then specify the banners to display in that position in phpadsnew?
 
They have a local invocation mode that gives php code for when you are using phpadsnew on the same site that the phpadsnew install is on itself.

<phpadsnew rant>
Once you start doing a large number of impressions (over 500,000 a day) you will start seeing how bad this program scales. For each banner delivery, it has over 4 sql queries. I've seen even the most optimized, best hardware server crumple from this thing. Dual opteron, raided SCSI, 4gb ram, query cache enabled mysql, php caching etc etc etc couldn't deal with it. For some reason the software developers don't implement measures to help this scale better. There is nothing to worry about unless you start delivering a serious amount of banners.
</phpadsnew rant>
 
Back
Top