Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Java][AJAX][PHP]uploadify - przekazanie id elementu do uploadify.php
fiasko
post
Post #1





Grupa: Zarejestrowani
Postów: 243
Pomógł: 1
Dołączył: 1.06.2010

Ostrzeżenie: (0%)
-----


Witam

Próbuję przekazać id uploadowanego elementu do skryptu uploadify.php tak abym mógł jest otrzymać z powrotem z response w tablicy post. W dokumentacji nie znalazłem , żadnego rozwiązania.

Muszę mieć to id.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
fiasko
post
Post #2





Grupa: Zarejestrowani
Postów: 243
Pomógł: 1
Dołączył: 1.06.2010

Ostrzeżenie: (0%)
-----


Kod
$('#file_upload').uploadify({
    'uploader'  : '/xxxxxxxx/uploader/uploadify.swf',
    'script'    : '/xxxxxxxx/uploader/uploadify.php',
    'cancelImg' : '/xxxxxxxx/uploader/cancel.png',
    'folder'    : '//xxxxxxxx/zalaczniki/".$id_sesion."',
     'buttonText'  : '".$przeg."',
     'method'      : 'post',
     'displayData' : 'speed',
     'QueueSizeLimit ': 10,
     'SimUploadLimit': 5,
     'fileExt'     : '*.jpg;*.jpeg*;.gif;*.png;*.pdf;*.zip',
     'sizeLimit'   : 1002400,
     'multi'       : true,
     'ScriptData': {'imie': 'Ronnie', 'wiek': 30},
     'onComplete'  : function(event, ID, fileObj, response, data) {
      //alert('test'+fileObj[filePath]);
          alert('test'+response);
        
      //    show_file(response, ID);
        

    },  
    'auto'      : true
    
  });
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 16.10.2025 - 13:32