Uploading and listing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fatmart
Forum Newbie
Posts: 1
Joined: Mon Jan 28, 2008 2:24 pm

Uploading and listing

Post by fatmart »

Hi. I searched over the internet and I found some scripts about uploading files with php. It stores the files in a folder and all. But what I want to do is actually have a list on the upload.php page (where my upload script is) of all the files I have uploaded in my folder. I want to be able to download them after too.

Do you have any scripts to propose me or a link to a page that can explain me how to do it?

Thanks and sorry for my english, it isn't my main language
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Re: Uploading and listing

Post by JAM »

I'd lookup glob(). It can list files in an array then you can display the files using that.
Post Reply