|
Your causing php to think your finished with the string when you use the double quotes (") for the href=",
so this
[PHP]$file_string = "<li>Get file: <a href="download.php?file=.$file."> ".$file."</a> (".human_file_size(filesize($file)).")</li>";[/PHP]
should be this
[PHP]
$file_string = '<li>Get file: <a href="download.php?file='.$file.'"> "'.$file.'"</a> ("'.human_file_size(filesize($file)).'")</li>';[/PHP]
hope it helps
Magic E
|