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

Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1.     
    #11

  2.   Sponsored Links

  3.     
    #12
    It begins...
    Here:



    PHP Code: 
    <form method="POST" action="" enctype="multipart/form-data">
    <textarea name=data cols=50 rows=10></textarea>
    <input type=submit name=submit value=go />
    </form>

    <?php

    if (isset($_REQUEST['submit']))
    {
        
    $data $_POST['data'];
        
    $data explode("\n"$data);
        
    sort($data);
        foreach (
    $data as $repre)
        {
            echo 
    $repre;
            echo 
    '<br />';
        }

    }

    ?>

    EDIT: nvm. I just read the first post closely again and my code fails to address the issue. But I'll leave it here just in case someone wants to use it.

  4.     
    #13
    Retired NinJa
    Website's:
    loledhard.com
    Damn guys I need the links of particular stuff on Diff file host togetther than next stuff with all file host & then next & continue

    Just see the example. I dont need Sorting of links guys. Thats easy



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  5.     
    #14
    Member
    Website's:
    sborg.us
    V3g3t4 for the rescue



    PHP Code: 
            <?php
            
    if (isset($_REQUEST['submit'])) {
                
    $data $_POST['data'];
                
    $data explode("\n"$data);
                
    sort($data);

                
    $i=0;
                echo 
    "<br />Input data:<br />";
                foreach (
    $data as $repre) {
                    echo 
    $repre '<br />';
                    
    $test[$i] = pathinfo(pathinfo($data[$i],PATHINFO_FILENAME),PATHINFO_FILENAME);
                    
    $i++;
                }

                echo 
    "<br />Sorted data:<br />";
                
    $unique array_unique($test);
                
                foreach(
    $unique as $v3g){
                   if(
    $v3g){
                       foreach(
    $data as $repre)
                           if(
    strpos($repre,$v3g)) echo $repre."<br />";
                   }
                   echo 
    "<br />";
                }
            }
            
    ?>
    Thanks to lifetalk for making the form . Hope that helps!

    used two pathinfo_filenames just for the lulz! naaah, it's to get the actual filename, use explode if you want.

  6.     
    #15
    Retired NinJa
    Website's:
    loledhard.com
    thanks mate relly appreaciated ur work. Let me try if it really works

    It works with minor problem but its best for me, thanks for saving my 20 mins per day lol



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  7.     
    #16
    Respected Member
    Thought you want a a bash command.

  8.     
    #17
    Member
    Quote Originally Posted by Halcyon View Post
    V3g3t4 for the rescue



    PHP Code: 
            <?php
            
    if (isset($_REQUEST['submit'])) {
                
    $data $_POST['data'];
                
    $data explode("\n"$data);
                
    sort($data);

                
    $i=0;
                echo 
    "<br />Input data:<br />";
                foreach (
    $data as $repre) {
                    echo 
    $repre '<br />';
                    
    $test[$i] = pathinfo(pathinfo($data[$i],PATHINFO_FILENAME),PATHINFO_FILENAME);
                    
    $i++;
                }

                echo 
    "<br />Sorted data:<br />";
                
    $unique array_unique($test);
                
                foreach(
    $unique as $v3g){
                   if(
    $v3g){
                       foreach(
    $data as $repre)
                           if(
    strpos($repre,$v3g)) echo $repre."<br />";
                   }
                   echo 
    "<br />";
                }
            }
            
    ?>
    Thanks to lifetalk for making the form . Hope that helps!

    used two pathinfo_filenames just for the lulz! naaah, it's to get the actual filename, use explode if you want.
    This is brilliant script. But hellshare is not work for this
    if someone would be so kind and remade it to work well with the HellShare?
    Example link:
    hellshare.com/my-week-with-marilyn-2011-brrip-xvid-bida-avi/5447996/

  9.     
    #18
    Member
    Website's:
    sborg.us
    Ooo, bumping an old topic eh?

    If you observe the Hellshare links, the file's ID comes after the filename. You'll have to modify the script accordingly coz at present it sorts the links depending on the filename (i.e. file1, file2 as in the example)

    V3g3ta | Halcyon | Abhi

  10.     
    #19
    Member
    I'm sorry, but I do not know how to modify ;(

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Links sorter for uploaders
    By RT in forum Useful Sites
    Replies: 46
    Last Post: 21st Jan 2012, 03:09 PM
  2. Java Link Sorter
    By gamelord in forum Webmaster Resources
    Replies: 10
    Last Post: 6th Dec 2011, 01:44 AM
  3. Any other link-sorter sites besides mirrormaker?
    By factor in forum File Host Discussion
    Replies: 3
    Last Post: 23rd Oct 2011, 10:29 AM
  4. Searching for Link sorter ( organize tool ) to easily order links
    By bestsnipe in forum Webmasters, Money Making
    Replies: 10
    Last Post: 4th May 2011, 09:23 PM

Tags for this Thread

BE SOCIAL