How can I force only GD output with PHP?
I am working on a PHP project using the GD library to output a GIF image directly to the page. I know how to use GD, and I've gotten the image to save to a file correctly, the problem is that my hosting server appends a string to the end of all output, even if I use die()
or exit()
, therefore any n开发者_运维百科on-html output doesn't work. I'm just trying to output an image, which won't work if any other data is outputted.
Get a real web host. We cannot override the entity with control over the server environment.
精彩评论