Perhaps I've misunderstood, but PHP isn't an image format is it? I know
it as a server-side scripting technology.
What are you trying to open them with?
I'd guess that you've saved a web page containing an image rather than
the image itself. Maybe go back to the original and right-click the
image, then see if there's a Save Image As option.