1st question, what's the mime type for ZIP and TAR files?
zip is application/zip
tar is application/x-tar but you'd be better off supplying gzipped tar files as tar does no compression
gz is application/x-gzip
2nd question, I'm currently developing a download script for my web site. It will allow the user to choose which script they wish to download and then have it emailed to them. The scripts will be zipped on the fly when the user requests for reasons I won't go into. I was wondering what the implications of doing this are, is it going to be a server hog running gzip and tar commands all day or is it not a problem? The zip file sizes ranges from around 15Kb to 100Kb and are downloaded between 100 - 300 times a day. Occasionally they are downloaded over 10,000 times in one day when new versions of the script are released. Any comments?Should be fine on your normal days. It'll certainly be a bit of a problem on the busy days.
3rd question, how do I take a variable with a value for example, house and convert it into the format $h, $o, $u, $s, $e? The length of word will vary.I'm really not sure what you're asking there. You can split a string into individual components using "split". If you don't know how many letters it will be, then you should store the return value in an array.
my @letters = split //, $string;
http://www.cgiscriptreview.com/Any chance you could do a review of the nms programs at that site?
Dave Cross, Perl Hacker, Trainer and Writer
Get more help at Perl Monks