BWWebDesigns
09-13-2006, 08:32 PM
hi there
im looking for a little help with php and this is what i require
lets say i have a folder of what ever name and i have an index file in this folder along with several zip files
i am looking for info/script/code ideas on how i would using php on the index page for it to automatically detect the zip files in the folder it is in and to take the name of each file and create a link to the file
so every time i upload a new zip file to that fodler the index page would automatically show a link to it using the name of the file
same if i delete any of the zip files
im trying to make it quicker on me rather than having to manually type download links into each index file in each folder, if they could create them on the fly for me depending on the zip files located in their respective folders it would save me hours of work
thanks in advance to anyone who offers helpful code or even better a complete solution ;)
im looking for a little help with php and this is what i require
lets say i have a folder of what ever name and i have an index file in this folder along with several zip files
i am looking for info/script/code ideas on how i would using php on the index page for it to automatically detect the zip files in the folder it is in and to take the name of each file and create a link to the file
so every time i upload a new zip file to that fodler the index page would automatically show a link to it using the name of the file
same if i delete any of the zip files
im trying to make it quicker on me rather than having to manually type download links into each index file in each folder, if they could create them on the fly for me depending on the zip files located in their respective folders it would save me hours of work
thanks in advance to anyone who offers helpful code or even better a complete solution ;)