Advanced PHP Programmers: Read on!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AdultNex
    Confirmed User
    • Feb 2003
    • 8985

    #1

    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
    Confirmed User
    • Oct 2003
    • 1823

    #2
    I can't find that banner..

    Comment

    • AdultNex
      Confirmed User
      • Feb 2003
      • 8985

      #3
      If you cannot see the banner, this is what my screencap looks like:



      ** I edited out my location, but you get my drift.

      Comment

      • {fusion}
        Confirmed User
        • Sep 2003
        • 1650

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

        Comment

        • swedguy
          Confirmed User
          • Jan 2002
          • 7981

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

          Comment

          • Libertine
            sex dwarf
            • May 2002
            • 17860

            #6
            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})/

            Comment

            • milambur
              Mainstream since 2010
              • Jan 2003
              • 1327

              #7
              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.
              Alea iacta est

              Comment

              • Libertine
                sex dwarf
                • May 2002
                • 17860

                #8
                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.
                /(bb|[^b]{2})/

                Comment

                • milambur
                  Mainstream since 2010
                  • Jan 2003
                  • 1327

                  #9
                  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.
                  Alea iacta est

                  Comment

                  • pornanza
                    Confirmed User
                    • Jul 2003
                    • 238

                    #10
                    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
                    Eskimo Hoe
                    QuickWank
                    Pornanza!

                    Comment

                    • Brujah
                      Beer Money Baron
                      • Jan 2001
                      • 22157

                      #11
                      using Apache ?

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

                      Comment

                      • Libertine
                        sex dwarf
                        • May 2002
                        • 17860

                        #12
                        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.
                        /(bb|[^b]{2})/

                        Comment

                        • AcidMax
                          Confirmed User
                          • May 2002
                          • 1827

                          #13
                          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

                          Comment

                          • milambur
                            Mainstream since 2010
                            • Jan 2003
                            • 1327

                            #14
                            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...
                            Alea iacta est

                            Comment

                            • Libertine
                              sex dwarf
                              • May 2002
                              • 17860

                              #15
                              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.
                              /(bb|[^b]{2})/

                              Comment

                              • milambur
                                Mainstream since 2010
                                • Jan 2003
                                • 1327

                                #16
                                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.
                                Alea iacta est

                                Comment

                                • gleb
                                  Confirmed User
                                  • Nov 2002
                                  • 311

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

                                  Comment

                                  • frippeno
                                    Confirmed User
                                    • Oct 2002
                                    • 133

                                    #18
                                    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...
                                    it only took one brick to make that window drop

                                    Comment

                                    • AcidMax
                                      Confirmed User
                                      • May 2002
                                      • 1827

                                      #19
                                      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
                                      Latest MMA news. http://www.mmawrapup.com

                                      Comment

                                      • gleb
                                        Confirmed User
                                        • Nov 2002
                                        • 311

                                        #20
                                        ... actually i don?t think you?d notice much of a difference as far as CTR

                                        Comment

                                        • AdultNex
                                          Confirmed User
                                          • Feb 2003
                                          • 8985

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

                                          Comment

                                          Working...