![]() |
Advanced PHP Programmers: Read on!
I'm looking for a PHP programmer that can develop a banner-type script (or a text-based output) exactly like the one here:
http://www.al4a.com/links.html Scroll down until you see a 468x60 banner ad that shows the text: "Girls From xxx Want To FUCK you" E-mail me your rate for such a project: progex |at| comcast.net |
I can't find that banner..
|
If you cannot see the banner, this is what my screencap looks like:
http://mywebpages.comcast.net/progex/screenshot.gif ** I edited out my location, but you get my drift. |
looks like its got some geo-ip code which picks up your location and displays a banner. There would just be one banner for each country i guess.
|
phpAdsNew can serve any type of banner and you can show different banners based on which country the surfer is from.
|
Sorry, but that's just a bad idea. Good country-based ad targetting done in php will place a severe burden on your server.
Anyone could do it with relative ease - just use something like the http://ip-to-country.webhosting.info/ database and you only need to write a small script - but you'd end up with something that just isn't suitable for a page with heavy traffic. You should seek contact with one of the companies that already have a script in C that detects country, and ask them how much some custom work would cost. |
Quote:
|
Quote:
However, please do realize that you'll be using a big fucking database, which will drive the load up just that annoying little bit more. |
Quote:
|
al4a sucks with its popup/dialer shit
creating images like that will add more load onto the server, but you can easily run the script on another server to serve the banners. once an image/country has been created, cache it so you don't need to recreate it again ryan |
|
Quote:
|
This is really quite simple actually. You use GeoIP from maxmind to get the country based on the ip, the db is on your server and GeoIP is pretty fast. From there you use ImageMagick (or GD) to create a banner with the text and country you want. If the banner doesnt exist you create it and wirte it out to something like US.jpg. If it does exist, serve the already existing banner. Once the banners are all made server load is extremely low and should not be a problem even on a high traffic site.
Andy |
Quote:
Checking the range is just adding a simple WHERE clause that will be checked against the index. Anyway, I find it is fast enough on celeron servers and 700GB monthly load all filtered through my script... |
Quote:
With a 700GB monthly load you probably aren't getting all that much traffic, so it shouldn't be a problem then. |
Quote:
For heavy script servers I use Dual xeon servers. My stats script checks a lot of stuff including language. Something that puts a really heavy load on the servers is when you analyse traffic by storing individual IP:s. |
you could even break down the geoip db into smaller tables and do the range search accoring to where your ip falls...minimum load
|
Quote:
|
Quote:
|
... actually i don?t think you?d notice much of a difference as far as CTR :2 cents: :2 cents:
|
Quote:
|
All times are GMT -7. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123