![]() Topic awaiting preservation: Uploading Files (Page 1 of 1)  | 
  |
|---|---|
| 
       Maniac (V) Mad Scientist From: Long Island, NY  | 
    
       
  posted 05-02-2002 00:45
      
      Using Perl and CGI, I was asked to create a script to upload different files for some E/N website.  The webmaster was pretty happy with it but he wants to know if I could create another file, again using Perl & CGI, to display all the uploaded information.  He wants it to display the file name, file type, uploader, size, date, and time it was uploaded.    | 
  
| 
       Paranoid (IV) Mad Scientist From: Somewhere over the rainbow  | 
    
       
  posted 05-02-2002 01:02
      
      The poster has demanded we remove all his contributions, less he takes legal action.  | 
  
| 
       Maniac (V) Mad Scientist From: 100101010011 <-- right about here  | 
    
       
  posted 05-02-2002 01:06
      
      some of this stuff you can get to easily using the perl stat function.  And or reading the directory (to get stuff like the file's name)   | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 05-02-2002 07:37
      
      Jestah, since Bitdamaged explained pretty much everything what you need to do, I'll just add the link to explanation of stat() function: http://www.perldoc.com/perl5.6/pod/func/stat.html   | 
  
| 
       Maniac (V) Mad Scientist From: Long Island, NY  | 
    
       
  posted 05-02-2002 19:31
      
      This is great.  Thanks alot guys, I appreciate it.  |