You are here: Re: imagejpeg generating string not image even with header("Content-type:image/jpeg") « PHP Programming Language « IT news, forums, messages
Re: imagejpeg generating string not image even with header("Content-type:image/jpeg")

Posted by Jerry Stuckle on 03/03/06 05:37

cman wrote:
> you can access it at:
> www.marketopp.com/test.php
>
> the thing is i don't get any errors the source only contains 'ÿØÿà'
>

OK, here's the header I get from your page:


HTTP/1.x 200 OK
Date: Fri, 03 Mar 2006 03:36:23 GMT
Server: Apache
X-Powered-By: ModLayout/3.2.1
Cache-Control: no-cache
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

Note the content-type.

Either you have something causing the headers to be sent prematurely
(i.e. even a blank line or a space before the first '<') or you're
getting an error somewhere and not telling us.

What does phpinfo() show about error reporting?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация