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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.