Looking for a simple php file upload (and download) script

12,800

Uploadify (http://www.uploadify.com) is an open source solution for file uploads.

[edit] This is some demo code from Uploadify:

<script type="text/javascript">
$(function() {
   $('#file_upload').uploadify({
          'uploader'  : '/uploadify/uploadify.swf',
          'script'    : '/uploadify/uploadify.php',
          'cancelImg' : '/uploadify/cancel.png',
          'folder'    : '/uploads',
          'removeCompleted' : true,
          'sizeLimit'   : 102400
       });              
    });
</script>

<div class="demo-box">
   <input id="file_upload" type="file" name="Filedata" />
   <p><a href="javascript:$('#file_upload').uploadifyUpload()">UploadFiles</a></p>        </div>
</div>
Share:
12,800
Scott Szretter
Author by

Scott Szretter

As. Director or Information Technology / Developer N1VAN www.508tech.com Apache / PHP / MySQL IIS / ASP.NET / MS-SQL Flex / Flash Builder / Actionscript .NET / C# / VB / MVC JavaScript / XML / HTML / DHTML Java / Objective-C Enterprise Networking / Server &amp; Workstation Hardware / Storage VMWARE / VEEAM

Updated on June 04, 2022

Comments

  • Scott Szretter
    Scott Szretter almost 2 years

    I am thinking about writing a fairly simple php script that allows a user to enter in their email address, upload a file, and enter another persons email address. After the file is uploaded, it would email both people a URL to download that file. An optional password might be nice.

    This is to work around email attachment size limitations. I know there are internet services to do this, but I want the file to be uploaded to my server and within my other security controls.

    Just wondering if anyone knows of a simple script out there that already exists to do this?