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/...
На этой странице сайта вы можете посмотреть видео онлайн PHP Tutorial 24 - Reading A File (PHP For Beginners) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь TeachMeComputer 13 Октябрь 2011, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 98,932 раз и оно понравилось 833 зрителям. Приятного просмотра!