473,397 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

8GB video upload problem - solution

in the php.ini,
post_max_size=8M
is the default and file size is 2M. so guess what the post_max_size should
be if the file size is 10MB... 40M.
that's called encode bloat.

sorry to multipost - my news client lost the original post and I didn't have
anything to reply to, and I wanted to provide this.
Feb 4 '06 #1
2 1708
On Sat, 4 Feb 2006 01:20:38 -0800, "Jim Michaels" <jm******@nospam.yahoo.com>
wrote:
in the php.ini,
post_max_size=8M
is the default and file size is 2M. so guess what the post_max_size should
be if the file size is 10MB... 40M.
that's called encode bloat.


If you're sending 40MB of data for a 10MB file you have your form set up
incorrectly or your browser is broken.

http://www.w3.org/TR/html4/interact/...ml#h-17.13.4.2
http://uk2.php.net/manual/en/features.file-upload.php

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Feb 4 '06 #2
"Jim Michaels" <jm******@nospam.yahoo.com> wrote:

in the php.ini,
post_max_size=8M
is the default and file size is 2M. so guess what the post_max_size should
be if the file size is 10MB... 40M.
that's called encode bloat.


Base64 encoding multiples a file's size by 4/3. 2M will become about
2.66MB.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Feb 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: poorna | last post by:
hi all i want to upload the video files to the server.. then i encode all the video files into flv files ... and then i am go to streaming ... in the mean while i create the thumbnail image...
6
by: poorna | last post by:
hi all, Can any body guide me please how to upload video files using php and how to maintain it? Is there any thing diffrent way to upload a video files? Regards, poorna
7
by: cmk128 | last post by:
Hi I have many video on my server, wmv, mpeg, avi, etc... I want to use php to catpure the first frame of the video into a png/jpeg/mpg, how to? thanks from Peter (cmk128@hotmail.com)
8
by: scriptee | last post by:
Hi guys ! I have a form, in which I want users to upload either video or image . What I want to ask is how I can set it up so, that when a user tries to upload a image when there is already a video...
3
by: pbd22 | last post by:
hi. i thought there would be volumes on this topinc on the internet, but i am having a tough time finding what i am looking for. i am trying to learn how to move a video from a cam corder or...
3
by: lukemack | last post by:
Hi, Can anyone recommend a class/script which handles video file uploads, preferably with Flash integration? I'm looking to have a video upload / library section in my cake app. I considered...
4
by: meseenu | last post by:
Hi every one, iam developing an application where i want to upload image and video files in to a oracle data base. I have used BLOB data type to store the image and video files. iam using...
5
by: mikefuss | last post by:
I'm having trouble getting my PHP code to upload videos. I have a page that uploads Images, which uploads to a table called Photos and everything works fine. I tried modifying that code to upload...
4
by: scan87 | last post by:
Hello everyone...Can someone please, please help me solve a problem I am facing in my project......Basically the project is about uploading videos and viewing them.....When users upload a video (avi,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.