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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -