sammaell
04-14-2005, 09:18 PM
ive read the sticky post about listing files in the directory, my question is..
is it possible to have the displayed name different to the actual file name that it is referring to?
for example, if i had a directory with 20 pdf files in it, with obscure names like:
ped0405.pdf
der0405.pdf
fjk0305.pdf
i'd like them displayed as:
Comment April 05
Another Comment April 05
Yet Another Comment March 05
respectively. (i.e. parsing the file and understanding that ped = "comment" and 0405 = "April 05")
The actual scenario is every month i am handed a cd with 100 pdf files, they are newsletters. Right now i have to upload them to the web site, edit the webpage with new links (with meaningful names) pointing to the appropriate pdf file. I would love to jsut be able to upload the files into the directory/s and have them dynamically displayed (such as the examples in the sticky post) but without having to change the names of the pdf files each month.
is that possible?
is it possible to have the displayed name different to the actual file name that it is referring to?
for example, if i had a directory with 20 pdf files in it, with obscure names like:
ped0405.pdf
der0405.pdf
fjk0305.pdf
i'd like them displayed as:
Comment April 05
Another Comment April 05
Yet Another Comment March 05
respectively. (i.e. parsing the file and understanding that ped = "comment" and 0405 = "April 05")
The actual scenario is every month i am handed a cd with 100 pdf files, they are newsletters. Right now i have to upload them to the web site, edit the webpage with new links (with meaningful names) pointing to the appropriate pdf file. I would love to jsut be able to upload the files into the directory/s and have them dynamically displayed (such as the examples in the sticky post) but without having to change the names of the pdf files each month.
is that possible?