echo ("<a href=foldername/".$file.">".$file."</a>"."<br>");
and there
$file = readdir($handle);
in that case $file is a folder name with space.. So I have to put double quotation after href=. But it doesnt printing that double quotation. The link I am getting is only the folder name's first thing before space. So the link Generating is wrong...
Please help me..