![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2003
Location: Bostonnnn
Posts: 8,985
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2003
Location: Long Island,New York
Posts: 1,823
|
I can't find that banner..
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2003
Location: Bostonnnn
Posts: 8,985
|
If you cannot see the banner, this is what my screencap looks like:
![]() ** I edited out my location, but you get my drift. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Sep 2003
Posts: 1,650
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
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.
__________________
/(bb|[^b]{2})/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Mainstream since 2010
Industry Role:
Join Date: Jan 2003
Posts: 1,327
|
Quote:
__________________
Alea iacta est |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
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.
__________________
/(bb|[^b]{2})/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Mainstream since 2010
Industry Role:
Join Date: Jan 2003
Posts: 1,327
|
Quote:
__________________
Alea iacta est |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Jul 2003
Location: East Village
Posts: 238
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Quote:
__________________
/(bb|[^b]{2})/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
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
__________________
Latest MMA news. http://www.mmawrapup.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Mainstream since 2010
Industry Role:
Join Date: Jan 2003
Posts: 1,327
|
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...
__________________
Alea iacta est |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
sex dwarf
Join Date: May 2002
Posts: 17,860
|
Quote:
With a 700GB monthly load you probably aren't getting all that much traffic, so it shouldn't be a problem then.
__________________
/(bb|[^b]{2})/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Mainstream since 2010
Industry Role:
Join Date: Jan 2003
Posts: 1,327
|
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.
__________________
Alea iacta est |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Nov 2002
Location: NY
Posts: 311
|
you could even break down the geoip db into smaller tables and do the range search accoring to where your ip falls...minimum load
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Join Date: Oct 2002
Location: Addison, TX
Posts: 133
|
Quote:
__________________
it only took one brick to make that window drop |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Confirmed User
Join Date: May 2002
Location: MI
Posts: 1,827
|
Quote:
![]()
__________________
Latest MMA news. http://www.mmawrapup.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Nov 2002
Location: NY
Posts: 311
|
![]() ... actually i don?t think you?d notice much of a difference as far as CTR
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Feb 2003
Location: Bostonnnn
Posts: 8,985
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |