Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
go back to the original page.... by some reason I cannot upload large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads the
original page.
Any ideas? 12 2525
On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
go back to the original page.... by some reason I cannot upload large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads the
original page.
Any ideas?
What does phpinfo() tell you about maximum upload size?
"jodleren" <so*****@hot.ee schreef in bericht
news:0a******** *************** ***********@t1g 2000pra.googleg roups.com...
Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
go back to the original page.... by some reason I cannot upload large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads the
original page.
Any ideas?
There's an option in your php.ini named: upload_max_file size
(see: http://www.radinks.com/upload/config.php)
On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
go back to the original page.... by some reason I cannot upload large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads the
original page.
Any ideas?
What does phpinfo() tell you about maximum upload size?
:-)
Got it - it says 12M(b). I'll look for a way to prompt that to the
user, and how to change that.
WBR
Sonnich
On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <so*****@hot.ee wrote:
On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
>On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
go back to the original page.... by some reason I cannot upload large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads the
original page.
Any ideas?
What does phpinfo() tell you about maximum upload size?
:-)
Got it - it says 12M(b). I'll look for a way to prompt that to the
user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_ SIZE) //alert user
and how to change that.
It's PHP_INI_PERDIR afaik, so php.ini, webserver configuration, and in the
case of Apache, .htaccess files.
--
Rik Wasmus
On Jan 14, 2:40*pm, "Rik Wasmus" <luiheidsgoe... @hotmail.comwro te:
On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <sonn...@hot.ee wrote:
On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load, then
go back to the original page.... by some reason I cannot upload large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads the
original page.
Any ideas?
What does phpinfo() tell you about maximum upload size?
:-)
Got it - it says 12M(b). I'll look for a way to prompt that to the
user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_ SIZE) //alert user
this does never happen in my case
>
and how to change that.
It's PHP_INI_PERDIR afaik, so php.ini, webserver configuration, and in the*
case of Apache, .htaccess files.
--
Rik Wasmus- Hide quoted text -
- Show quoted text -
On Mon, 14 Jan 2008 13:48:50 +0100, jodleren <so*****@hot.ee wrote:
On Jan 14, 2:40*pm, "Rik Wasmus" <luiheidsgoe... @hotmail.comwro te:
>On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <sonn...@hot.ee wrote:
On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote: On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
Hi
I have an app, where I should upload files...
Problem: when e.g. uploading 14MB (just 10MB) the page will load,
then
go back to the original page.... by some reason I cannot upload
large
files, larger than some 5 MB.
I cannot get any information it looks like my server just reloads
the
original page.
Any ideas?
>What does phpinfo() tell you about maximum upload size?
:-)
Got it - it says 12M(b). I'll look for a way to prompt that to the
user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_ SIZE) //alert user
this does never happen in my case
Hmmz, afaik, it should, what is the var_dump() of the actual value it
holds on failure?
--
Rik Wasmus
Rik Wasmus wrote:
On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <so*****@hot.ee wrote:
On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
>On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
> Hi
> I have an app, where I should upload files... Problem: when e.g. uploading 14MB (just 10MB) the page will load,
then >>go back to the original page.... by some reason I cannot
upload large >>files, larger than some 5 MB.
> I cannot get any information it looks like my server just reloads
the >>original page.
> Any ideas?
>
What does phpinfo() tell you about maximum upload size?
:-)
Got it - it says 12M(b). I'll look for a way to prompt that to the
user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_ SIZE) //alert user
That is, of course, if post_max_size hasn't been exceeded as well. http://www.php.net/manual/en/ini.cor....post-max-size
If memory serves, the script loading will be aborted if the POST data
size is over the allowed size.
--
Kim André Akerø
- ki******@NOSPAM betadome.com
(remove NOSPAM to contact me directly)
On Jan 14, 4:15*pm, Kim André Akerø <kiman...@NOSPA Mbetadome.com>
wrote:
Rik Wasmus wrote:
On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <sonn...@hot.ee wrote:
>On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
>>On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
>>I have an app, where I should upload files...
>>Problem: when e.g. uploading 14MB (just 10MB) the page will load,
then >>go back to the original page.... by some reason I cannot
upload large >>files, larger than some 5 MB.
What does phpinfo() tell you about maximum upload size?
Got it - it says 12M(b). I'll look for a way to prompt that to the
user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_ SIZE) //alert user
That is, of course, if post_max_size hasn't been exceeded as well.http://www.php.net/manual/en/ini.cor....post-max-size
I really see my problem now - but my system is hosted at one.com,
where my client holds their stuff. I was just looking at/trying
ini_set, but that failed. Since I am new to this - can I change these
values in any way?
WBR
Sonnich
On Jan 15, 8:23*am, jodleren <sonn...@hot.ee wrote:
On Jan 14, 4:15*pm, Kim André Akerø <kiman...@NOSPA Mbetadome.com>
wrote:
Rik Wasmus wrote:
On Mon, 14 Jan 2008 13:31:55 +0100, jodleren <sonn...@hot.ee wrote:
On Jan 14, 1:39*pm, Captain Paralytic <paul_laut...@y ahoo.comwrote:
>On 14 Jan, 11:27, jodleren <sonn...@hot.ee wrote:
>I have an app, where I should upload files...
>Problem: when e.g. uploading 14MB (just 10MB) the page will load,
then >>go back to the original page.... by some reason I cannot
upload large >>files, larger than some 5 MB.
What does phpinfo() tell you about maximum upload size?
Got it - it says 12M(b). I'll look for a way to prompt that to the
user,
if($_FILES['keyname']['error'] == UPLOAD_ERR_INI_ SIZE) //alert user
That is, of course, if post_max_size hasn't been exceeded as well.http://www.php.net/manual/en/ini.cor....post-max-size
I really see my problem now - but my system is hosted at one.com,
where my client holds their stuff. I was just looking at/trying
ini_set, but that failed. Since I am new to this - can I change these
values in any way?
Or can I at least read these out, so I can inform the user of the max
file size?
php_info echoes it all right way... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tihon |
last post by:
Hello!
I again need your help, just can't understand whats going on.
Got this upload pictures form and it's having problem handling large
files (~1.5 - 2 MB).
Everything works fine if i just upload files, like this:
copy ($myfile, $uploadfolder . "/" . $myfile_name);
Everything works fine, it can process large files and everything,
but i need to make sure that people only upload pictures, so i change
|
by: john_ramsden |
last post by:
I have to prepare an Apache/PHP based (or perl if easier) web
page that allows a user to upload very large files, possibly
over 10 Gbytes and maybe up to 100 Gbytes.
I'm aware that file upload limits can be increased by config
changes; but I'd rather minimize the need for changes like
this, both for admin reasons and to avoid possible (?) memory problems
or even bugs.
In principle there's a simple solution whereby the user runs
|
by: Joe |
last post by:
Hello,
I have IIS 6.0 running on w2k3 Enterprise.
I have three upload forms
1 to have restricted uploads .asp
2 to upload plain .asp any extension
3 a FP form upload non .asp
|
by: Thomas Due |
last post by:
Hi,
I am writing an ASP.NET project where I allow users to upload files to
the server. I have changed to web.config to allow a total file size of
100MB. My problem is that if the total file size exceed this amount the
page simply stops works, and I get a "Server unreachable" error.
Is there any way to handle this, so I am able to present the user with
a nice error message telling him that the maximum file size has been
exceeded.
|
by: Braky Wacky |
last post by:
Hello,
I have an ASP.NET webpage that uses an instance of
System.Web.UI.HtmlControls.HtmlInputFile for uploading files to our
server. I came across the documentation at MSDN for upping the
filesize limit, once I saw the behavior of the page bombing with files
bigger than 4 MB. So far so good.
But the situation I'm coming across is that there doesn't seem to be
an elegant way of recovering from a user attempting to upload files
| |
by: Robert Strickland |
last post by:
What is the default file size limit when uploading a file and can the
administrator up that limited when needed?
|
by: Charlie |
last post by:
Hi:
I'm using the HTML File Field control as a file picker for uploading files
to a SQl Server image field. When page posts back to initiate upload, if
file is small (under about two megs) all is well. However, when I select a
large file, the default IIS "Cannot find server" page is immediately
returned. Weird???
Thanks,
Charlie
|
by: lawrence k |
last post by:
I've a file upload script on my site. I just now used it to upload a
small text document (10k). Everything worked fine.
Then I tried to upload a 5.3 meg Quicktime video.
Didn't work.
I've set the POST limit in php.ini to 8 megs.
What reasons, other than the POST limit, would a large upload fail?
|
by: Rozzy |
last post by:
Hi, I need some recommendations for uploading files to the server.
Right now I have a php script that uses ftp to upload, download, and
delete files, and everything works fine for small files.
However, the original purpose for this script was to be able to upload
large files (100 - 200 MB). The problem is that the request times out.
Now I'm a php noob so I don't know if the problem is my internet
connection, my host's bandwidth, or both....
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |