I'm looking to upload large video files to my site. I have read that you can upload files by converting them into their text equivalent and putting them into a database as a blob. Is this method faster than using the PHP move_uploaded_file(), copy() functions? Or do you need to first upload the file to your server before you can convert into its text equivalent? What would be the fastest way of uploading large files using php?
Large File Upload
Started by Pooch, May 05 2007 11:24 AM
4 replies to this topic
#1
Posted 05 May 2007 - 11:24 AM
#2
Posted 05 May 2007 - 11:40 AM
The fastest way to upload a file via php is to upload it.
Converting anything to a text equivalent takes extra processor cycles. Storing it in a database takes extra cycles. And in all actuality, why would you want to store a whole video in a database when you can store it in a file and simply stream the file?
Converting anything to a text equivalent takes extra processor cycles. Storing it in a database takes extra cycles. And in all actuality, why would you want to store a whole video in a database when you can store it in a file and simply stream the file?
#3 _*Creative Insanity_*
Posted 05 May 2007 - 02:47 PM
Quote
why would you want to store a whole video in a database when you can store it in a file and simply stream the file?
#4
Posted 06 May 2007 - 04:27 PM
How would you upload and stream it ?? Is there any tutorials on P2L on doing it ??
Im sorry i cant do a search for them because im in a bit of a rush
Im sorry i cant do a search for them because im in a bit of a rush
#5
Posted 08 May 2007 - 01:54 PM
If you're "in a bit of a rush", don't even bother trying...
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
