By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,544 Members | 2,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,544 IT Pros & Developers. It's quick & easy.

code for uploading 1gb files using php

P: n/a
i am looking for code in php to upload the 1 gb files. any one can
please help me by sending the code....
Jul 16 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
mu************@gmail.com schreef:
i am looking for code in php to upload the 1 gb files. any one can
please help me by sending the code....
What did you try yourself so far?
Which problems did you encounter?
Any errormessages?

Regards,
Erwin Moller
Jul 16 '08 #2

P: n/a
On Jul 16, 12:40*am, muziburreha...@gmail.com wrote:
i am looking for code in php to upload the 1 gb files. any one can
please help me by sending the code....
If at all possible, break you code up into smaller files, especially
if others with a slow connection might need to download them. The
Roxio complete media suite now runs near 1 GB and Nero is not too far
behind. Both break their downloads up into several sections.

The only files I have used that run at about 1 GB are .vob files that
contain the video for DVD movies. These are usually broken up into 1
GB files, and a typical commercial DVD will have a total of from about
4 to 8 GB on a DL DVD. These are useless for streaming on the web
unless you can download at over 10 Mbps, which likely would require a
direct fiber optics connection into a computer. Some movie makers
might edit a movie at one location and then put the edited video files
up on a secure site briefly so someone in another location can
download them. Even .vob files can be split, but this requires some
rather elaborate programs.

I have uploaded an about 500 MB video file to the server I use. The
host apparently allows
this so long as the operation does not tie up over a certain
percentage of the server resources. Of course if you do a lot of
uploading and downloading of huge files and exceed the bandwith you
paid for, they are quite happy to bill you for more. Or you can set a
throttle policy to avoid exceeding your paid bandwidth.
Jul 16 '08 #3

P: n/a
On Jul 16, 6:40 am, muziburreha...@gmail.com wrote:
i am looking for code in php to upload the 1 gb files. any one can
please help me by sending the code....
The code for uploading a 1 gig file is exactly the same as the code
for uploading a 1 byte file. By default you're prevented from
uploading such huge files by a setting in php.ini. In all honesty you
shouldn't be uploading such massive files over HTTP anyway, it's not
what the protocol was meant for. Upload them via FTP instead, it
supports resume, etc.
Jul 16 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.