php basic exercises - directory traversal:

("content-type:text/html;charset=utf-8" = "./final/factapplication" listdir( = ( ( !== ( = ( = .'/'. ( != '.' && != '..' (( ."
>();
listdir
Core: Classic applications of recursion, as well as basic operations on files and directories.

= "../fileupload" = "b" copydir(, ( = ( ( !== ( = ( = ."/". = ."/". ( != "." && != ".." ((, (, (, );
copydir
Core: copy function.

= 'a' deldir( = ( ( !== ( = ( = .'/'.( != '.' && != '..' (((( ();
deldir
Core: Note that unlink deletes the file with path.

= "a" dirsize( = ( ( !== ( = ( = .'/'. ( != '.' && != '..'(( = + ( ( dirsize();
dirsize
Core: Understand recursive functions by determining where $tot returns.
http://www.bkjia.com/PHPjc/738553.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/738553.htmlTechArticlephp basic exercises - directory traversal: ("content-type:text/html;charset=utf-8" = "./final/factapplication" listdir( = ( ( !== ( = ( = .'/'. ( != '.' != '..' ( ( ."br" ( ); listdir core: . ..