I cannot get the whole contents of a file! What is wrong with this statement...
$FILE = fopen("/usr/www/footer.txt","r"); $footer = fgets($FILE,1000);
When I try to output $footer it says nothing! Please help.
i have used this to read the html, think that it work's also with text files
$fcontents = file ($the_path); $fcontents = join ('', file ($the_path)); $foo =$fcontents;
THANK YOU! 🙂