473,503 Members | 3,045 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uploading problem

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
page to timeout or show a 'Cannot find server or DNS Error' error.

I have looked around and read about common problems people have
uploading and the solutions they have used have not seemed to help.

For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).

Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.

Any ideas as to why this problem would be occurring?

-Jamie

Aug 31 '07 #1
7 2647
<11**********************@z24g2000prh.googlegroups .com>, says...
We are currently having issues uploading files using PHP. It seems
files below 8MB are uploaded fine, however files above 8.2MB cause the
page to timeout or show a 'Cannot find server or DNS Error' error.

I have looked around and read about common problems people have
uploading and the solutions they have used have not seemed to help.

For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).

Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.

Any ideas as to why this problem would be occurring?
PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.

GM
Aug 31 '07 #2
Geoff Muldoon wrote:
<11**********************@z24g2000prh.googlegroups .com>, says...
>We are currently having issues uploading files using PHP. It seems
files below 8MB are uploaded fine, however files above 8.2MB cause the
page to timeout or show a 'Cannot find server or DNS Error' error.

I have looked around and read about common problems people have
uploading and the solutions they have used have not seemed to help.

For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).

Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.

Any ideas as to why this problem would be occurring?

PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.
You could make sure you're using that "multipart" setting on the
mime/type(?) for the form.

That allows the big files to be chunked up into uploadable sections.
Aug 31 '07 #3
n Aug 31, 11:23 am, Sanders Kaufman <bu...@kaufman.netwrote:
Geoff Muldoon wrote:
<1188521841.089812.260...@z24g2000prh.googlegroups .com>, says...
We are currently having issues uploading files using PHP. It seems
files below 8MB are uploaded fine, however files above 8.2MB cause the
page to timeout or show a 'Cannot find server or DNS Error' error.
I have looked around and read about common problems people have
uploading and the solutions they have used have not seemed to help.
For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).
Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.
Any ideas as to why this problem would be occurring?
PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.

You could make sure you're using that "multipart" setting on the
mime/type(?) for the form.

That allows the big files to be chunked up into uploadable sections.
Yep the enctype is set to "multipart/form-data".

Aug 31 '07 #4
On Aug 31, 11:06 am, Geoff Muldoon <geoff.muld...@trap.gmail.com>
wrote:
<1188521841.089812.260...@z24g2000prh.googlegroups .com>, says...
We are currently having issues uploading files using PHP. It seems
files below 8MB are uploaded fine, however files above 8.2MB cause the
page to timeout or show a 'Cannot find server or DNS Error' error.
I have looked around and read about common problems people have
uploading and the solutions they have used have not seemed to help.
For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).
Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.
Any ideas as to why this problem would be occurring?

PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.

GM

Aug 31 '07 #5
On Aug 31, 11:06 am, Geoff Muldoon <geoff.muld...@trap.gmail.com>
wrote:
<1188521841.089812.260...@z24g2000prh.googlegroups .com>, says...
We are currently having issues uploading files using PHP. It seems
files below 8MB are uploaded fine, however files above 8.2MB cause the
page to timeout or show a 'Cannot find server or DNS Error' error.
I have looked around and read about common problems people have
uploading and the solutions they have used have not seemed to help.
For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).
Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.
Any ideas as to why this problem would be occurring?

PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.

GM
I have set the LimitRequestBody to 0 in the htaccess file. Is there
any other options there regarding file uploads?

Aug 31 '07 #6
In article <11**********************@z24g2000prh.googlegroups .com>,
says...
For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).
Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.
Any ideas as to why this problem would be occurring?
PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.

GM

I have set the LimitRequestBody to 0 in the htaccess file. Is there
any other options there regarding file uploads?
Yes, the PHP memory_limit setting might also be killing it.

GM
Aug 31 '07 #7
On Aug 31, 2:54 pm, Geoff Muldoon <geoff.muld...@trap.gmail.com>
wrote:
In article <1188533013.359889.198...@z24g2000prh.googlegroups .com>,
says...
For this particular page i have increased post_max_size,
max_input_time, max_execution_time and upload_max_filesize. I also set
LimitRequestBody in the htaccess file to unlimited (0).
Our host has increased our max idle time for ftp in the server,
however this did not influence the upload.
Any ideas as to why this problem would be occurring?
PHP on apache? Apache has its own max upload file size setting (in
httpd.conf IIRC) as well as the PHP one.
GM
I have set the LimitRequestBody to 0 in the htaccess file. Is there
any other options there regarding file uploads?

Yes, the PHP memory_limit setting might also be killing it.

GM
Just to clear up this problem, it was as simple as the post_max_size
being overwritten by the servers php.ini.
Setting a value for it just that php page did not seem to work.

I had to create my own php.ini and put it in the folder with the
upload php file.

Thanks for your help though guys.

-Jamie

Sep 3 '07 #8

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

Similar topics

5
7814
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...
3
1863
by: Mike | last post by:
Hi i have a problem in asp.ne i am uploading file to the server using htmlinput controls and every thing is o but i try to upload larger file to the server like more than 4 mb and about 10mb i got...
1
2189
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...
3
2615
by: Jason Chu | last post by:
I've written a file uploading part of my application using the IHttpModule. So now, I don't have the memory problem of uploading something big. Problem: I can't find which function I have to...
4
1631
by: Ramakrishnan Nagarajan | last post by:
Hi, I am facing a different problem in my application. In that I am uploading a folder that contain only images. Everything was done and was working fine too. When I executed the application using...
0
1164
by: Ramakrishnan Nagarajan | last post by:
Hi, I am facing a problem in uploading Excel data to the Database. While uploading my code reads Excel Data using OleDbReader and store into a dataset by looping through the OleDbReader result...
1
2065
by: wenqiang7 | last post by:
I am encountering a very strang problem with file uploading in my ASP.Net page. When we try to upload certain file, we'll get an error msg of "Cannot find server or DNS Error". We are running...
4
1381
by: Rob Meade | last post by:
Dear all, We have purchased a product called SA-FileUp which we have used in our organisation for a number of years, I'm quite an an avid supporter of it, recently I've been trying to ensure...
3
1900
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...
2
2310
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
jodleren escribió: I haven't found the PHP manual page where such feature is documented but a few tests have shown that this behaviour changes depending on the charset parameter of the...
1
6975
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
7449
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
5562
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,...
1
4992
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...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
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 ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
371
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.