PHP GD image not viewable as an image when saved
Posted on 2011-03-07
I have been playing with the GD image functions creating buttons and placing text on them. Made it work. But I was wondering if someone could give me an explanation to why an image created dynamically by a script cannot be viewed after using 'Save As' . It saves like for example image.php.png and no software can actually open it reporting it's a script. Am I asking a really stupid question here as it is really obvious? Thanks for any contributions to explain this to me.