News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

smf and PHP ads: separate or coupled dBase?

Started by 7summits, March 20, 2004, 06:57:20 AM

Previous topic - Next topic

7summits

When testing SMF I noticed that when I add a simple text ad to the tempate using PhpAdsnew that the load/create time almost doubles.

I have the data at for phpads and SMF stored in 2 separate MySql dbases, is this optimal or is it better to have as much tables as possible in the same dBase for speed?
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

[Unknown]

We do phpAdsNew here, but it's using somewhat tweaked PHP code.

If you use an include with a URL, it will be much much slower.

-[Unknown]

7summits

Ah, but does it make any difference if the tables are on different dbases or does that not matter at all?
Check out the modded http://7summits.com/forum for info about climbing the highest mountains on the 7 continents on earth!    Send my avatar as an ecard here :-)

Ash Severns

Since this is sorta on the subject, how do you make the ads show up on webpages? I can't find the answer anywhere.

Yea, I know, i'm an idiot.

[Unknown]

It's using separate databases here, but both are persistent connections.

You just copy the code phpAdsNew gives you into the template, but change <?php --- ?> to '; --- echo '

-[Unknown]

Advertisement: