Read all files in a folder.
Hello everybody,
I'd like to read out the content of all files in a folder, the files aren't registered somewhere. Basically I want something like this : PHP Code:
|
Re: Read all files in a folder.
|
Re: Read all files in a folder.
Thanks. :)
|
Re: Read all files in a folder.
Bether method: http://forums.alliedmods.net/showthread.php?t=135752
|
Re: Read all files in a folder.
Thanks, I tried to use it, but I get this problem.
Quote:
PHP Code:
|
Re: Read all files in a folder.
Try some debuging, replace do-while with only while and then skip . and .. from being stored. And also after you have finished from reading one file reset the iLine contor but maybe read_file can do this at every new file you should check.
|
Re: Read all files in a folder.
Quote:
|
Re: Read all files in a folder.
The error is shown in the console while debugging, and the file exists already.
|
Re: Read all files in a folder.
Quote:
|
Re: Read all files in a folder.
Paths are relative to current folder, you have to format the full one.
|
| All times are GMT -4. The time now is 18:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.