file_system_php
<?php
//echo readfile("");//read file and gives size in byte means how many char..
//file_exists();//file exists or not...
//filesize(filename);//file bytes
//filetype()//about fileor folderwhat its
//copy(file,target);
//rename(old,new);
/*$myfile = fopen("newfile.txt", "r") or die("Unable to open file!");
$txt = "John Doe sir\n";
fwrite($myfile, $txt);
$txt = "Jane Doe sir\n";
fwrite($myfile, $txt);
echo fread($myfile, filesize("newfile.txt"));
fclose($myfile);
*/
//unlink("newfile.txt");
//mkdir("test");
//file_exists();//for checking folder...
//rmdir("test");
//$A..realpath(filename)
//...pathinfo($A,info function);
//basename()
Comments
Post a Comment