Re: upload problems
| From: | Yanglong Zhu | Date: | Mon, 07 Apr 2003 06:30:49 +0000 |
| Subject: | Re: upload problems | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142642@lists.php.net to get a copy of this message | ||
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 which is intact. the same code works just fine on another machine, running php 4.1.2 on RH 7.3.
Since I have been messing 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?
I tried everything I know, including turning the register_globals on in the php.ini, using get_defined_vars(). Do you have any idea? Help please.
Yanglong