<input type="file" />
I give users several ways to upload messages like
one is to press the input option
, the second is that I have caught the image address of the facebook, and I"m going to put this on the file.
when the user presses submit, it will be uploaded to my server, and do other image processing
, so this action is necessary. Otherwise, I can only deal with the image
, but I find that if I add value, he still doesn"t have an image selected
, so when I press submit, there is no image that can be uploaded
$_FILES["myFile_cover"]["name"]
can"t get a name
how do you realize that even if you only have a web address, you can still choose the effect of local press upload?