How to list all files in a specific folder using php and hostgator server
I am building a joomla website and need to list all of the files in a specific folder off of the root "public_html" folder. For example, if I need to list all of the files in, say, "public_html/testdir". What path would I have to pass to opendir() for access. The website is currently sitting on a hostgator server.