Duplicate:
website screenshots using php
Is it possible to take a screenshot of the current page using PHP?
PHP doesn't render the page, the browser does.
Here is a list of tools that let you do what you're after.