• About
  • Verse
  • Code
  • Sketch
  • Pix
  • Blog
Donline: The Personal Blog of Don Citarella
« Use Direct Mode Blocking Flash Ads , »

New Flash Uploader

July 29th, 2007 by Don News

flash_cs3_63×63.gifAfter much deliberation as to how to get the Flash File Uploader to work correctly in Safari on Macs, Mike and I decided to redevelop the filetype authorization to work with both file extensions as well as MIME types. This means that if the Uploader can distinguish filetypes, it will continue as before. If the filetype is returned as undefined, the Actionscript looks to the file extension to deem authorization.

Now I know what you’re thinking, and yes, it does create a security hole for users. Anyone wanting to upload malicious files may now simply change the extension of their virus and the PHP and Uploader treat it as benign. This is why my previous disclaimer still should be read, understood, and agreed to prior to downloading the .zip file with the Flash Uploader Installation Files. I don’t want anyone coming back to me with issues of malicious files on their server. Please, install at your own risk.

That being said, the New Flash File Uploader now has some pretty fun new features, aside from working in Safari. Below the uploader, there is a list of files that have been uploaded with a toggle to auto-thumbnail images on the server and display all information provided in the id3, MIME types and other metadata information. Movies won’t auto-thumbnail unless your host allows you to install FFmpeg on their server, where many won’t allow this (Cirtex does!) because of server load restrictions. Also, the index.php and Flash FLA file are both constructed so that you can skin them easily and quickly to match your application/site design.

Note that I can’t, unfortunately, suppress the alert that says “A flash script on this page is causing problems…” because it’s controlled by the browser and plug-in, and if you do click “Yes” to cancel the script, your large uploads will hang. Also, some of the tutorial on the following link may be a little outdated because of the new modifications to the script.

Special thanks goes out to Mike for taking over this project, which has already been retooled and sold to a number of clients as well as generated a ton of emails and comments from donline and era404 readers.

Enjoy! Comments and feedback always welcome.

Flash File Uploader Links
Flash File Uploader Installation Files
Flash File Uploader Example

Leave a Reply

  • Categories

    • Code Examples (12)
    • Illustrations (5)
    • Journal Entries (28)
    • News (119)
    • Photography (24)
    • Poetry (11)
    • Prose (5)
    • Sketches (8)
  • Archives

    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • July 2006
    • June 2006
    • April 2006
    • March 2006
    • January 2006
    • June 2005
    • April 2005
    • February 2005
    • September 2004
    • February 1999
    • January 1999
    • December 1997
  • Links

    • era//404 Creative Group, Inc.
    • SwissMiss
    • Fischler.org
    • Picture Calendar
    • My Flickr Page
    • My MySpace Link
    • My Friendster Page
    • My Faceparty Link
    • Citarella.net
    • Venice
    • Spain
    • France, Switzerland, Germany
    • England
    • Ireland
    • Fuse Number 8
    • My Facebook Page
    • My Maddened Mind
    • Prague
    • Vienna
  • Meta

    • Login
    • Valid XHTML
    • XFN
    • WordPress

Copyright © 2007 donline. All Rights Reserved.
Entries (RSS), Comments (RSS). Valid XHTML, CSS. Proudly powered by WordPress