nevx Posted March 21, 2006 Share Posted March 21, 2006 I want several link on my php pageeg :i'll have a link as followstest C: Desktop (3 links)now when i click on the link above say My Documentsit opens all the files in that directoryi know the code to display the files<?phpchdir("/wamp/www/test");$dir=opendir(".");while ($file=readdir($dir)) { echo("$file<br>");}?>my problems is how to get those link?maybe using <a href>any help appreciated Quote Link to comment https://forums.phpfreaks.com/topic/5416-file-handling/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.