GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Advanced PHP Programmers: Read on! (https://gfy.com/showthread.php?t=210955)

AdultNex 12-19-2003 02:39 PM

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

ThePornPusher 12-19-2003 03:25 PM

I can't find that banner..

AdultNex 12-20-2003 06:01 AM

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.

{fusion} 12-20-2003 06:03 AM

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.

swedguy 12-20-2003 07:06 AM

phpAdsNew can serve any type of banner and you can show different banners based on which country the surfer is from.

Libertine 12-20-2003 07:15 AM

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.

milambur 12-20-2003 07:21 AM

Quote:

Originally posted by punkworld
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.

It will not put more load on your system then a trade script if you do it right.

Libertine 12-20-2003 07:26 AM

Quote:

Originally posted by milambur


It will not put more load on your system then a trade script if you do it right.

I actually find the load php-based trade scripts put on a server when used on pages with heavy traffic unacceptable.
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.

milambur 12-20-2003 07:29 AM

Quote:

Originally posted by punkworld


I actually find the load php-based trade scripts put on a server when used on pages with heavy traffic unacceptable.
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.

The database isn't that big. 45K rows I think and if you index it right it is pretty fast.

pornanza 12-20-2003 07:31 AM

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

Brujah 12-20-2003 07:32 AM

using Apache ?

http://www.maxmind.com/app/mod_geoip

Libertine 12-20-2003 07:33 AM

Quote:

Originally posted by milambur


The database isn't that big. 45K rows I think and if you index it right it is pretty fast.

Very big in comparison to the database of a trade script, and remember that you won't be able to do the lookup based on a simple unique id, but instead on the ip range.

AcidMax 12-20-2003 07:39 AM

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

milambur 12-20-2003 07:42 AM

Quote:

Originally posted by punkworld


Very big in comparison to the database of a trade script, and remember that you won't be able to do the lookup based on a simple unique id, but instead on the ip range.

Yeah, if you only check trades against the database.....

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...

Libertine 12-20-2003 07:48 AM

Quote:

Originally posted by milambur


Yeah, if you only check trades against the database.....

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...

Checking the range is simple, ofcourse. Not as simple for the database as going for a unique key, though.

With a 700GB monthly load you probably aren't getting all that much traffic, so it shouldn't be a problem then.

milambur 12-20-2003 07:57 AM

Quote:

Originally posted by punkworld


Checking the range is simple, ofcourse. Not as simple for the database as going for a unique key, though.

With a 700GB monthly load you probably aren't getting all that much traffic, so it shouldn't be a problem then.

700GB of monthly load on each of my celeron servers, I don't push them much higher, better to get a new server insted.
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.

gleb 12-20-2003 08:14 AM

you could even break down the geoip db into smaller tables and do the range search accoring to where your ip falls...minimum load

frippeno 12-20-2003 08:20 AM

Quote:

Originally posted by AcidMax
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

I agree, but why bother with graphics? That banner, and actually banners that look a lot more interesting, can be easily done with an html table. That's how I'd do it...

AcidMax 12-20-2003 08:37 AM

Quote:

Originally posted by frippeno


I agree, but why bother with graphics? That banner, and actually banners that look a lot more interesting, can be easily done with an html table. That's how I'd do it...

Very very true, however he asked about the banner, but yes a text link could work just as well. Hell you could even do a banner looking advertisement with a 468x60 image in the cell background and html text over top of it if you wanted to achieve the affect as well. There are numerous ways to do this quite easily :)

gleb 12-20-2003 08:45 AM

... actually i don?t think you?d notice much of a difference as far as CTR :2 cents: :2 cents:

AdultNex 12-20-2003 09:03 AM

Quote:

Originally posted by gleb
... actually i don?t think you?d notice much of a difference as far as CTR :2 cents: :2 cents:
Assumption is often far from reality.


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