There are multiple ways to read a file in PHP but the method recommended by PHP.NET is to use the file_get_contents function. It will return the file as a string and then allow you to play around with it. You could use this for a local text file on your machine or even an external HTML page.
For more information, check out the website:
http://howtostartprogramming.com/PHP/...
Nesta página do site você pode assistir ao vídeo on-line PHP Tutorial 24 - Reading A File (PHP For Beginners) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário TeachMeComputer 13 Outubro 2011, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 98,932 vezes e gostou 833 espectadores. Boa visualização!