PHP wrapper class for Dating Gold API for registering users.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Killswitch - BANNED FOR LIFE
    • Jun 2026

    #1

    PHP wrapper class for Dating Gold API for registering users.

    Hey guys, I wrote a PHP wrapper class for the Dating Gold API to allow you to automatically register free users on both AmateurMatch.com and WebcamClub.com When they fill out the form on your site to register.

    I am selling copies of the unencoded class along with free upgrades for $100, and also will integrate it into your existing PHP based site for an aditional $50.

    A small example of how it works.

    PHP Code:
    <?php
        require 'classes/datinggoldapi.class.php';
        $DatingGoldAPI = new DatingGoldAPI(array('username' => $username,
                                                 'email' => $email,
                                                 'country' => $country,
                                                 'password' => $password,
                                                 'gender' => ($gender == 'male') ? 2 : 1,
                                                 'birthday' => $bday_year.'-'.$bday_day.'-'.$bday_month,
                                                 'ipaddr' => $_SERVER['REMOTE_ADDR'],
                                                 'postalcode' => $postalcode,
                                                 'terms' => 1
                                                 )
                                           );
        if($DatingGoldAPI->validEmailAddress())
        {
            $DatingGoldAPI->AmateurMatchRegister();
            $DatingGoldAPI->WebcamClubRegister();
        }
    ?>
    That is the code I use for AVS tube script integration.

    How it works is the class will automate a lot of the fields for the registration to keep your register form short and sweet, but every field can be defined by users registering, but it uses an GeoIP database to automatically grab the Country Code, Postal Code, City, and Region for each user who registers if you don't want to make them supply it themselves.

    To make them add it themselves you just add onto the array in the new class section, for example:

    PHP Code:
    <?php
        $DatingGoldAPI = new DatingGoldAPI(array('username' => $username,
                                                 'email' => $email,
                                                 'country' => $country,
                                                 'password' => $password,
                                                 'gender' => ($gender == 'male') ? 2 : 1,
                                                 'birthday' => $bday_year.'-'.$bday_day.'-'.$bday_month,
                                                 'ipaddr' => $_SERVER['REMOTE_ADDR'],
                                                 'postalcode' => $postalcode,
                                                 'terms' => 1,
                                                 'city' => $city,
                                                 'region' => $region
                                                 )
                                           );
    ?>
    In that example I added the city and region which the script will then ignore automating those sections.

    This bit of code does the following:

    PHP Code:
    <?php
        if($DatingGoldAPI->validEmailAddress())
        {
            $DatingGoldAPI->AmateurMatchRegister();
            $DatingGoldAPI->WebcamClubRegister();
        }
    ?>
    First it does a check and sees if the email the user supplied is already used in their system, if it is the script does nothing in regards to signing up your user for AmateurMatch or WebcamClub. If it isn't it goes onto registering them with AmateurMatch, then WebcamClub, I made them 2 seperate functions so if you want one but not the other you can.

    Currently I only accept paypal for this because I had screwed up my epass and just canceled it and had recently started the process of signing up again after being asked if I could be paid with it. So give me time to finish the process.

    If you absolutely can only pay with epassporte I understand, and will find someone who can accept your epass and in exchange send me paypal, but unfortunately until I get my own epass setup, you'll be required to pay their fee for doing the service, sorry.

    If anyone has any comments or questions, don't hesitate to hit me up. Weekends usually aren't a great time to get a hold of me, as I try not to work on Sat/Sunday, especially tomorrow due to Staind and Shinedown headlining my county fair's concert states and I'm gonna go check them out.
  • nation-x
    Confirmed User
    • Mar 2004
    • 5370

    #2
    I am curious about the benefit... what is the benefit of signing someone up to a dating site surreptitiously?

    Comment

    • wizzart
      scriptmaster
      • May 2006
      • 5246

      #3
      DatingGold pay per free singup
      BimboZone

      Comment

      • David!
        By the wrath of Agamemnon
        • Apr 2004
        • 6501

        #4
        Originally posted by nation-x
        I am curious about the benefit... what is the benefit of signing someone up to a dating site surreptitiously?
        WOW, You are truly a dumb retard who just doesn't get it.
        Now tell me ho much I love black cock
        .

        Comment

        • nation-x
          Confirmed User
          • Mar 2004
          • 5370

          #5
          Originally posted by PussyMan
          WOW, You are truly a dumb retard who just doesn't get it.
          Now tell me ho much I love black cock
          If I want input from you I will play with my zipper... that will be your queue to get on your knees and open wide.

          My question was relevant and not stupid... I just wasn't aware that these programs would pay for sign-ups that are legal risks. I am not raining on Killswitch's parade... only wanted to understand the benefit.

          http://www.ftc.gov/bcp/edu/pubs/busi...rce/bus61.shtm
          Additional fines are provided for commercial emailers who not only violate the rules described above, but also:

          * "harvest" email addresses from Web sites or Web services that have published a notice prohibiting the transfer of email addresses for the purpose of sending email
          * Generate email addresses using a "dictionary attack" – combining names, letters, or numbers into multiple permutations
          * Use scripts or other automated ways to register for multiple email or user accounts to send commercial email
          * Relay emails through a computer or network without permission – for example, by taking advantage of open relays or open proxies without authorization.

          Comment

          • Killswitch - BANNED FOR LIFE

            #6
            Originally posted by nation-x
            If I want input from you I will play with my zipper... that will be your queue to get on your knees and open wide.

            My question was relevant and not stupid... I just wasn't aware that these programs would pay for sign-ups that are legal risks. I am not raining on Killswitch's parade... only wanted to understand the benefit.

            http://www.ftc.gov/bcp/edu/pubs/busi...rce/bus61.shtm
            Not raining on my parade at all, DG has been hooking a lot of sites up to do this, and the wrapper is for their API that allows you to do just this...

            My question is with that link above, what's the difference from it and a cross sale except the cross sale bangs your credit card for hundreds of dollars, and this is just a free account?

            Comment

            • nation-x
              Confirmed User
              • Mar 2004
              • 5370

              #7
              Originally posted by Killswitch
              My question is with that link above, what's the difference from it and a cross sale except the cross sale bangs your credit card for hundreds of dollars, and this is just a free account?
              I didn't reply to the thread to start this type of discussion about it. I just wanted to know if it was something the programs were paying for. I wanted to know if it was something that the programs were aware of and how I could benefit... the discussion turned this way because of Pussytards comment. I just wouldn't want to have my affiliate account termed.

              Comment

              • Killswitch - BANNED FOR LIFE

                #8
                Originally posted by nation-x
                I didn't reply to the thread to start this type of discussion about it. I just wanted to know if it was something the programs were paying for. I wanted to know if it was something that the programs were aware of and how I could benefit... the discussion turned this way because of Pussytards comment. I just wouldn't want to have my affiliate account termed.
                Nope, all is good, I was talking along side Jayvis a good portion of the time I was writing it and was telling him some of the features. It communicates and automates some of the tasks of their API that does just that, registers users on both sites without actually visiting them, for stuff like this.

                Comment

                • wizzart
                  scriptmaster
                  • May 2006
                  • 5246

                  #9
                  Originally posted by Killswitch
                  DG has been hooking a lot of sites up to do this, and the wrapper is for their API that allows you to do just this...
                  Where you found their API, I browser all site and there is nothing about API?
                  BimboZone

                  Comment

                  • Killswitch - BANNED FOR LIFE

                    #10
                    Originally posted by wizzart
                    Where you found their API, I browser all site and there is nothing about API?
                    Client sent it to me after talking with DatingGold about getting setup.

                    Comment

                    • AK
                      MadZuma
                      • Nov 2003
                      • 6436

                      #11
                      We have quite a few people voicing their concerns over this, I'd like to clarify the following:

                      1. we offer API for our affiliates (advanced webmasters only)
                      2. it is permission base only (we have to activate this tool upon request)
                      3. though we pay per free, we need to make sure the free:sales ratio is acceptable
                      4. surfers must be aware that they are getting our sites as bonus (no credit card info are sent to us)
                      5. the API is not just for per Free program, it's also available for PPS and RevShare
                      6. contact us FIRST to make sure that you are good to use it

                      So if KillSwitch can help them ... that would be good.
                      Alfonsus Kusuma (AK)
                      ak at madzuma.com
                      skype me - alfonsus.com

                      Comment

                      • Killswitch - BANNED FOR LIFE

                        #12
                        Originally posted by AK
                        We have quite a few people voicing their concerns over this, I'd like to clarify the following:

                        1. we offer API for our affiliates (advanced webmasters only)
                        2. it is permission base only (we have to activate this tool upon request)
                        3. though we pay per free, we need to make sure the free:sales ratio is acceptable
                        4. surfers must be aware that they are getting our sites as bonus (no credit card info are sent to us)
                        5. the API is not just for per Free program, it's also available for PPS and RevShare
                        6. contact us FIRST to make sure that you are good to use it

                        So if KillSwitch can help them ... that would be good.
                        Exactly what AK said...

                        Once again guys, I did not write a script that uses cURL to automatically do this stuff, I wrote a WRAPPER CLASS that communicates with their already made API for doing this stuff...

                        All I really did was made it easy to incorporate into your site, and automated some GEO based stuff with a GEO IP API.

                        Comment

                        • Killswitch - BANNED FOR LIFE

                          #13
                          Mmhmmmm...

                          Comment

                          • Jayvis
                            Confirmed User
                            • Nov 2005
                            • 5430

                            #14

                            Comment

                            • Killswitch - BANNED FOR LIFE

                              #15
                              Originally posted by Jayvis

                              Comment

                              • wizzart
                                scriptmaster
                                • May 2006
                                • 5246

                                #16
                                Thanks for info
                                BimboZone

                                Comment

                                • Killswitch - BANNED FOR LIFE

                                  #17
                                  Bump price lowered to $75

                                  Comment

                                  Working...