gudfry Posted July 23, 2008 Share Posted July 23, 2008 Hi all; How can i read the file on a folder, and if a foder has contain a file it must print the file and dispaly the line of code in every file. this would like this. Folder | - sample.php // display the line of this file. | - test.php // dispaly the line of this file. | - some file here and display the line of file. | another folder | - sample.php // display the line of this file. | - test.php // dispaly the line of this file. | - some file here and display the line of file. | if someone have i dea pls tell me. thanks, Link to comment https://forums.phpfreaks.com/topic/116144-solved-how-to-return-this-an-array-of-string/ Share on other sites More sharing options...
LemonInflux Posted July 23, 2008 Share Posted July 23, 2008 http://uk2.php.net/dir Link to comment https://forums.phpfreaks.com/topic/116144-solved-how-to-return-this-an-array-of-string/#findComment-597267 Share on other sites More sharing options...
JasonLewis Posted July 23, 2008 Share Posted July 23, 2008 Also look at glob() Link to comment https://forums.phpfreaks.com/topic/116144-solved-how-to-return-this-an-array-of-string/#findComment-597273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.