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/pjpeg
 >

Does 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
>>
>>         apache-1.3.14-3.rpm
>>         php-4.0.4pl1-3.rpm
>>         php-mysql-4.0.4pl1-3
>>
>>I'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: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to