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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



Scankman
newbie

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 b.zip 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