php - failing to move uploaded video file -
I am uploading a video through an online form. Here's the piece of code:
$ path = "../user_uploads/user_media/" $ UID "/"; $ Videofile = $ _FILES ['files'] ['tmp_name']; $ ImageFile = $ uid '_' pah (). '.jpg'; If (move_uploaded_file ($ videofile, $ path. $ VideoFile)) {$ getFromSecond = 5; $ Size = "350x200"; $ CMD = "$ FFMPEG-I $ videofile-a-s-s-$$ getFromSecond -s $ size $ imageFile"; If (shell_exec ($ CMD)) {$ picres = "y"; } And {$ picres = ""; }
Can you tell me why is it going to be taken away? Upload_file?
Comments
Post a Comment