473,407 Members | 2,359 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,407 software developers and data experts.

uploading 20mb file

hi, can anyone know how to upload a file of size upto 20M.
Nov 12 '08 #1
4 3803
nathj
938 Expert 512MB
Same way you upload a file of 2MB!

The methodology is the same regardless of file size. If file size is causing you bother then it's possibly the restrictions the host has. There is a post_max_size and an upload_max_size. These values will restrict the size of file you can upload.

Cheers
nathj
Nov 12 '08 #2
Markus
6,050 Expert 4TB
Question is quite ambiguous. Please explain a little more.

You can limit the upload size by getting the file size from $_FILES['file']['size']
Nov 12 '08 #3
Change the php.ini file and change the max_file_size to 20 mb

thanks,
Sandeep Agrawal
Nov 12 '08 #4
Markus
6,050 Expert 4TB
Change the php.ini file and change the max_file_size to 20 mb

thanks,
Sandeep Agrawal
Read nathj's last post. Plus, you usually need to edit the post_max_size as nathj instructed.
Nov 12 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
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. =) Basically, I'm trying to upload a series of...
1
by: Jonathan | last post by:
Hi everyone, I have a problem with the file uploading in Asp.Net and I have read a lot on forums on this but never found an answer. Here is the problem: I know Asp.Net maximum Length for...
6
by: Micha³ Januszczyk | last post by:
I'm facing the folowing problem: I have a very simple ASP (not aspx) page that is used to dowload binary files. //========================================================== <%@...
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 config.xml. My question is the following: assuming...
2
by: Daniel | last post by:
Hi all, when i try to upload 20MB ppt file to sqlserver2000, the web page just show "The page cannot displayed". how to solve it?? any suggestion? thank you in advance. Best regards, Ocurnos
3
ganesanji
by: ganesanji | last post by:
hi all, I have written a php coding for uploading a file to a specific folder or location in server which is a Linux server. I think the coding for file uploaing is correct. But it does not...
1
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi Every Body: I have the following code that work fine with me when I load data thier size just 5 mb but when I move for 10mb or 20mb or 100mb it did not work with me? My code is: Dim...
10
by: =?Utf-8?B?RGFu?= | last post by:
I'm using a pure ASP upload script to handle file uploading. We run IIS6 and I'm aware of the AspMaxRequestEntityAllowed variable in the metabase. I upped this to allow the file size maximum and it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.