Jump to content

jumbo125

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jumbo125

  • Rank
    Newbie
  1. Hy, I tried to read filenames of zip file. I use the jszip libaray to see the fileneams and check name and type, BUT the libaray can't show me the size of files. or i don't know how i can see it. Does anybody knows a zip libary, which is easy to use? i don't want compress and uncompress, only read the files and their properties..... thank you
  2. No, normale i would Write Print_r($_FILES) and Show what the php file gives out. That is the reason, for my last question. I didn't know how i can see the Output when the Site doesn't change
  3. Thank you for answer. I know how i get upload files via php like:$_FILES [inpuzname]But i Never Try to get files which are uploaded with jsThe other Problem is, that i Write with this file some Database entrys....It will be really nice to See some errorsI will Try the error massage postsSorry for my wr
  4. // Edit: i try it with an multiple array, formData("name", "array"); array( [0] => array [0] => inputname e.g. field_1 [1] => array mit filename [0] => filnema 1 [1] => filname2 [1] => array [0] => inputname e.g. field_2 [1] => array with filenames from second input type [0] => filename1 [1] => filename2 ) client.send(formData); If this work, i have only ONE Problem. i don_t can see the result, because it doesn't change to the php file.... om
  5. I know the method appendI don't understand how i can send the formDataFor exampleFormData1.append("file1","filelist1")FormData2.append ("file2", "filelist2")And more... Maybe 10 and more...But how i can send alltogether Client.send(formdata1,formdata3)
  6. Thank you very michNow i know how i can put the multiple files in the var file.But i don't know how i use the other input tags. I put the var file in the formdata and send it with the Client.How can i send the other input tags? Can i create more formdata and send all formdata with one client
  7. I try to create an Upload with javascript nad progress bar. i found this code in the internet, but i can't change the code for my idea. This is the script sample: var client = null; function uploadFile(){ //Wieder unser File Objekt var file = document.getElementById("fileA").files[0]; var formData = new FormData(); client = new XMLHttpRequest(); if(!file) return; formData.append("datei", file); client.onerror = function(e) { alert("onError"); }; client.open("POST", "upload.php"); client.send(formData);} my first problem is, that the a
×
×
  • Create New...