This is probably easy but I couldn't find anything on this on php.net
My program needs to opendir a directory based on a user selection. Therefore, I can't just opendir(/temp), I have to do something like
$folder = "/".$HTTP_GET_VARS['directory']
$result = opendir($folder)
PHP doesn't like this:
Warning: OpenDir: Invalid argument (errno 22)
What should I do?
Thanks a lot,
elenev