2. Send HTTPRequesto to uploadfile.php ( I know how to send information via GET like text,... ect..)
3. Use php script and send it back to page.
I dont want to reload web site... just use AJAX. The problem is that I dont know how JS is handling file input from HTML and how I can send this input from JS to PHP.
06-23-2010, 09:28 AM
AFAIK you cannot use the file control with javacript. You can post to an iframe by using the target attribute for the form element and then attach an onload handler to the iframe. Alternatively, you can use a flash, silverlight, or java object to upload the file.
06-29-2010, 05:24 AM
I did as You wrote it's working fine. Unfortunatelly it is still not like I expect it to be but it is good enought