Php script that visits a range of dynamic urls

How do you create a php script that executes or visits a set of dynamic urls such as

http://www.mysite.com/blah&u=y
http://www.mysite.com/blah&u=y+1
http://www.mysite.com/blah&u=y+2
http://www.mysite.com/blah&u=y+3
.
.
.
http://www.mysite.com/blah&u=x

a range y though x? and with a delay of n seconds between urls?

thanks

PS i know it’s something link this:
http://www.askapache.com/php/curl-multi-downloads.html

but how do you do it for an arbitrary range array?

Have you tried modifying the second example and populating the $urls array with the desired values?

used php curl and i got a 500 Servlet Exception error