<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-20931</id>
	<title>Nabble - jQuery Multiple File Upload</title>
	<updated>2008-08-01T14:36:53Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/jQuery-Multiple-File-Upload-f20931.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/jQuery-Multiple-File-Upload-f20931.html" />
	<subtitle type="html">jQuery.MultiFile is a plugin for jQuery to help users easily select multiple files for upload in a concise quick and easy manner.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.fyneworks.com/jquery/multiple-file-upload/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Official Project Page&lt;/a&gt;</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18783016</id>
	<title>won't allow upload of file after its been removed once</title>
	<published>2008-08-01T14:36:53Z</published>
	<updated>2008-08-01T14:36:53Z</updated>
	<author>
		<name>relish27</name>
	</author>
	<content type="html">I am seeing this problem in my example (and also on the examples page -- try ex 5: &lt;a href=&quot;http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples&lt;/a&gt;) --
&lt;br&gt;&lt;br&gt;1. &amp;nbsp;add two files
&lt;br&gt;2. &amp;nbsp;remove one of them
&lt;br&gt;3. &amp;nbsp;try to add that file back again
&lt;br&gt;&lt;br&gt;it will tell you that that file has already been selected. &amp;nbsp;has anyone seen this and fixed it?
&lt;br&gt;&lt;br&gt;thanks, courtney</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/won%27t-allow-upload-of-file-after-its-been-removed-once-tp18783016s27240p18783016.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18116107</id>
	<title>1.29 is not working in ie7 of safari</title>
	<published>2008-06-25T10:27:14Z</published>
	<updated>2008-06-25T10:27:14Z</updated>
	<author>
		<name>jforth</name>
	</author>
	<content type="html">1.29 is not working in ie7 of safari.... 
&lt;br&gt;Any Ideas? Fixes? Patches?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/1.29-is-not-working-in-ie7-of-safari-tp18116107s27240p18116107.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18037034</id>
	<title>1.29 Not working in IE 7.0.600.16681</title>
	<published>2008-06-20T13:38:47Z</published>
	<updated>2008-06-20T13:38:47Z</updated>
	<author>
		<name>Rancy Og</name>
	</author>
	<content type="html">I load the project page in IE and tried the examples. None seems to work, no label generated, nothing. 
&lt;br&gt;&lt;br&gt;Firefox is fine.
&lt;br&gt;&lt;br&gt;1.28 works FINE. I don't have the problem that IE fires twice the onChange events.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am surprised that no one else mentioned this. 
&lt;br&gt;&lt;br&gt;any thoughts?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/1.29-Not-working-in-IE-7.0.600.16681-tp18037034s27240p18037034.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17570148</id>
	<title>&quot;jQuery Multiple File Upload&quot; don't work in Firefox!!!!!!</title>
	<published>2008-05-30T17:12:12Z</published>
	<updated>2008-05-30T17:12:12Z</updated>
	<author>
		<name>Richard :@</name>
	</author>
	<content type="html">Another library that operates in Firefox? :S

Please, a solution?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/%22jQuery-Multiple-File-Upload%22-don%27t-work-in-Firefox%21%21%21%21%21%21-tp17570148s27240p17570148.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17490326</id>
	<title>how do postAjax with php using multiple file upload</title>
	<published>2008-05-27T06:20:35Z</published>
	<updated>2008-05-27T06:20:35Z</updated>
	<author>
		<name>luciano mazzetto</name>
	</author>
	<content type="html">My post ajax it's ok, file inputs will be send too..
&lt;br&gt;but multiple upload of images no sucess.
&lt;br&gt;&lt;br&gt;how post ajax multiple file upload if the values aren't in input file ?
&lt;br&gt;&lt;br&gt;code:
&lt;br&gt;$(document).ready(function() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // upload imgs
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var fileMax = 10;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('#mUpload').after('&amp;lt;div id=&amp;quot;files_list&amp;quot; class=&amp;quot;box-file&amp;quot;&amp;gt;file (max'+fileMax+'):&amp;lt;/div&amp;gt;');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(&amp;quot;input.upload&amp;quot;).change(function(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; doIt(this, fileMax);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;});
&lt;br&gt;&lt;br&gt;&lt;br&gt;function doIt(obj, fm) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if($('input.upload').size() &amp;gt; fm) {alert('limit upload: '+fm+' images.'); obj.value='';return true;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(obj).hide();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(obj).parent().prepend('&amp;lt;input type=&amp;quot;file&amp;quot; class=&amp;quot;upload&amp;quot; name=&amp;quot;fileX[]&amp;quot; id=&amp;quot;photo&amp;quot; size=&amp;quot;50&amp;quot; /&amp;gt;').find(&amp;quot;input&amp;quot;).change(function() {doIt(this, fm)});
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var v = obj.value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(v != '') {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(&amp;quot;div#files_list&amp;quot;).append('&amp;lt;div style=&amp;quot;margin-top:5px;&amp;quot;&amp;gt;&lt;span style=&quot;float:left&quot;&gt;&amp;nbsp;' +v+ '&lt;/span&gt;&amp;nbsp;&lt;img src=&quot;../imagens/ic-del.png&quot; title=&quot;Clique para remover&quot; class=&quot;remove&quot; /&gt;&amp;lt;/div&amp;gt;')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .find(&amp;quot;.remove&amp;quot;).click(function(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(this).parent().remove();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(obj).remove();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div id=&amp;quot;mUpload&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	&amp;lt;input name=&amp;quot;fileX[]&amp;quot; type=&amp;quot;file&amp;quot; class=&amp;quot;upload&amp;quot; id=&amp;quot;photo&amp;quot; size=&amp;quot;50&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; 		&amp;lt;/div&amp;gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-do-postAjax-with-php-using-multiple-file-upload-tp17490326s27240p17490326.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17422735</id>
	<title>whats wrong with my php upload?</title>
	<published>2008-05-23T03:10:17Z</published>
	<updated>2008-05-23T03:10:17Z</updated>
	<author>
		<name>Jubaida</name>
	</author>
	<content type="html">Hi guys...
&lt;br&gt;&lt;br&gt;&lt;br&gt;i am using the jquery plugin for uploading mulitple files using php. Don't understand whats wrong with my code... is it i am not using the array properly or something? Plz help............
&lt;br&gt;&lt;br&gt;Here is the code..................................................................................................................
&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;&lt;a href=&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;?	
&lt;br&gt;&lt;br&gt;import_request_variables(&amp;quot;PC&amp;quot;, &amp;quot;my_&amp;quot;);
&lt;br&gt;&lt;br&gt;if($my_doit==&amp;quot;now&amp;quot;){
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //for Download file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $target = &amp;quot;news/&amp;quot;; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $target = AddSlashes(&amp;quot;news/&amp;quot;);
&lt;br&gt;&lt;br&gt;if ($_FILES[&amp;quot;file1[]&amp;quot;][&amp;quot;error&amp;quot;] &amp;gt; 0)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; echo &amp;quot;Error: &amp;quot; . $_FILES[&amp;quot;file1[]&amp;quot;][&amp;quot;error&amp;quot;] . &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;else
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; echo &amp;quot;Upload: &amp;quot; . $_FILES[&amp;quot;file1[]&amp;quot;][&amp;quot;name&amp;quot;] . &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp; echo &amp;quot;Type: &amp;quot; . $_FILES[&amp;quot;file1[]&amp;quot;][&amp;quot;type&amp;quot;] . &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp; echo &amp;quot;Size: &amp;quot; . ($_FILES[&amp;quot;file1[]&amp;quot;][&amp;quot;size&amp;quot;] / 1024) . &amp;quot; Kb&amp;lt;br /&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp; echo &amp;quot;Stored in: &amp;quot; . $_FILES[&amp;quot;file1[]&amp;quot;][&amp;quot;tmp_name&amp;quot;];
&lt;br&gt;&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $target = $target . basename( $_FILES['file1[]']['name']) ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo $target;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $f1=$_FILES['file1[]']['name'];
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(move_uploaded_file($_FILES['file1[]']['tmp_name'], $target)) 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $fsuc= basename( $_FILES['file1[]']['name']);
&lt;br&gt;echo $fucus;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $fucus= basename( $_FILES['file1[]']['name']) ;
&lt;br&gt;echo $fucus;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;?&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;head&amp;gt;
&lt;br&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;script src=&amp;quot;images/jquery-latest.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; language=&amp;quot;javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script src=&amp;quot;images/jquery.MultiFile.js&amp;quot; type=&amp;quot;text/javascript&amp;quot; language=&amp;quot;javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;
&lt;br&gt;&amp;lt;link href=&amp;quot;admin/images/jquery.MultiFile.js&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/head&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; action=&amp;quot;&amp;quot; method=&amp;quot;POST&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file1[]&amp;quot; &amp;nbsp;class=&amp;quot;multi&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;doit&amp;quot; value=&amp;quot;now&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Upload File&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/form&amp;gt;
&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/whats-wrong-with-my-php-upload--tp17422735s27240p17422735.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17398276</id>
	<title>Share a Good Software with YOU</title>
	<published>2008-05-21T23:44:38Z</published>
	<updated>2008-05-21T23:44:38Z</updated>
	<author>
		<name>bugdashi</name>
	</author>
	<content type="html">Knowing Qoodaa was quite by chance.
&lt;br&gt;A few days ago, my friends studying in America recommended me a new popular transfer tool—Qoodaa. And he told me that it was a quite good software to download files and movies. At first,I was skeptical, but after using it, I found it’s a good choice to choose Qoodaa. And I have summarized the some features of Qoodaa:
&lt;br&gt;1.Its speed is faster than any other softwares I used before to upload movies.
&lt;br&gt;2.It can download files quickly through downloading links, in a word, it is time-saver and with high efficiency.
&lt;br&gt;3.No limit of space.No matter where you are, it can download fast.
&lt;br&gt;4. Qoodaa is a green software with high security and easy use.
&lt;br&gt;&lt;br&gt;It really can give you unexpected surprise,pls go to its website: &lt;a href=&quot;http://www.qoodaa.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.qoodaa.com&lt;/a&gt;&amp;nbsp; for more information.
&lt;br&gt;I am a person who would like to share with others, and if you have sth good pls share with me
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Share-a-Good-Software-with-YOU-tp17398276s27240p17398276.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17367452</id>
	<title>What is the license of this plugin?</title>
	<published>2008-05-21T11:20:18Z</published>
	<updated>2008-05-21T11:20:18Z</updated>
	<author>
		<name>dandans</name>
	</author>
	<content type="html">What is the license of this plugin?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/What-is-the-license-of-this-plugin--tp17367452s27240p17367452.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-17152636</id>
	<title>Accessing File Array</title>
	<published>2008-05-09T10:19:47Z</published>
	<updated>2008-05-09T10:19:47Z</updated>
	<author>
		<name>manicgenius</name>
	</author>
	<content type="html">Diego,
&lt;br&gt;This is an awesome script. &amp;nbsp;And I feel ridiculous for asking this, but let me see if I can get my question across here. &amp;nbsp;I'm working on a Mailing List Manager that will allow users to upload a maximum of 5 attachments.
&lt;br&gt;&lt;br&gt;&lt;b&gt;Scenario:&lt;/b&gt;&lt;br&gt;I've got the multi-upload input field looking like this:
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; class=&amp;quot;multi&amp;quot; name=&amp;quot;file[]&amp;quot; maxlength=&amp;quot;5&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;In my 'jqueryMultiFile.js' file, I've got my 'namePattern' set to:
&lt;br&gt;namePattern: '$name$i'
&lt;br&gt;&lt;br&gt;(which means for every iteration of the input box above, the name should increment by the value of $i, correct?)
&lt;br&gt;&lt;br&gt;&lt;br&gt;So, in the next step, I simply want to just echo out to the screen the name values for each file I just selected to upload.
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;for ($i=1; $i&amp;lt;=5; $i++) {
&lt;br&gt;&amp;nbsp;echo 'attachment '.$i.':'.$_FILES['file']['name'][$i].'&amp;lt;br/&amp;gt;';
&lt;br&gt;}
&lt;br&gt;?&amp;gt;
&lt;br&gt;&lt;br&gt;However, the only thing that prints to the screen is:
&lt;br&gt;attachment 1:
&lt;br&gt;attachment 2:
&lt;br&gt;attachment 3:
&lt;br&gt;attachment 4:
&lt;br&gt;attachment 5:
&lt;br&gt;&lt;br&gt;No name values.
&lt;br&gt;&lt;br&gt;Can you (or anyone really) provide some insight here? &amp;nbsp;I've looked in the PHP manual for multi-file upload support, and am virtually copying what they suggest, but obviously am missing something.
&lt;br&gt;&lt;br&gt;Thanks so much for your time!</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Accessing-File-Array-tp17152636s27240p17152636.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16595471</id>
	<title>Eliminate Duplicate Entries</title>
	<published>2008-04-09T13:02:20Z</published>
	<updated>2008-04-09T13:02:20Z</updated>
	<author>
		<name>Johnpg82</name>
	</author>
	<content type="html">Is it possible to eliminate files w/ the same file name from being inserted back into the list of files?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Eliminate-Duplicate-Entries-tp16595471s27240p16595471.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16349823</id>
	<title>Server can't receive an array of documents</title>
	<published>2008-03-28T07:17:02Z</published>
	<updated>2008-03-28T07:17:02Z</updated>
	<author>
		<name>zhanghaidang</name>
	</author>
	<content type="html">Struts2:
&lt;br&gt;&lt;br&gt;JSP:
&lt;br&gt;$(function(){
&lt;br&gt;&amp;nbsp;$('#upload').MultiFile({
&lt;br&gt;&amp;nbsp; max:5, STRING: {
&lt;br&gt;&amp;nbsp; &amp;nbsp;remove:'Remover',
&lt;br&gt;&amp;nbsp; &amp;nbsp;selected:'Selecionado: $file',
&lt;br&gt;&amp;nbsp; &amp;nbsp;denied:'Invalido arquivo de tipo $ext!'
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp;});
&lt;br&gt;});
&lt;br&gt;&lt;br&gt;&amp;lt;form name=&amp;quot;sendmail&amp;quot; enctype=&amp;quot;multipart/form-data&amp;quot; id=&amp;quot;sendmail&amp;quot; action=&amp;quot;sendMail.action&amp;quot; method=&amp;quot;post&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;upload&amp;quot; name=&amp;quot;upload'&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;input type=&amp;quot;submit&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/form&amp;gt;
&lt;br&gt;&lt;br&gt;Action:
&lt;br&gt;public class SendMail extends ActionSupport {
&lt;br&gt;&amp;nbsp; &amp;nbsp;private File[] upload;
&lt;br&gt;&amp;nbsp; private String[] uploadContentType;
&lt;br&gt;&amp;nbsp; private String[] uploadFileName;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;get...()
&lt;br&gt;&amp;nbsp; &amp;nbsp;set...()
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;public String execute() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(upload.length());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return INPUT;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Always show a length of only 1, Only get the first File</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Server-can%27t-receive-an-array-of-documents-tp16349823s27240p16349823.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16348393</id>
	<title>multiple file upload + form plugin</title>
	<published>2008-03-28T02:15:10Z</published>
	<updated>2008-03-28T02:15:10Z</updated>
	<author>
		<name>IchDu</name>
	</author>
	<content type="html">Can sombody tell me how it works? I can't get it work...</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/multiple-file-upload-%2B-form-plugin-tp16348393s27240p16348393.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16233802</id>
	<title>Filecounter</title>
	<published>2008-03-23T03:19:46Z</published>
	<updated>2008-03-23T03:19:46Z</updated>
	<author>
		<name>Mikael Korpela</name>
	</author>
	<content type="html">﻿I'm trying to make file calculator with &amp;quot;afterFileSelect&amp;quot; - and is working if i don't use &amp;quot;STRING&amp;quot;. Adding comma between STRING and afterFileSelect won't help. Also making two seperate MultiFile-functions won't work.
&lt;br&gt;&lt;br&gt;Anyone have solution for this?
&lt;br&gt;&lt;br&gt;My function:
&lt;br&gt;&lt;br&gt;$(function(){$('input#addWorkFileUpload').MultiFile({
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max: 10,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; accept: 'gif|jpg|png',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STRING: {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remove:'Poista',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; selected:'Valittu: $file',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; denied:'Tiedostomuotoa ei tueta ($ext)'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; afterFileSelect:function(element,value,master) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var filesCount = $('#addWorkFileUpload_wrap_labels div').size();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $(&amp;quot;#FileInputsCounter&amp;quot;).text(filesCount); // Add +1 to calculator
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp;}); });
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Filecounter-tp16233802s27240p16233802.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-16122110</id>
	<title>Last versions of MultipleFile upload doesn't play nice with Jörn's validate (affected versions : 1.25 to 1.27 included)</title>
	<published>2008-03-18T08:13:18Z</published>
	<updated>2008-03-18T08:13:18Z</updated>
	<author>
		<name>AMIGrAve</name>
	</author>
	<content type="html">&lt;a href=&quot;http://plugins.jquery.com/node/1989&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://plugins.jquery.com/node/1989&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Last-versions-of-MultipleFile-upload-doesn%27t-play-nice-with-J%C3%B6rn%27s-validate-%28affected-versions-%3A-1.25-to-1.27-included%29-tp16122110s27240p16122110.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15790181</id>
	<title>problem in both IE + firefox</title>
	<published>2008-03-02T08:58:07Z</published>
	<updated>2008-03-02T08:58:07Z</updated>
	<author>
		<name>tmsajin</name>
	</author>
	<content type="html">the script not working in Firefox and works partially in IE 7 , if i set 3 files , it only uploads 2 files.
&lt;a href=&quot;http://www.nabble.com/file/p15790181/multi%2Bupload.zip&quot; target=&quot;_top&quot;&gt;multi+upload.zip&lt;/a&gt;
completely unusable</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-in-both-IE-%2B-firefox-tp15790181s27240p15790181.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15788700</id>
	<title>1.26 don't work in opera</title>
	<published>2008-03-02T06:48:41Z</published>
	<updated>2008-03-02T06:48:41Z</updated>
	<author>
		<name>crecass</name>
	</author>
	<content type="html">i check the versions 1.23 is working in opera, after 1.24 plugin don't work in opera</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/1.26-don%27t-work-in-opera-tp15788700s27240p15788700.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15745250</id>
	<title>Multiple File Upload not working</title>
	<published>2008-02-28T12:26:59Z</published>
	<updated>2008-02-28T12:26:59Z</updated>
	<author>
		<name>mohsin89</name>
	</author>
	<content type="html">My page's simple code is as follows:
&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;&lt;a href=&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/1999/xhtml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;head&amp;gt;
&lt;br&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;title&amp;gt;Exercises&amp;lt;/title&amp;gt;
&lt;br&gt;&amp;lt;script type=&amp;quot;text/jscript&amp;quot; src=&amp;quot;jqueryMultiFile.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;script type=&amp;quot;text/jscript&amp;quot; src=&amp;quot;jquery.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&amp;lt;/head&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;body&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;form action=&amp;quot;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type=&amp;quot;file&amp;quot; class=&amp;quot;multi&amp;quot; maxlength=&amp;quot;5&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/form&amp;gt;&amp;lt;br /&amp;gt;
&lt;br&gt;&amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;but its not working, can anybody tell me wots the problem.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multiple-File-Upload-not-working-tp15745250s27240p15745250.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15436593</id>
	<title>1.26 Broken?</title>
	<published>2008-02-12T09:16:41Z</published>
	<updated>2008-02-12T09:16:41Z</updated>
	<author>
		<name>Iapetus</name>
	</author>
	<content type="html">1.26 isn't working for me. I went back to 1.25 and the page works again. ?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/1.26-Broken--tp15436593s27240p15436593.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-15215254</id>
	<title>problem when deleting first file</title>
	<published>2008-01-31T13:43:01Z</published>
	<updated>2008-01-31T13:43:01Z</updated>
	<author>
		<name>remlabm</name>
	</author>
	<content type="html">when ever you delete the first file... it does not pass the other files either... its like the input objects are all deleted...
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/problem-when-deleting-first-file-tp15215254s27240p15215254.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-14554552</id>
	<title>Switching domain on upload url and the uploader fails</title>
	<published>2007-12-30T21:40:55Z</published>
	<updated>2007-12-30T21:40:55Z</updated>
	<author>
		<name>steelliberty</name>
	</author>
	<content type="html">I built a multiple file uploader using the ajaxSubmit functionality of Ajax. It worked great.. but then I realized that I was uploading to domain.com instead of www.domain.com. 
&lt;br&gt;&lt;br&gt;I need to using www.domain.com to get the correct cookies sent to the uploader cgi. But when I switched to www.domain.com to pick up the cookies the ajaxSubmit call back stopped. Meaning the call back response from the uploader is not written to the target object. 
&lt;br&gt;&lt;br&gt;for example 
&lt;br&gt;var options = { target:target_obj, beforeSubmit:uplObj.setProgress,success:uplObj.Response,url:post,type:&amp;quot;post&amp;quot;,clearForm:false,resetForm:false } ;
&lt;br&gt;&lt;br&gt;The target object no longer gets response data. and the success function is never called. &amp;nbsp;I have verified that the upload completes and the response data is actually returned. &amp;nbsp;If I change the upload url back to domain.com instead of www.domain.com it works again. 
&lt;br&gt;&lt;br&gt;I can provide the code if that is necessary. I need the cookies.. love jquery .. need this to work so thanks for any help..
&lt;br&gt;&lt;br&gt;steelliberty
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Switching-domain-on-upload-url-and-the-uploader-fails-tp14554552s27240p14554552.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-14207434</id>
	<title>Comment System ?</title>
	<published>2007-12-06T22:18:45Z</published>
	<updated>2007-12-06T22:18:45Z</updated>
	<author>
		<name>iosoft</name>
	</author>
	<content type="html">is there any JQuery based Comment System ?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Comment-System---tp14207434s27240p14207434.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13758004</id>
	<title>Re: The upload with php</title>
	<published>2007-11-14T14:35:36Z</published>
	<updated>2007-11-14T14:35:36Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">These results should help you:
&lt;br&gt;&lt;a href=&quot;http://www.google.co.uk/search?q=for+each+upload+file+php&amp;sourceid=navclient-ff&amp;ie=UTF-8&amp;rls=GGGL,GGGL:2006-14,GGGL:en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.co.uk/search?q=for+each+upload+file+php&amp;sourceid=navclient-ff&amp;ie=UTF-8&amp;rls=GGGL,GGGL:2006-14,GGGL:en&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;gogomann wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;hi @all
&lt;br&gt;&lt;br&gt;OK guys the js is looks good &amp;nbsp;but how can php get the Files i wante to upload ?
&lt;br&gt;&lt;br&gt;on php i have &amp;nbsp;for upload one file 
&lt;br&gt;if (is_uploaded_file($_FILES['file']['tmp_name'])) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo (&amp;quot;pic is up ! &amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {	$rand1 = rand(1 , 999999);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $fotoname = &amp;quot;$rand1.jpeg&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; move_uploaded_file(($_FILES['file']['tmp_name']),&amp;quot;../gallerie/test/$fotoname&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chmod (&amp;quot;../gallerie/test/$fotoname&amp;quot;, 0777);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;What should I do if I see a need for each loop pix.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/The-upload-with-php-tp13751458s27240p13758004.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13751458</id>
	<title>The upload with php</title>
	<published>2007-11-14T09:01:13Z</published>
	<updated>2007-11-14T09:01:13Z</updated>
	<author>
		<name>gogomann</name>
	</author>
	<content type="html">hi @all
&lt;br&gt;&lt;br&gt;OK guys the js is looks good &amp;nbsp;but how can php get the Files i wante to upload ?
&lt;br&gt;&lt;br&gt;on php i have &amp;nbsp;for upload one file 
&lt;br&gt;if (is_uploaded_file($_FILES['file']['tmp_name'])) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo (&amp;quot;pic is up ! &amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {	$rand1 = rand(1 , 999999);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $fotoname = &amp;quot;$rand1.jpeg&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; move_uploaded_file(($_FILES['file']['tmp_name']),&amp;quot;../gallerie/test/$fotoname&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chmod (&amp;quot;../gallerie/test/$fotoname&amp;quot;, 0777);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;What should I do if I see a need for each loop pix.</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/The-upload-with-php-tp13751458s27240p13751458.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13696571</id>
	<title>Re: how to make an array</title>
	<published>2007-11-11T14:06:25Z</published>
	<updated>2007-11-11T14:06:25Z</updated>
	<author>
		<name>kenyansoul</name>
	</author>
	<content type="html">change this
&lt;br&gt;//e.name = (e.name || x.attr('name') || 'file') + (e.i&amp;gt;0?e.i:''); // same name as master element
&lt;br&gt;to this
&lt;br&gt;&lt;br&gt;e.name = 'upload[]'; // same name as master element
&lt;br&gt;&lt;br&gt;if you are using php....verify it using this, just for precaution
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*Loop through images and check for size and type. if no image is uploaded no error generated
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;$types_array = array('image/gif','image/pjpeg','image/jpeg');
&lt;br&gt;$max_filesize = 1024000;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (($_FILES['upload']['name']) as $key=&amp;gt; $value){
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (file_exists($_FILES['upload']['tmp_name'][$key]))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 	
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(!in_array($_FILES['upload']['type'][$key], $types_array))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $arr_errs['upload']=&amp;quot;wrong type&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;	$err=true;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if($_FILES['upload']['size'][$key] &amp;gt; $max_filesize)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp;			 &amp;nbsp;$arr_errs['upload]=&amp;quot;file too big&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;	$err=true;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;FabioVaz wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;while i put files... just increse the &amp;quot;name field&amp;quot;+1
&lt;br&gt;exemple:
&lt;br&gt;&lt;br&gt;a
&lt;br&gt;a1
&lt;br&gt;a2
&lt;br&gt;a3
&lt;br&gt;a4
&lt;br&gt;a5
&lt;br&gt;a6....
&lt;br&gt;&lt;br&gt;i need it in one array
&lt;br&gt;exemple
&lt;br&gt;&lt;br&gt;a[0] = a
&lt;br&gt;a[1] = a1
&lt;br&gt;a[2] = a2
&lt;br&gt;a[3] = a3
&lt;br&gt;a[4] = a4
&lt;br&gt;a[5] = a5
&lt;br&gt;a[6] = a6
&lt;br&gt;&lt;br&gt;somebody can help me?
&lt;br&gt;&lt;br&gt;(for in php site, i do on for&amp;lt;sizeof...
&lt;br&gt;&lt;br&gt;cause i cant &amp;quot;count&amp;quot; the number of photos to upload X times...
&lt;br&gt;&lt;br&gt;thks
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-make-an-array-tp13102222s27240p13696571.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13472980</id>
	<title>Re: allow multiple selection of files within the browse window?</title>
	<published>2007-10-29T11:45:09Z</published>
	<updated>2007-10-29T11:45:09Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;iblastoff wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;is this something jquery multiple file upload could also handle or is that a limitation elsewhere?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
The script handles the elements of the page, but the browser is responsible for the file selection dialogue.
&lt;br&gt;&lt;br&gt;The dialogue cannot be controlled by javascript and as far as I'm aware, multiple selection of files is not supported by any browser. </content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/allow-multiple-selection-of-files-within-the-browse-window--tp13459337s27240p13472980.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13459337</id>
	<title>allow multiple selection of files within the browse window?</title>
	<published>2007-10-28T17:27:43Z</published>
	<updated>2007-10-28T17:27:43Z</updated>
	<author>
		<name>iblastoff</name>
	</author>
	<content type="html">is this something jquery multiple file upload could also handle or is that a limitation elsewhere?</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/allow-multiple-selection-of-files-within-the-browse-window--tp13459337s27240p13459337.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13155276</id>
	<title>Re: Get File Count? + Extended error message.</title>
	<published>2007-10-11T06:56:42Z</published>
	<updated>2007-10-11T06:56:42Z</updated>
	<author>
		<name>juliandormon</name>
	</author>
	<content type="html">Hey Diego,
&lt;br&gt;Thanks. That is awesome news.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Diego A.&quot;&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;At the moment, you could use the STRING property to do this yourself:
&lt;br&gt;&amp;nbsp; &amp;nbsp; * Method 1: Using class property (and MetaData plugin)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;multi {STRING: {remove:'Remove',selected:'Selected: $file',denied:'You cannot select $ext files!\nYou can only select [WHATEVER YOU WANT TO SAY HERE]'}}&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; * Method 2: Programatically (without MetaData plugin)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(function(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$('#MyUpload').MultiFile({
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STRING: {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;remove:'Remove',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;selected:'Selected: $file',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;denied:'You cannot select $ext files!\nYou can only select [WHATEVER YOU WANT TO SAY HERE]'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&lt;br&gt;But as part of the next version I will make this automatic, based on the accepted extensions...
&lt;br&gt;&lt;br&gt;Thanks for the suggestion!
&lt;br&gt;Diego A.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;juliandormon&quot;&gt;&lt;br&gt;HI Diego,
&lt;br&gt;Thanks. That would be great!
&lt;br&gt;&lt;br&gt;I'm requesting another feature if possible.
&lt;br&gt;&lt;br&gt;If someone is trying to upload a file type that is not accepted, the alert files and says they cannot upload &amp;quot;.jpg&amp;quot; for instance.
&lt;br&gt;&lt;br&gt;It should also tell them what kind of files they are allowed to upload.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Diego A. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;:&amp;gt;&amp;gt; &amp;quot;Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ?&amp;quot;
&lt;br&gt;Yes, soon. I am going to store the list of selected files in an array, so essentially you'll be able to do this:
&lt;br&gt;$('#myUpload').files.length;
&lt;br&gt;&lt;br&gt;:&amp;gt;&amp;gt; &amp;quot;Also I am using my own validation function, what's the proper way to remove a file if it doesn't pass validation?&amp;quot;
&lt;br&gt;The only 'proper' way of removing a file is to use the &amp;quot;onFileAppend&amp;quot; event and return false.
&lt;br&gt;eg.: $('#FileUpload').MultiFile({ onFileAppend: function(){ return false; } });
&lt;br&gt;the above will reject any file selection...
&lt;br&gt;&lt;br&gt;After a file has been accepted, the only way to remove it is via the 'remove' link created by the plugin, there is no public interface/api for this function. But you've raised a good point and I'll look into creating one...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;juliandormon wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi there.
&lt;br&gt;Great plug-in. Thanks!
&lt;br&gt;&lt;br&gt;Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ?
&lt;br&gt;That would be really useful for managing other scripts that may react based on the number of files being uploaded.
&lt;br&gt;For example, I display a warning if 2 or more files are being uploaded.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also it would be great if the alert box also told the user what file types they ARE allowed, not just what they are not allowed to upload.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also I am using my own validation function, what's the proper way to remove a file if it doesn't pass validation?
&lt;br&gt;&lt;br&gt;This is what I have so far:
&lt;br&gt;&lt;br&gt;onFileAppend:function(element,value,master){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkFileUploadRHM('gallerySettingsForm2', element.id, '', 1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!field.uploadOK){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errStr = errStr + 'File names can contain only letters, numbers, hyphens, underscores and no spaces.\n\n'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert('File sucks');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;checkFileUploadRHM should return field.uploadOK as true or false.
&lt;br&gt;If false, I want the file to be removed (or not added).
&lt;br&gt;&lt;br&gt;As a side, checkFileUploadRHM returns true or false for my other scripts, but for some reason it is not passing this back &amp;nbsp;as shown above. Can this be done? I'm a bit behind when it comes to this advanced stuff.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks again!
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Get-File-Count--%2B-Extended-error-message.-tp12377291s27240p13155276.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13150762</id>
	<title>Re: Get File Count? + Extended error message.</title>
	<published>2007-10-11T01:30:07Z</published>
	<updated>2007-10-11T01:30:07Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;At the moment, you could use the STRING property to do this yourself:
&lt;br&gt;&amp;nbsp; &amp;nbsp; * Method 1: Using class property (and MetaData plugin)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; class=&amp;quot;multi {STRING: {remove:'Remove',selected:'Selected: $file',denied:'You cannot select $ext files!\nYou can only select [WHATEVER YOU WANT TO SAY HERE]'}}&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; * Method 2: Programatically (without MetaData plugin)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; $(function(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$('#MyUpload').MultiFile({
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; STRING: {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;remove:'Remove',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;selected:'Selected: $file',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;denied:'You cannot select $ext files!\nYou can only select [WHATEVER YOU WANT TO SAY HERE]'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&lt;br&gt;But as part of the next version I will make this automatic, based on the accepted extensions...
&lt;br&gt;&lt;br&gt;Thanks for the suggestion!
&lt;br&gt;Diego A.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;juliandormon&quot;&gt;&lt;br&gt;HI Diego,
&lt;br&gt;Thanks. That would be great!
&lt;br&gt;&lt;br&gt;I'm requesting another feature if possible.
&lt;br&gt;&lt;br&gt;If someone is trying to upload a file type that is not accepted, the alert files and says they cannot upload &amp;quot;.jpg&amp;quot; for instance.
&lt;br&gt;&lt;br&gt;It should also tell them what kind of files they are allowed to upload.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Diego A. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;:&amp;gt;&amp;gt; &amp;quot;Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ?&amp;quot;
&lt;br&gt;Yes, soon. I am going to store the list of selected files in an array, so essentially you'll be able to do this:
&lt;br&gt;$('#myUpload').files.length;
&lt;br&gt;&lt;br&gt;:&amp;gt;&amp;gt; &amp;quot;Also I am using my own validation function, what's the proper way to remove a file if it doesn't pass validation?&amp;quot;
&lt;br&gt;The only 'proper' way of removing a file is to use the &amp;quot;onFileAppend&amp;quot; event and return false.
&lt;br&gt;eg.: $('#FileUpload').MultiFile({ onFileAppend: function(){ return false; } });
&lt;br&gt;the above will reject any file selection...
&lt;br&gt;&lt;br&gt;After a file has been accepted, the only way to remove it is via the 'remove' link created by the plugin, there is no public interface/api for this function. But you've raised a good point and I'll look into creating one...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;juliandormon wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi there.
&lt;br&gt;Great plug-in. Thanks!
&lt;br&gt;&lt;br&gt;Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ?
&lt;br&gt;That would be really useful for managing other scripts that may react based on the number of files being uploaded.
&lt;br&gt;For example, I display a warning if 2 or more files are being uploaded.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also it would be great if the alert box also told the user what file types they ARE allowed, not just what they are not allowed to upload.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also I am using my own validation function, what's the proper way to remove a file if it doesn't pass validation?
&lt;br&gt;&lt;br&gt;This is what I have so far:
&lt;br&gt;&lt;br&gt;onFileAppend:function(element,value,master){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkFileUploadRHM('gallerySettingsForm2', element.id, '', 1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!field.uploadOK){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errStr = errStr + 'File names can contain only letters, numbers, hyphens, underscores and no spaces.\n\n'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert('File sucks');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;checkFileUploadRHM should return field.uploadOK as true or false.
&lt;br&gt;If false, I want the file to be removed (or not added).
&lt;br&gt;&lt;br&gt;As a side, checkFileUploadRHM returns true or false for my other scripts, but for some reason it is not passing this back &amp;nbsp;as shown above. Can this be done? I'm a bit behind when it comes to this advanced stuff.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks again!
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Get-File-Count--%2B-Extended-error-message.-tp12377291s27240p13150762.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13145052</id>
	<title>Re: Get File Count? + Extended error message.</title>
	<published>2007-10-10T15:17:42Z</published>
	<updated>2007-10-10T15:17:42Z</updated>
	<author>
		<name>juliandormon</name>
	</author>
	<content type="html">HI Diego,
&lt;br&gt;Thanks. That would be great!
&lt;br&gt;&lt;br&gt;I'm requesting another feature if possible.
&lt;br&gt;&lt;br&gt;If someone is trying to upload a file type that is not accepted, the alert files and says they cannot upload &amp;quot;.jpg&amp;quot; for instance.
&lt;br&gt;&lt;br&gt;It should also tell them what kind of files they are allowed to upload.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Diego A.&quot;&gt;&lt;br&gt;:&amp;gt;&amp;gt; &amp;quot;Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ?&amp;quot;
&lt;br&gt;Yes, soon. I am going to store the list of selected files in an array, so essentially you'll be able to do this:
&lt;br&gt;$('#myUpload').files.length;
&lt;br&gt;&lt;br&gt;:&amp;gt;&amp;gt; &amp;quot;Also I am using my own validation function, what's the proper way to remove a file if it doesn't pass validation?&amp;quot;
&lt;br&gt;The only 'proper' way of removing a file is to use the &amp;quot;onFileAppend&amp;quot; event and return false.
&lt;br&gt;eg.: $('#FileUpload').MultiFile({ onFileAppend: function(){ return false; } });
&lt;br&gt;the above will reject any file selection...
&lt;br&gt;&lt;br&gt;After a file has been accepted, the only way to remove it is via the 'remove' link created by the plugin, there is no public interface/api for this function. But you've raised a good point and I'll look into creating one...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;juliandormon wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi there.
&lt;br&gt;Great plug-in. Thanks!
&lt;br&gt;&lt;br&gt;Is there away to get the actual number of files inputted afterFileAppend and afterFileRemove ?
&lt;br&gt;That would be really useful for managing other scripts that may react based on the number of files being uploaded.
&lt;br&gt;For example, I display a warning if 2 or more files are being uploaded.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also it would be great if the alert box also told the user what file types they ARE allowed, not just what they are not allowed to upload.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also I am using my own validation function, what's the proper way to remove a file if it doesn't pass validation?
&lt;br&gt;&lt;br&gt;This is what I have so far:
&lt;br&gt;&lt;br&gt;onFileAppend:function(element,value,master){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; checkFileUploadRHM('gallerySettingsForm2', element.id, '', 1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!field.uploadOK){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; errStr = errStr + 'File names can contain only letters, numbers, hyphens, underscores and no spaces.\n\n'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert('File sucks');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;checkFileUploadRHM should return field.uploadOK as true or false.
&lt;br&gt;If false, I want the file to be removed (or not added).
&lt;br&gt;&lt;br&gt;As a side, checkFileUploadRHM returns true or false for my other scripts, but for some reason it is not passing this back &amp;nbsp;as shown above. Can this be done? I'm a bit behind when it comes to this advanced stuff.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks again!
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Get-File-Count--%2B-Extended-error-message.-tp12377291s27240p13145052.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13102222</id>
	<title>how to make an array</title>
	<published>2007-10-08T12:31:54Z</published>
	<updated>2007-10-08T12:31:54Z</updated>
	<author>
		<name>FabioVaz</name>
	</author>
	<content type="html">while i put files... just increse the &amp;quot;name field&amp;quot;+1
&lt;br&gt;exemple:
&lt;br&gt;&lt;br&gt;a
&lt;br&gt;a1
&lt;br&gt;a2
&lt;br&gt;a3
&lt;br&gt;a4
&lt;br&gt;a5
&lt;br&gt;a6....
&lt;br&gt;&lt;br&gt;i need it in one array
&lt;br&gt;exemple
&lt;br&gt;&lt;br&gt;a[0] = a
&lt;br&gt;a[1] = a1
&lt;br&gt;a[2] = a2
&lt;br&gt;a[3] = a3
&lt;br&gt;a[4] = a4
&lt;br&gt;a[5] = a5
&lt;br&gt;a[6] = a6
&lt;br&gt;&lt;br&gt;somebody can help me?
&lt;br&gt;&lt;br&gt;(for in php site, i do on for&amp;lt;sizeof...
&lt;br&gt;&lt;br&gt;cause i cant &amp;quot;count&amp;quot; the number of photos to upload X times...
&lt;br&gt;&lt;br&gt;thks</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/how-to-make-an-array-tp13102222s27240p13102222.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13096242</id>
	<title>Re: Interacting with the MultiFile Upload Plugin</title>
	<published>2007-10-08T07:15:21Z</published>
	<updated>2007-10-08T07:15:21Z</updated>
	<author>
		<name>musetracks</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Diego A. wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I agree with you the plugin lacks in programmatic interaction. At the moment, there is no way to call the plugin's native 'remove file' function. The only thing you can do is use the 'onFileAppend' event to fail the file's validation.
&lt;br&gt;&lt;br&gt;But I realise the need for such functionality and I'm going to make sure it's available next time I update the plugin, hopefully by the end of this week (15th Oct 2007).
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
No problem. &amp;nbsp;I ended up getting what I needed using the DOM. &amp;nbsp;I isolated the &amp;quot;delete&amp;quot; link and manually triggered the click event. &amp;nbsp;That way I was able to use your code rather than duplicating anything. &amp;nbsp;In case anyone else is interested:
&lt;br&gt;&lt;br&gt;$.ajaxFileUpload ({
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: '/api/rest/creative/upload',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; secureuri: false,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fileElementId: input.id,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataType: 'json',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; success: function ( data, status ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* If there's an error in the upload process, remove the relevant
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* UI elements. &amp;nbsp;To do this, we'll trigger the click event which
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* will then be handled by code in the MultiFile plugin.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( data['error'].length &amp;gt; 0 ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('a[href^=&amp;quot;#multimulti_&amp;quot;]:last').trigger ( 'click' );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert ( data['error'] );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... No error. Do stuff ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch ( e ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('a[href^=&amp;quot;#multimulti_&amp;quot;]:last').trigger ( 'click' );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert ( 'Error: ' + e.message );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error: function ( data, status, e ) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('a[href^=&amp;quot;#multimulti_&amp;quot;]:last').trigger ( 'click' );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert ( 'An error occurred:\n\n' + e + ' (' + status + ')' );
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },
&lt;br&gt;});</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Interacting-with-the-MultiFile-Upload-Plugin-tp12686559s27240p13096242.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13092719</id>
	<title>Re: Bug IE7</title>
	<published>2007-10-08T02:41:56Z</published>
	<updated>2007-10-08T02:41:56Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;This issue has been resolved in the latest version of the plugin.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Diego A.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Francesco wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;In IE7 limit and accept don't work when use class property !
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Bug-IE7-tp11305831s27240p13092719.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13092706</id>
	<title>Re: Multiple File Upload plugin for jQuery - v1.23 use</title>
	<published>2007-10-08T02:41:11Z</published>
	<updated>2007-10-08T02:41:11Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">That is because of the extra file input the plugin creates.
&lt;br&gt;It starts like this:
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file1&amp;quot;/&amp;gt; &amp;lt;!-- USER SEES AN EMPTY FILE SELECTOR
&lt;br&gt;&lt;br&gt;When you select a file, the plugin does this:
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file2&amp;quot;/&amp;gt; &amp;lt;!-- USER SEES AN EMPTY FILE SELECTOR
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file1&amp;quot; value=&amp;quot;C:\my\selected\files\file1.txt&amp;quot;/&amp;gt; &amp;lt;-- SELECTED FILE HIDDEN
&lt;br&gt;&lt;br&gt;When you select another file, the plugin does this:
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file3&amp;quot;/&amp;gt; &amp;lt;!-- USER SEES AN EMPTY FILE SELECTOR
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file2&amp;quot; value=&amp;quot;C:\my\selected\files\file2.txt&amp;quot;/&amp;gt; &amp;lt;-- SELECTED FILE HIDDEN
&lt;br&gt;&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;file1&amp;quot; value=&amp;quot;C:\my\selected\files\file1.txt&amp;quot;/&amp;gt; &amp;lt;-- SELECTED FILE HIDDEN
&lt;br&gt;&lt;br&gt;And so on...
&lt;br&gt;&lt;br&gt;The only way to get rid of the 'extra' file input is to intercept your form validation and disable it before the form is submitted. I've done this myself like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Append data to query string to form action in file uploads
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('input:file', $('#MyForm')).each(function(){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var $this = $(this);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if($this.fieldValue()=='') $this.disable();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });
&lt;br&gt;&lt;br&gt;And if you're submitting via ajax (with the form plugin), you can do this to re-enabled the file input:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $('input:file', $('#MyForm')).enable();
&lt;br&gt;&lt;br&gt;I hope this helps...
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Darkhucx wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;this is the my first time to use the &amp;quot;Multiple File Upload plugin for jQuery - v1.23&amp;quot;,
&lt;br&gt;i use the example on the website to &amp;nbsp;Upload &amp;nbsp;the documents at the same time,
&lt;br&gt;but i have a question,for example,i set the attribute of &amp;quot;Input&amp;quot; to 
&lt;br&gt;&amp;lt;form action=&amp;quot;./xxx/up.php&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type=&amp;quot;file&amp;quot; class=&amp;quot;multi&amp;quot; accept=&amp;quot;gif|jpg&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;/form&amp;gt;
&lt;br&gt;&lt;br&gt;uplode four pics，but in the php document，check the function of
&lt;br&gt;dump($_FILES)，the result is
&lt;br&gt;Array
&lt;br&gt;(
&lt;br&gt;&amp;nbsp; &amp;nbsp; [picmanview4] =&amp;gt; Array
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [name] =&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [type] =&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [tmp_name] =&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [error] =&amp;gt; 4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [size] =&amp;gt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [picmanview3] =&amp;gt; Array
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [name] =&amp;gt; ddgk002.gif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [type] =&amp;gt; image/gif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [tmp_name] =&amp;gt; D:\Project\xxx\var\tmp\php2B1.tmp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [error] =&amp;gt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [size] =&amp;gt; 20690
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [picmanview2] =&amp;gt; Array
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [name] =&amp;gt; DSC_8861.jpg
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [type] =&amp;gt; image/pjpeg
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [tmp_name] =&amp;gt; D:\Project\xxx\var\tmp\php2B2.tmp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [error] =&amp;gt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [size] =&amp;gt; 29280
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [picmanview1] =&amp;gt; Array
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [name] =&amp;gt; DSC_1591.jpg
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [type] =&amp;gt; image/pjpeg
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [tmp_name] =&amp;gt; D:\Project\xxx\var\tmp\php2B3.tmp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [error] =&amp;gt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [size] =&amp;gt; 33908
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; [picmanview] =&amp;gt; Array
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [name] =&amp;gt; DSC_3632.jpg
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [type] =&amp;gt; image/pjpeg
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [tmp_name] =&amp;gt; D:\Project\xxx\var\tmp\php2B4.tmp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [error] =&amp;gt; 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [size] =&amp;gt; 36267
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )
&lt;br&gt;&lt;br&gt;)
&lt;br&gt;&lt;br&gt;the Array always include a Failure array of [error] =&amp;gt; 4，if you know the reason，please tell
&lt;br&gt;me，thanks so much
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Multiple-File-Upload-plugin-for-jQuery---v1.23-use-tp12614550s27240p13092706.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13092319</id>
	<title>Re: Interacting with the MultiFile Upload Plugin</title>
	<published>2007-10-08T02:32:23Z</published>
	<updated>2007-10-08T02:32:23Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">I agree with you the plugin lacks in programmatic interaction. At the moment, there is no way to call the plugin's native 'remove file' function. The only thing you can do is use the 'onFileAppend' event to fail the file's validation.
&lt;br&gt;&lt;br&gt;But I realise the need for such functionality and I'm going to make sure it's available next time I update the plugin, hopefully by the end of this week (15th Oct 2007).
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;musetracks wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;I'm working on a project where I'm using two plugins in tandem, if you will. &amp;nbsp;I'm using the MultiFile plugin and the AjaxFileUpload plugin together to validate files (size, etc.) at the time they're selected. &amp;nbsp;The sequence looks like this:
&lt;br&gt;&lt;br&gt;1. &amp;nbsp;User selects a file which triggers the change event.
&lt;br&gt;2. &amp;nbsp;The MultiFile plugin's built-in handler does its then and then a custom handler uses the ajaxFileUpload plugin to upload the selected file for validation, etc.
&lt;br&gt;3. &amp;nbsp;Any errors are returned and reported.
&lt;br&gt;&lt;br&gt;My question is similar to that asked in &lt;a href=&quot;http://www.nabble.com/Get-File-Count--%2B-Extended-error-message.-tf4344574s15494.html&quot; target=&quot;_top&quot;&gt;this thread&lt;/a&gt;. &amp;nbsp;If there's an error, I need to remove the invalid input. &amp;nbsp;I've done this manually, but the manual operation doesn't decrement the counter that is tested for compliance with any max fields setting.
&lt;br&gt;&lt;br&gt;How can I interact more effectively with the MultiFile plugin? &amp;nbsp;Specifically, I'd really like to know if/how I can trigger the plugin's native function to delete a file input. &amp;nbsp;If I can make that happen, then the counter will be decremented automatically for me.
&lt;br&gt;&lt;br&gt;Any help would be much appreciated. &amp;nbsp;Everything I've tried has failed. &amp;nbsp;Badly.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Rob Wilkerson
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Interacting-with-the-MultiFile-Upload-Plugin-tp12686559s27240p13092319.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-13092315</id>
	<title>Re: Size Check</title>
	<published>2007-10-08T02:27:05Z</published>
	<updated>2007-10-08T02:27:05Z</updated>
	<author>
		<name>Diego A.</name>
	</author>
	<content type="html">File sizes cannot be checked via Javascript (without the use of Activex objects or some other ugly method).
&lt;br&gt;If you want to do that you will need a more comprehensive solution in Java/Flash...
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;jarno wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;is it possible to check for filesize just like it checks for extension?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Size-Check-tp12334947s27240p13092315.html" />
</entry>

</feed>
