Page 1 of 1

uploading in PHP

Posted: Thu Jun 26, 2003 9:38 am
by karteek
Hi,
I am not able to upload files greater than 500KB.What should I do?
I changed the necessay things in php.inc file.But I did not get it.

I am getting the following error:-

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://172.16.2.25/~karteek/upload.php

The following error was encountered:

Write Error
The system returned:

(32) Broken pipeAn error condition occurred while writing to the network. Please retry your request.

Your cache administrator is root.


What should I do?I need to upload files of 5 MB in size?

Posted: Thu Jun 26, 2003 10:04 am
by daven
This sounds more like a routing/apache problem than an upload problem. It seems like there is broken access to your files. Can you get to anything else in that directory?

Just to rehash uplaoding stuff:
Make sure you have upload_max_filesize & post_max_size set to something appropriate (ex: 6000000). Also ensure that your form is like so:
<form name="name" action="action" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="$value">