PHP Tutorial 24 - Reading A File (PHP For Beginners)

Published: 13 October 2011
on channel: TeachMeComputer
98,788
837

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/...


Watch video PHP Tutorial 24 - Reading A File (PHP For Beginners) online without registration, duration hours minute second in high quality. This video was added by user TeachMeComputer 13 October 2011, don't forget to share it with your friends and acquaintances, it has been viewed on our site 98,788 once and liked it 837 people.