Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for January 2006

Web Hosting Articles

Articles, tips and news on web hosting, including dedicated servers, colocation and virtual hosting

Reading a file's contents with PHP - January 9, 2006

PHP provides three built-in functions which allow you to easily read the contents of a file on your webserver. This is useful when, for example, another program may write information to the file and you could access that information through your script. In this example, we're going to use the following example 5 line file, saved as file.txt: line 1 line 2 line 3 line 4 line 5 In the same directory as file.txt, we're going to work with the PHP file test.php. We'll outline the file reading...
http://whn.vdhri.net/2006/01/post.html
Available Archives
- January (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact