i need to upload file without using a form. i need to do this to make automated upload if a user click a button...
i have create $_FILES['thefile']['name'] and $_FILES['thefile']['tmp'] but it still not working. is it possible to do uploading without a form ?
btw, i use wordpress. and wp use is_uploaded_file() to check whether the file a copy is an uploaded file or not.