Re: Loading Images from PHP broken on Redhat Enterprise
| From: | Robert Cummings | Date: | Thu, 17 Nov 2005 00:02:45 +0000 |
| Subject: | Re: Loading Images from PHP broken on Redhat Enterprise | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225947@lists.php.net to get a copy of this message | ||
On Wed, 2005-11-16 at 18:44, Kevin Smith wrote:
>
> Any other ideas? This is a very strange one.
The headers aren't the same, specifically the second one doesn't send
the type as image/jpeg.
Here's the first one:
-----------------------------------------------------------------
suds@blobule:~/sjhdsjhdsa> wget -S
"http://www.limiteds.com/includes/image_load.php?image_id=8522&field_id=image_full_2"
--19:01:33--
http://www.limiteds.com/includes/image_load.php?image_id=8522&field_id=image_full_2
=> `image_load.php?image_id=8522&field_id=image_full_2'
Resolving www.limiteds.com... 217.168.144.110
Connecting to www.limiteds.com[217.168.144.110]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Thu, 17 Nov 2005 00:01:12 GMT
3 Server: Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.7a DAV/2
PHP/4.4.1
4 X-Powered-By: PHP/4.4.1
5 Content-Transfer-Encoding: binary
6 Content-Length: 13184
7 Vary: Accept-Encoding,User-Agent
8 P3P: CP="NOI DSP COR NID CUR OUR NOR"
9 Keep-Alive: timeout=15, max=100
10 Connection: Keep-Alive
11 Content-Type: image/jpeg
100%[===================================================================>] 13,184 55.98K/s
19:01:33 (55.77 KB/s) -
`image_load.php?image_id=8522&field_id=image_full_2' saved [13184/13184]
-----------------------------------------------------------------
Here's the second one:
-----------------------------------------------------------------
suds@blobule:~/sjhdsjhdsa> wget -S
"http://www.limitedshop.co.uk/includes/image_load.php?image_id=8522&field_id=image_full_2"
--19:01:37--
http://www.limitedshop.co.uk/includes/image_load.php?image_id=8522&field_id=image_full_2
=> `image_load.php?image_id=8522&field_id=image_full_2.1'
Resolving www.limitedshop.co.uk... 83.138.141.171
Connecting to www.limitedshop.co.uk[83.138.141.171]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.1 200 OK
2 Date: Thu, 17 Nov 2005 00:01:17 GMT
3 Server: Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.7a DAV/2
PHP/4.4.1
4 X-Powered-By: PHP/4.4.1
5 Vary: Accept-Encoding,User-Agent
6 P3P: CP="NOI DSP COR NID CUR OUR NOR"
7 Connection: close
8 Content-Type: text/html; charset=ISO-8859-1
[ <=>
] 13,185 52.99K/s
19:01:38 (52.94 KB/s) -
`image_load.php?image_id=8522&field_id=image_full_2.1' saved [13185]
-----------------------------------------------------------------
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'