How do I code something like this

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FreeHugeMovies
    Too lazy to set a custom title
    • Dec 2001
    • 14141

    #1

    How do I code something like this

    http://www.pornresource.com/industrystats/overallsite/

    Where we pull the data from Alexa?
  • Colmike9
    (>^_^)b
    • Dec 2011
    • 7230

    #2
    Probably something like this:
    <?php
    function AlexaRank( $url )
    {
    preg_match( '#<POPULARITY URL="(.*?)" TEXT="([0-9]+){1,}"/>#si', file_get_contents('http://data.alexa.com/data?cli=10&dat=s&url=' . $url), $p );
    return ( $p[2] ) ? number_format( intval($p[2]) ):0;
    }

    echo "wordpressapi.com/files/ Rank as per alexa.com: ";
    echo AlexaRank('wordpressapi.com/files/');

    ?>

    <?php
    $domains = array( 'site1.com', 'site2.com', 'site3.com', 'site4.com' );

    foreach ( $domains as $domain )
    echo $domain, ' - ', AlexaRank( $domain ), '<br />', PHP_EOL;

    ?>

    Source: http://wordpressapi.com/2010/02/19/a...king-php-code/
    Join the BEST cam affiliate program on the internet!
    I've referred over $1.7mil in spending this past year, you should join in.
    I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

    Comment

    • Harmon
      ( ͡ʘ╭͜ʖ╮͡ʘ)
      • Mar 2004
      • 20012

      #3
      I find that data to be way the fuck off.
      [email protected]

      Comment

      • Colmike9
        (>^_^)b
        • Dec 2011
        • 7230

        #4
        Originally posted by Harmon
        I find that data to be way the fuck off.
        Yeah, fuck Alexa. Waste of time..
        Join the BEST cam affiliate program on the internet!
        I've referred over $1.7mil in spending this past year, you should join in.
        I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

        Comment

        • FreeHugeMovies
          Too lazy to set a custom title
          • Dec 2001
          • 14141

          #5
          If not Alexa what other good source is out there?

          Comment

          • Harmon
            ( ͡ʘ╭͜ʖ╮͡ʘ)
            • Mar 2004
            • 20012

            #6
            Originally posted by Colmike7
            Yeah, fuck Alexa. Waste of time..
            You stupid cunt.

            AFF: 215

            Fling: 1,307

            HornyMatches: 2,038

            But yet #8 is UnknownTwinks.com? Rank: 974, 677

            Just learn to shut your fucking hole, and speak only when spoken to. Stupid fuck.
            [email protected]

            Comment

            • Colmike9
              (>^_^)b
              • Dec 2011
              • 7230

              #7
              Edit: Go fuck yourself
              Alexa IS fucking pointless
              Last edited by Colmike9; 10-28-2012, 09:55 PM.
              Join the BEST cam affiliate program on the internet!
              I've referred over $1.7mil in spending this past year, you should join in.
              I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

              Comment

              • helterskelter808
                So Fucking Banned
                • Sep 2010
                • 3405

                #8
                Wow. WTF?
                Last edited by helterskelter808; 10-28-2012, 10:02 PM.

                Comment

                • mce
                  Confirmed User
                  • Jun 2012
                  • 3915

                  #9
                  Originally posted by Colmike7
                  Yeah, fuck Alexa. Waste of time..
                  It's also easy to fake. There are service out there offering "alexa boosting" services

                  Pay Virtual Assistants Based on RESULTS instead of TIME
                  STOP getting FUCKED IN THE ASS by your VA

                  Comment

                  • KillerK
                    Confirmed User
                    • May 2008
                    • 3406

                    #10
                    Alexa, Quancast, compete

                    Comment

                    • Colmike9
                      (>^_^)b
                      • Dec 2011
                      • 7230

                      #11
                      Originally posted by mce
                      It's also easy to fake. There are service out there offering "alexa boosting" services
                      Exactly. The only sites that might have a use for Alexa are the one's with huge traffic. Most other ones are manipulated with shit like Fiverr and Alexa toolbars.

                      I thought I was agreeing with Harmon, the fuck is wrong with him/her?..
                      Join the BEST cam affiliate program on the internet!
                      I've referred over $1.7mil in spending this past year, you should join in.
                      I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                      Comment

                      • helterskelter808
                        So Fucking Banned
                        • Sep 2010
                        • 3405

                        #12
                        I thought you two must have history, but didn't want to ask/get involved. Quite a strong reaction. Maybe he thought you were being sarcastic.

                        Comment

                        • Colmike9
                          (>^_^)b
                          • Dec 2011
                          • 7230

                          #13
                          Originally posted by helterskelter808
                          I thought you two must have history, but didn't want to ask/get involved. Quite a strong reaction. Maybe he thought you were being sarcastic.
                          Yeah, I'm confused too.. I'm only sarcastic to Paul..
                          Join the BEST cam affiliate program on the internet!
                          I've referred over $1.7mil in spending this past year, you should join in.
                          I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                          Comment

                          • FreeHugeMovies
                            Too lazy to set a custom title
                            • Dec 2001
                            • 14141

                            #14
                            Damn WWIII Just started in my thread!

                            Comment

                            • B.Barnato
                              So Fucking Banned
                              • Nov 2010
                              • 3618

                              #15
                              Harmon is so fucking bananas.

                              Comment

                              • helterskelter808
                                So Fucking Banned
                                • Sep 2010
                                • 3405

                                #16
                                Hope he's not eating them afterwards.

                                Comment

                                • Harmon
                                  ( ͡ʘ╭͜ʖ╮͡ʘ)
                                  • Mar 2004
                                  • 20012

                                  #17
                                  Originally posted by helterskelter808
                                  Hope he's not eating them afterwards.
                                  [email protected]

                                  Comment

                                  Working...