mbk Posted November 20, 2009 Share Posted November 20, 2009 Hi all, I need to create a curl loop that increments and uses the increment to access pages. URL of www.blah.com/index.asp?p=1 The number changes for each post on the site and some posts dont exist, ie p=4 doesnt exist it just brings a message up saying Post you are looking for doesnt exist. So what I need to do is have a script that takes the base URL upto = and then increment the counter each time but also if the page comes back post doesnt exist then skip this... Can anyone help pls? thanks Link to comment https://forums.phpfreaks.com/topic/182273-curl-loop-i-think/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.