hi, i have the following code:
5 - $fp=fopen("test.txt", "r");
6 - fpassthru($fp);
7 - fclose($fp);
When i run it, it displays the contents of test.txt, but it gives me the following error:
Warning: 1 is not a valid File-Handle resource in c:\apache_server\apache\htdocs\tests\test.php on line 7
whats the problem?