Hello I have a sample code like below:
<?php
header('Content-type:image/png');
if ($_SERVER['HTTP_HOST'] == "www.remotedomain.com") {
readfile('granted.png');
} else{
readfile('failed.png');
}
?>
This code shows a PNG image from the same directory. Normally the background of the PNG seems transparent in photoshop but when the script runs on a site for ex grey background the image shows up with a green background. How can I remove this background? The back should be transparent...
Thank you,