Hi,
I want to read a file in two place, the first place maximum file size is 100 bytes and Second place could have rest of file size please tell me how to do that ?
This is my first place
$max_file_size = "100";
$file_loc="test.txt";;
$readfile = fopen($file_loc,"r");
$filecontents =fread($readfile,$max_file_size );
fclose($readfile);
echo $filecontents;
this is my second place. I want to read rest of data therefore
what is file size for here.
$file_loc="test.txt";;
$readfile = fopen($file_loc,"r");
$filecontents =fread($readfile,……. );
fclose($readfile);
echo $filecontents;
Many thanks
Regards
RAJ