Reputation: 5561
How to upload video files using PHP. Actually,In my application some users r required to call a particular script and they have to pass videos as POST parameters.
Is it possible to manage and upload videos by passing them in post parameters, or first we should encode them before uploading .
In case of image uploading iPhone and Android Apps first encode the image in 64 bit encoding and then at runtime i decode them created image file at runtime and then save the file in a folder and it's path in databse. Can we do some similar stuff in case of videos also.
Upvotes: 0
Views: 992
Reputation: 6653
you should have no trouble uploading videos, you can check the file extension and put the file in a separate folder.
one thing you need to take into consideration if that you will need a lot of ram to upload large files so you could switch to a different server using javascript.
Upvotes: 1
Reputation: 944294
Binary files are binary files. It doesn't matter if they are images, videos, executables or whatever. The methods to transfer them over HTTP are the same.
Upvotes: 2