max file upload size?

This is a discussion on max file upload size? within the PHP General forums, part of the PHP Programming Forums category; Hello, Does anyone know where I can read set the maximum file upload size for my POST request? When I ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2004
D. Alvarado
 
Posts: n/a
Default max file upload size?

Hello, Does anyone know where I can read set the maximum file upload
size for my POST request? When I upload files larger than 3 megs, the
variable

$_FILES['myfile']['tmp_name']

is empty and I think it might be because I exceeded the max file size.

Thanks, - Dave
Reply With Quote
  #2 (permalink)  
Old 05-12-2004
DrTebi
 
Posts: n/a
Default Re: max file upload size?

On Mon, 10 May 2004 18:22:52 -0700, D. Alvarado wrote:

> Hello, Does anyone know where I can read set the maximum file upload
> size for my POST request? When I upload files larger than 3 megs, the
> variable
>
> $_FILES['myfile']['tmp_name']
>
> is empty and I think it might be because I exceeded the max file size.
>
> Thanks, - Dave


This is how you should be able to get the ini setting:
print ini_get('upload_max_filesize');

It's set in the php.ini file.

DrTebi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0