Id like to make script on PHP/JS/AJAX. The idea is to make uploading in addition supporting for upload file script. How to create it i even dont know... fopen function will not work on the host, so now i using $_FILES[] array, but when i uploading file it uploads to temp dir on a host as a whole... It seems to 2 the algorithm is to: 1. open file for read 2. read some bytes in loop (for example 1024 (1kb) or less is file size is below 1kb) and write this first bytes to temp variable. 3. loop 2. If we re at the EOF, close file... save variable as a file with corresponding extension. BUT i cant reed file from client machine by small pieces. Maybe someone know decision? I know only PHP, JavaScript, Ajax. JS dont work with files and its very pity Thanks in advance and sorry for my English )) Kirill.