These two days with the uploaded control, Php+jquery introduced this uploadify today, well, I download today because my English is not very good so I am looking for the use of the online tutorial, I found a lot of use, I that go, you look at the official documents to know that many APIs are not the previous API. Today summed up to everyone, give everyone a reminder at most or to see the official http://www.uploadify.com/documentation/!
A simple example of use and then I will add comments to everyone, easy to read and use the download official after the direct use of OK, of course, you need anything in the direct modification on it!
Copy the Code code as follows:
Uploadify explanation
Uploadify Lectures provided by Widuu
<?php
/*
* Check if the file exists check-exists.php
*/
/*
$targetFolder = '/uploads ';
if (file_exists ($_server[' document_root '). $targetFolder. '/' . $_post[' filename ')) {
Echo 1;
} else {
echo 0;
}
*/
?>
The code comments are explained in detail, I do not have much nonsense here, if still have doubts, then contact me.