I am using the following code to display the contents of a directory as hyperlinks, which is working fine. The problem is that when one is selected i get the standard 404 error message.
The files are only word docs, nothing special. Can anyone help?
$dir=opendir("../jsto1/tfiles/Resumes_examples/");
while($file=readdir($dir)){
if ($file!="." and $file!="..") {
echo "<a href=\"tfiles/Resume_examples/$file\" target=\"_top\">$file</a><br>";
}
}
closedir($dir);
Cheers,
Knuckles.