I visit a website which shows 1 article on a page. You change articles by changing the number in the url. Sometimes a number you enter does not have and article but is just a blank page. Is there a way I can create a php script where I can enter 2 numbers. Ie the number I want to start with and a number to end at and the script would visit the site with the first number, take a screenshot of the page, save it to a folder on my webspace with the number as the filename and then move to the next number?

An example of the url would be blahblah.com/test.asp?thisid=76