If it's returning FALSE but no warning is generated, it's because the file is not a valid uploaded file.
Printable View
If it's returning FALSE but no warning is generated, it's because the file is not a valid uploaded file.
i don't know how to use this function for getting TRUE or FALSE
what should I do?
You already have, and I've absolutely no idea what you should do :p You could, however, use rename() instead of move_uploaded_file(), with the same arguments.
ok thanks anyway dude
it isn't so important =]