[Wanted]Someone to convert an individual script to bulk

Discussion in 'Services' started by Rushh, Jul 6, 2006.

  1. #1
    I have a page-rank script which gets me the PR of single domains, and now i want to convert it to it being bulk.

    So basically just accept the domains into the array and display the results i.e., pr

    Need this done asap.
    PM me if you can do this quick and cheap!
     
    Rushh, Jul 6, 2006 IP
  2. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    85.7% - 6
    #2
    You only need to use textarea instead of text box. Then use explode() function to store all the urls into array. Then loop it.

    e.g.

    Form
    <font face='Verdana' size='2'>
    <b>You can enter up to 10 URL, separate each URL by line</b> </font> <p>
    <b><font size = 4 face = verdana color = red> Check PR </font> <p>
    <form method ='post' action = 'checkpr.php'>
    <textarea name ='domains' cols=50 rows = 10></textarea><p>
    <input type = 'submit' name = 'submit' value ='Check Now!'>
    </form>
    Code (markup):

    checkpr.php
    
    $arr = array();
    $arr = explode("\n", trim($_POST[domains]));
    
    
    if(count($arr)>0){
    
    for($i=0;$i < count($arr);$i++){
    $domain = $arr[$i];
     //then your pr checker here.....
    }
    }
    
    Code (markup):
     
    PinoyIto, Jul 6, 2006 IP
  3. reza56

    reza56 Active Member

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I sent you PM.
     
    reza56, Jul 6, 2006 IP
  4. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    As Seller:
    100% - 0
    As Buyer:
    85.7% - 6
    #4
    You can send me PM I can help you to do that
     
    PinoyIto, Jul 6, 2006 IP