Re: upload problems
| From: | Yanglong Zhu | Date: | Mon, 07 Apr 2003 07:03:30 +0000 |
| Subject: | Re: upload problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142649@lists.php.net to get a copy of this message | ||
Philip Olson wrote:
On Mon, 7 Apr 2003, Yanglong Zhu wrote:Look at this file (or one like it): /etc/httpd/conf.d/php.conf Note the settings, I believe RedHat has altered some file upload settings in here. Silly RedHat... Regards, Philip I don't have a clue as to what do they mean, though. (pasted below) *********************************************************** # # PHP is an HTML-embedded scripting language which attempts to make it # easy for developers to write dynamically generated webpages. # LoadModule php4_module modules/libphp4.so # # Cause the PHP interpreter handle files with a .php extension. # <Files *.php> SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 524288 </Files> # # Add index.php to the list of files that will be served as directory # indexes. # DirectoryIndex index.php ******************************************** The LimitRequestBody line is a limit of upload file size or what? Do you know any explanation anywhere? ;)Yanglong Zhu wrote:Just add the symptoms here. Since I have been mess with many different ways now, there are two main themes of complaits from the server. One is "the document contains no data". The other is that I could upload test files, but not images, or images will get choped at different position of the image. I got quite confused as to not knowing which is due to my coding error, which is due to the upgrading. I'm quite sure it is related to upgrading. Or am I sure?Yanglong Zhu wrote:Hi there, My uploading page worked fine untill I upgraded the PHP from 4.1.0 to 4.2.2 on a RH 8.0. I looked at the code is intact. the same code works on just fine on another machine, running php 4.1.2 on RH 7.3. I tried everything I know, including turning the register_globals on in the php.ini. Do you have any idea? Help please. Yanglong