how to create links automatically for items in a folder
Posted: Wed May 26, 2010 3:17 am
hello all,
I am making a upload / download form for my website.But i am facing a problem ...
Till now i am able to upload and download data...But the thing is when i upload some data it is storing in the "data" folder specified by me..i want when someone upload something it must be available for download at that moment...Now i am manually making links for every item which is uploaded to that data folder...(i am using the same "data folder" for downloading..)
But till now i have to specify the name every time like..
<a href="http://localhost/download/download.php?f=[u]gp1.jpg[/u]">click here</a>
Is there some way to get the item name in the link automatically when it is uploaded by somebody.
Any Clue regarding this??
I am making a upload / download form for my website.But i am facing a problem ...
Till now i am able to upload and download data...But the thing is when i upload some data it is storing in the "data" folder specified by me..i want when someone upload something it must be available for download at that moment...Now i am manually making links for every item which is uploaded to that data folder...(i am using the same "data folder" for downloading..)
But till now i have to specify the name every time like..
<a href="http://localhost/download/download.php?f=[u]gp1.jpg[/u]">click here</a>
Is there some way to get the item name in the link automatically when it is uploaded by somebody.
Any Clue regarding this??