Activity Stream
48,167 MEMBERS
65087 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1.     
    #1
    Member
    Website's:
    InstantRDP.com

    Smile Showing alexa using HTML code

    I need to show alexa of a given domain using HTML code in phpld 2.

    Let's assume $url as the site url whose alexa I need.
    pankaj Reviewed by pankaj on . Showing alexa using HTML code I need to show alexa of a given domain using HTML code in phpld 2. Let's assume $url as the site url whose alexa I need. Rating: 5




  2.   Sponsored Links

  3.     
    #2
    Respected Developer
    Website's:
    wrzc.org
    you'll have to curl the alexa site and extract the data you want using a regex. Their's bound to be one of these available as I've seen it done on lots of places.

    Their's loads but try this one: http://davidwalsh.name/php-alexa-rank-fetcher-xml
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  4.     
    #3
    Member
    Website's:
    InstantRDP.com
    I tried tutorial of that type, but it didn't help.




  5.     
    #4
    Member
    try to follow that exact tutorial, and then post your code with paste bin and then I can help point out your errors if you have any.
    Please follow signature rules

  6.     
    #5
    Respected Developer
    Website's:
    wrzc.org
    Quote Originally Posted by pankaj View Post
    I tried tutorial of that type, but it didn't help.
    Of that type? So you didn't even try the tutorial I posted?

    Just use Google pankaj to find it. Their's loads. Try these if your having trouble with the first one:

    http://www.matthuggins.com/php-scrip...-traffic-rank/

    http://www.phpclasses.org/package/47...rom-Alexa.html

    http://abcoder.com/php/get-google-pa...ain-using-php/
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  7.     
    #6
    Member
    Website's:
    InstantRDP.com
    I added the code in my link-detail.php file.
    I added the php5, curl and USAGE part.

    http://www.warez-core.com/details/link-1
    The error I get is "Cannot retrieve feed"




  8.     
    #7
    Member
    Parse error: syntax error, unexpected ':' in /home/dlkingin/public_html/warez-core.com/link-detail.php on line 15
    paste bin the file
    Please follow signature rules

  9.     
    #8
    Member
    Website's:
    InstantRDP.com
    Let's concentrate on one alexa script. I was trying others , so that error came.

    I am using this now - http://www.matthuggins.com/php-scrip...-traffic-rank/
    I upload the required class.alexa.php file to my root.

    And now the alexa should be display in between Pankaj1 and Pankaj2 here - http://www.warez-core.com/details/link-1

    The code starts from line 14.
    http://pastebin.com/TVBFmctN




  10.     
    #9
    Member
    Alright try to replace your current list of php with

    PHP Code: 

    <?php
    require_once '../class.alexa.php';


      
    $alexa = new Alexa();
      echo 
    $alexa->getRank("http://www.google.com");
    ?>
    If you upload the class.alexa to the root you must call it up accordingly.

    Keep it simple to start and improve as you go.
    Please follow signature rules

  11.     
    #10
    Member
    Website's:
    InstantRDP.com
    I have both the files on homepage.

    Now new error - http://www.warez-core.com/details/link-2




Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Alexa Certify Code help
    By atyup in forum Webmaster Discussion
    Replies: 0
    Last Post: 22nd Jul 2012, 09:13 PM
  2. [Code]Tag showing black color
    By saini in forum vBulletin
    Replies: 7
    Last Post: 2nd Jan 2012, 07:14 AM
  3. Help about HTML Code for a Box
    By Deadmau5 in forum Web Application/Script Support
    Replies: 1
    Last Post: 19th Nov 2011, 12:52 PM
  4. Embedded code not showing in homepage
    By conrey in forum Wordpress
    Replies: 8
    Last Post: 5th Oct 2011, 05:51 AM
  5. HTML Code Help
    By S?nic in forum Technical Help Desk Support
    Replies: 4
    Last Post: 24th Aug 2009, 07:37 AM

Tags for this Thread

BE SOCIAL