Why is the JS solution less reliable? What happens if your php page is cached and not refreshed every time a user visits it? Then won't your image won't change, but it would if you were using javascript.
__________________
Subtlety is my middle name... and first and last in case you didn't get the point.
|