new problem, reading my created files i can't figure out how to properly encode the $file variable in index.php so that the browser will follow the link if i copy the url and paste it in the browser it works but clicking it doesn't