472,353 Members | 1,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

code for uploading 1gb files using php

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
3 4963
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ok | last post by:
Hello, Q: How do I get image width and height before uploading an image? This because, I want to restrict people uploading huge files. ...
6
by: Chamomile | last post by:
can anyone point me to some straightforward information on file uploading without using an html form? That is, direcly from within a php script. ...
5
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else....
2
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in...
2
by: tshad | last post by:
I have a page that I am using for multiple uses that includes reposting of the page as well as going to another page where the "form" tag would be...
7
by: Lad | last post by:
If a user will upload large files via FTP protocol, must the user have an FTP client on his computer or is it possible to use a similar way to...
7
by: jambroo | last post by:
Hello, We are currently having issues uploading files using PHP. It seems files below 8MB are uploaded fine, however files above 8.2MB cause the...
1
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.