Thanks BeeDev
I've tried it but it did not work. I'm getting the following error.
Warning: fopen(c: mpp\htdocs est.txt) [function.fopen]: failed to open stream: Invalid argument in C:\xampp\htdocs\bash.php on line 6
Warning: filesize() [function.filesize]: stat failed for c: mpp\htdocs est.txt in C:\xampp\htdocs\bash.php on line 8
Warning: fread(): supplied argument is not a valid stream resource in C:\xampp\htdocs\bash.php on line 8
Warning: fclose(): supplied argument is not a valid stream resource in C:\xampp\htdocs\bash.php on line 10