$contentdirectory = '/dead-wave/dead-wave_content';
$contentlaunch = scandir($contentdirectory);
that’s what I’m using to create an array from which I echo it’s values using a for each statement. this works perfectly on my dedicated server, but once hosted on godaddy servers returns an error message ‘failed to open dir: No such file or directory in…’ now the directory path is certainly correct the actual problem is unknown to me. Any Thoughts?
Are you sure the path is correct? If the path is a subdirectory of your current directory, you should use ‘dead-wave/dead-wave_content’ instead of ‘/dead-wave/dead-wave_content’.