75,527 views 117 on YTPak
674 5

Published on 14 Oct 2011 | over 6 years ago

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:

howtostartprogramming.com/PHP/php-tutorial-24-reading-a-file/
Customize Your Hybrid Embed Video Player!

6-digit hexadecimal color code without # symbol.

 

Report video function is under development.

 


Loading related videos...