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:
for each file in folder
{
for each line in file
{
read out content
compare with a string
return true or false if containi
}
}
I know how to do the "for each line in file" part, but I don't know how to get all files in a folder.
__________________