I have a small function that takes as a parameter url of a folder and returns an array with the names of the files in this folder. It works with relative paths and doesn't seem to work with absolute paths (http://...).

So I'd like to ask:
1. Does the opendir() function work with absolute paths? If not...
2. Does an alternative of the function described above that works with absolute paths exist in PHP? And...
3. Do you know if such alternative exists in ColdFusion?

Thank you very much!