DanDaBeginner Posted March 31, 2007 Share Posted March 31, 2007 I used file_exists to loop and see if the file exist.. with the file naming convention that has DATA1.txt, DATA2.txt.. but now the problem is that what if the filenaming is autogenerated that will result to something like: i2ija.txt.. is there a code that will read all the file name in one folder? Link to comment https://forums.phpfreaks.com/topic/45022-solved-help-with-files/ Share on other sites More sharing options...
ted_chou12 Posted March 31, 2007 Share Posted March 31, 2007 sure glob() Link to comment https://forums.phpfreaks.com/topic/45022-solved-help-with-files/#findComment-218566 Share on other sites More sharing options...
DanDaBeginner Posted March 31, 2007 Author Share Posted March 31, 2007 thanx ted_chou12.... Link to comment https://forums.phpfreaks.com/topic/45022-solved-help-with-files/#findComment-218574 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.