ID:               40490
 User updated by:  php at rebby dot com
 Reported By:      php at rebby dot com
 Status:           Bogus
 Bug Type:         GD related
 Operating System: Slackware Linux
 PHP Version:      5.2.1
 New Comment:

Since the status was changed to "Bogus" and it was determined that this
was not a bug, I removed the code from my site this morning. Because
this is still being looked at, I restored the code in question to
http://rebby.com/images/email/image.txt

I will return my development system to 5.2.1 and continue to debug the
problem.


Previous Comments:
------------------------------------------------------------------------

[2007-02-15 14:55:59] [EMAIL PROTECTED]

I cannot access your script (404).

But some tips:
- verify you don't add whitespaces before or after your <? ?> tags
- you don't echo something
- the right header has been sent

But nothing change in image[format] between 5.2.0 and 5.2.1.  Ask on
php-general if you fail to find the problem.


------------------------------------------------------------------------

[2007-02-15 13:59:56] php at rebby dot com

Thank you for your assistance. I guess that I will just have to spend a
bit more time troubleshooting to figure out why this script broke
between 5.2.0 and 5.2.1.

------------------------------------------------------------------------

[2007-02-15 08:58:41] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2007-02-15 02:01:15] php at rebby dot com

Description:
------------
A GD page which relies on imagejpeg(), among other functions, returns
the page URL rather than displaying the image. This script has worked
fine since early 4.x when it was developed. No errors of any kind are
output in my error log.

Reproduce code:
---------------
http://rebby.com/images/email/image.txt

Expected result:
----------------
The code above is included after loading a global configuration file.
The code pulls the location of a jpeg image on my filesystem, makes
some alterations (resizes the image and adds a URL tag), and should
output the image directly to the browser.

Actual result:
--------------
Instead of returning the image the URL of the image is returned
instead. For example, if you source this page at
http://rebby.com/image.php?i=123&s=4 the string
"http://rebby.com/image.php?i=123&s=4"; is displayed in the browser
instead of the desired image.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40490&edit=1

Reply via email to