Jump to content

Archived

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

Orio

Cruel cURL...

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.

Share this post


Link to post
Share on other sites
Anyone? Or is that too complicated to be done with PHP?

Orio.

Share this post


Link to post
Share on other sites
I guess it is too complicated to be done with PHP... (Please say it isn't! :D)

Orio.

Share this post


Link to post
Share on other sites

×

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.