Re: upload problems
| From: | Philip Olson | Date: | Mon, 07 Apr 2003 06:30:30 +0000 |
| Subject: | Re: upload problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142643@lists.php.net to get a copy of this message | ||
On Mon, 7 Apr 2003, Yanglong Zhu wrote:
> Yanglong Zhu wrote:
>
> > 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
> >
> 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?
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