Showing posts with label files. Show all posts
Showing posts with label files. Show all posts

Files in PHP

0 comments Posted by Unknown at 18:58
How To Read a Text File into an Array?
If you have a text file with multiple lines, and you want to read those lines into an array, you can use the file() function. It opens the specified file, reads all the lines, puts each line as a value in an array, and returns the array to you. Here is a PHP script example on how to use file():
Read More »
 

© 2011. All Rights Reserved | Interview Questions | Template by Blogger Widgets

Home | About | Top