Hi,
I need to check if a directory is empty, what should I pass into opendir() if directory to check is let's say /www/mysite/directory?
thanks, Alex
Check out function readdir() and its examples. You probably figure it out just by seeing those.
thanks a lot!