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!
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):