Hello. I am new to php. I would like to know how to get a listing of files in a directoy and have the file names be linked to the files themselves. Any help would be great!!!
Thanks
Directory Contents
Moderator: General Moderators
Are the files you want to search for inside of your web folder? or outside? And I ask this because I think linking them outside the web folder will be a little bit different. I might be wrong so hopefully the experts can help us here.
And by the way I posted something similar that might help you.
viewtopic.php?t=26237
And by the way I posted something similar that might help you.
viewtopic.php?t=26237
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
there's a lovely page in the manual: http://www.php.net/manual/en/ref.dir.php
if you have a newer version of php, there's the [php_man]glob[/php_man] function too.
if you have a newer version of php, there's the [php_man]glob[/php_man] function too.