Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Differnet banners one site
04-10-2008, 11:49 AM
Post: #1
Differnet banners one site
Hello!

I have a website which is shown in different languages ..

Example:
- domain.com/index.php?language=eng (English)
- domain.com/index.php?language=ger (German)

So when language is set to English I want to show ADs in english.. When it is set to German I want it in german language...
I don't want it to determinate GeoLocation from IP but from selected language on website.

Is this possible?
Quote this message in a reply
04-10-2008, 12:00 PM
Post: #2
RE: Differnet banners one site
Not directly with using the built-in GeoIP functions, some PHP code or the sort, would be needed to determine which ad to show in this case, something like...

PHP Code:
if ($_REQUEST['language']=='ger'){
  
//show german ad
} else {
  
//show american ad


Matt
http://www.clippersoft.net

ClipperSoft's mySimpleAds :: Power your website advertising with the ease and speed you've always looked for.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-14-2008, 09:02 PM
Post: #3
RE: Differnet banners one site
Many thanks!

Hostmonster special promo Discount link $4.95/mth - Unlimited storage space, unlimited bandwidth transfer
http://hostmonster.co.in
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: