Using the following code produces the error:
opendir(/images) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory in <b>/Applications/MAMP/htdocs/domain.co.uk/links.php</b> on line <b>4</b><br />
If I remove the / it works ok.
PHP Code:
$img_path = "/images"; $handle = opendir ($img_path)
Any ideas how to open the images folder in the root.
Cheers
Wayne.
|