In php, there are just a few clicks, too many clicks, too _ PHP clicks, too many clicks | too many clicks, too many clicks

Source: Internet
Author: User
In php, why are there too many other problems? DOCTYPEhtmlPUBLIC-W3CDTDXHTML1.0TransitionalENwww.w3.orgTRxhtml1DTDxhtml1-transitional.dtdhtmlxmlnswww.w3.org1999xhtmlheadmetahttp-equivCon



TV series


$ Sort_file = array ();
$ Filefj = array ();
Define ('filepath', '../filehandle/uploadfile /');
$ Sortlist = trim ($ _ GET ["sort"]);
$ Dir = opendir (FILEPATH );
Echo 'have you ever heard of them ?. FILEPATH .'
';
Echo 'Please wait and see them again ?. '

    ';

    If ($ sortlist = 'filetype '){
    While ($ file = readdir ($ dir ))! = False ){
    If ($ file! = "." & $ File! = ".."){
    $ File = basename ($ file );
    $ Sort_file [] = $ file;
    }
    }

    Foreach ($ sort_file as $ key => $ var ){
    $ Filefj [] = explode ('.', $ var );
    }

    Usort ($ filefj, 'Company ');

    Foreach ($ filefj as $ key => $ val ){
    $ Combinationfile = implode ('.', $ val );
    Echo'
  • '. $ Combinationfile .'
  • ';
    }
    } Else {
    While ($ file = readdir ($ dir ))! = False ){
    If ($ file! = "." & $ File! = ".."){
    $ File = basename ($ file );
    Echo'
  • '. $ File. $ file_size .'
  • ';
    }
    }
    }
    Echo'
';
Closedir ($ dir );
Echo'
';
Echo 'too many too many attempts were made too many attempts? Lt;/a> What should I do when I receive an alert? Lt;/a> Click here to draw a small image ';

Function compare ($ x, $ y ){
If ($ x [1] = $ y [1])
Return 0;
Else if ($ x [1] <$ y [1])
Return-1;
Else return 1;
}
?>



I have a great deal of experience, but I have a lot of opinions.

Http://www.bkjia.com/PHPjc/632022.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/632022.htmlTechArticle! DOCTYPE html PUBLIC-// W3C // dtd xhtml 1.0 Transitional // EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html xmlns = http://www.w3.org/1999/xhtml head meta http-equiv = Con...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.