abdfahim Posted November 22, 2011 Share Posted November 22, 2011 Dears, I am trying to integrate my php pages in LifeRay. Everything works fine except the page that create an image. Here is the code of the page which is not working, it shows garbage characters (same thing if I don't use header in a normal Apache environment). FYI, when I host them in my Apache server, the image shows perfectly. Anybody has any suggestion or useful link regarding this problem? This is the first time I am tying to use LifeRay. // Above this i set image properties by GD functions in $img variable header("Content-type:image/png"); imagepng($img); imagedestroy($img); Quote Link to comment https://forums.phpfreaks.com/topic/251594-php-header-in-liferay/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.