Jump to content

Cruel cURL...


Orio

Recommended Posts

Hello,
I am trying to learn cURL, but I find it impossible. Every time I read a tutorial about it, or look in www.php.net/curl , I cant understand a thing. Just gets me more and more confused.

Basicly, the goal I want to achieve is-
create a script that:
1) Logs into some site (with a user a pass, no captcha).
2) Goes to a specific URL.
3) Looks in the source for some string (hidden field).
4) Get the hidden field's value, and change the URL using it.
5) Repeat steps 3&4 X times.

Two problems-
1) I have no idea how to do it!
2) The login scripts use cookies, and the server should accept them or else the login won't work (not sure if the server accepts cookies, or if it's possible to make it accept cookies using cURL too).


I know this is some question, but I am not asking from someone "make me this script", I am asking for someone to guide me thru it.


Thanks alot,
Orio.
Link to comment
https://forums.phpfreaks.com/topic/16769-cruel-curl/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.