Skip to content

Instantly share code, notes, and snippets.

@abacha
Created April 3, 2010 00:51
Show Gist options
  • Save abacha/353934 to your computer and use it in GitHub Desktop.
Save abacha/353934 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery('#BookUpload').uploadify({
'uploader':'/uploadify/uploadify.swf',
'script':'/uploadify/uploadify.php',
'cancelImg':'/uploadify/cancel.png',
'folder':'/uploadify/files/<?=$_SESSION["Config"]["userAgent"]?>',
'fileExt':'*.zip;*.pdf;*.rar;*.txt;*.doc;*.xls;*.docx;*.xlsx;*.chm;*.tar;*.tar.gz;*.tgz;*.tar.bz;*.tar.bz2',
'fileDesc':'*.zip;*.pdf;*.rar;*.txt;*.doc;*.xls;*.docx;*.xlsx;*.chm;*.tar;*.tar.gz;*.tgz;*.tar.bz;*.tar.bz2',
'sizeLimit':104857600,
'multi':true
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment