PHP Classes

Upload varioius file problem

Recommend this page to a friend!

      AJAX File Uploader  >  All threads  >  Upload varioius file problem  >  (Un) Subscribe thread alerts  
Subject:Upload varioius file problem
Summary:Greeting from a newbie
Messages:5
Author:Gerardo Valdez Tovar
Date:2006-08-29 01:48:35
Update:2008-09-04 11:54:09
 

  1. Upload varioius file problem   Reply   Report abuse  
Picture of Gerardo Valdez Tovar Gerardo Valdez Tovar - 2006-08-29 01:48:35
When i try to upload a "first" file all works great, but when i try to upload another fila without a reload it's works too but i can't get a message from the succesful, what happen guys?

  2. Re: Upload varioius file problem   Reply   Report abuse  
Picture of Peter Trenner Peter Trenner - 2006-09-01 07:49:04 - In reply to message 1 from Gerardo Valdez Tovar
I have the same problem :/

  3. Re: Upload varioius file problem   Reply   Report abuse  
Picture of Peter Trenner Peter Trenner - 2006-09-01 10:52:16 - In reply to message 2 from Peter Trenner
I found it. just write the http.onreadystatechange = handleResponse; statement on the end.

http.open("GET", 'imageupload.php?uploadDir='+uploadDir+'&uploader='+uploader);
http.send(null);
http.onreadystatechange = handleResponse;

then it works also with IE

  4. Re: Upload varioius file problem   Reply   Report abuse  
Picture of Gerardo Valdez Tovar Gerardo Valdez Tovar - 2006-09-04 14:15:42 - In reply to message 1 from Gerardo Valdez Tovar
Thanks man, now works great

  5. Re: Upload varioius file problem   Reply   Report abuse  
Picture of claudio cora claudio cora - 2008-09-04 11:54:09 - In reply to message 3 from Peter Trenner
Peter thankeyou sooo much!! i spend 2 hours in this problem