![]() Topic awaiting preservation: Uploading Files (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Long Island, NY |
![]() 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 |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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 |
![]() 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 |
![]() This is great. Thanks alot guys, I appreciate it. |