473,320 Members | 1,707 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,320 software developers and data experts.

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 2636
<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
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
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
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
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
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
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
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
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
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
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.