more info: Re: [PHP] file uploads problem?
| From: | Ed Lazor | Date: | Fri, 23 Feb 2001 03:15:55 +0000 |
| Subject: | more info: Re: [PHP] file uploads problem? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41252@lists.php.net to get a copy of this message | ||
I was curious, so I uploaded a file using the upload form and transferred the same file via ftp and did a diff on the two files. Here's the results:
diff -a Poster.jpg Poster_test.jpg
0a1,2
Content-Type: image/pjpegDoes that help? -Ed At 06:01 PM 2/22/2001 -0800, Ed Lazor wrote:
More info: I transferred an image to the web server via ftp and was able to view it successfully from the web site. Here's an example image that was transferred using a file upload form that won't display properly: http://www.atfantasy.com/attachments/3224/samurai1.jpg When you try to view it, it just displays a box with a small x, as if the image wasn't there. I've verified the image is there. What would be doing this? -Ed At 05:30 PM 2/22/2001 -0800, Ed Lazor wrote:File uploads -was- working. I reinstalled the server with the RedHat packages-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netapache-1.3.14-3.rpm php-4.0.4pl1-3.rpm php-mysql-4.0.4pl1-3I'm using the same scripts, but file uploads is not working now. Correction... the file uploads to the server, but doesn't view properly when I try to load it in a browser. If I grab it by ftp from the server and view it in Photoshop, it looks fine. Any ideas? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net