curl problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

curl problem

Post by JakeJ »

I've got a curl script that submits a form. That works great, I get the results I need. Now I need to take the next step but I haven't been able to figure out how to do it.

The results I get are in a table. The default number of records returned is 20 however, there are usually more than 20 records in the entire data set that I need. So what I need to be able to do is click on the button to go to the next page so I can parse out those results as well.

Using Fiddler, I captured what was being output when clicking the "Next Page" button but when I try to submit that form, I end up with the error "object reference not set to an instance of the object."

This seems to be a common problem with ASP.net stuff but my problem is how to get through it using curl.

Point of note, I have no administrative control at all over the target site for my curl script. So they can't possibly be of any use.

Any pointers in the right direction would be extremely welcome. I pounded on this for half the night and came up empty.
Post Reply