CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Display files in a Directory



Aug 5, 2001, 5:55 AM

Post #1 of 1 (1025 views)
Display files in a Directory Can't Post

I have a the following problem I have a database that holds a maps image and a compressed map. When I display the record I want to print out first a link to a compressed copy of the map and then print out the map. Each record has a folder and in that folder there is a zip file and a image file I then use the following to display the record (this is just the part how I display the image and the zip file)

see attachment

But there comes a problem if the image file is called A.gif and the zip is called the image is always displayed first I guess this is because of the way perl is reading the folder. I want the zip file to be displayed first then the image can any one help to give some ideas how i will do this ?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives