334online
06-19-2005, 07:26 PM
I designed a website for a printing / publishing company a while back. They are now wanting to add a page to the site for their customers to upload graphics and items to be published. They have been sending them through email but there is a 10Mb limit on message size. What is the most efficient way to create a webpage based FTP that an everyday user can understand?
Please include a link to sample code or pages if available. Any help is greatly appreciated.
bheka
06-22-2005, 09:51 AM
or you can use http://www.sharebigfile.com
LinkOnUs.com
06-22-2005, 11:30 AM
We host a site for a printing company that does just what you are requesting. For them we installed.
http://www.perlservices.net/en/programs/psupload/users_guide.shtml
You should limit what can be uploaded and it is best to upload to the root below the public area or you will find warez files in the web space with large amount of bandwidth being used.
The files we allow for them are the following:
@good_extensions = ('gif', 'jpg', 'doc', 'jpeg', 'png', 'sit', 'zip', 'tif', 'psd', 'ai', 'qxd', 'pmd', 'p65', 'fh8', 'sea', 'pdf', 'GIF', 'JPG', 'JPEG', 'PNG', 'SIT', 'ZIP', 'TIF', 'PSD', 'AI', 'QXD', 'PMD', 'P65', 'FH8', 'SEA', 'PDF')
@bad_extensions = ('exe', 'cgi', 'pl')
Since it is a cgi script you don't have to worry about any limits imposed by php.ini files of your host.