Jump to content


Photo

Cruel cURL...


  • Please log in to reply
2 replies to this topic

#1 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 07 August 2006 - 08:20 AM

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.
Think you're smarty?

(Gone until 20 to November)

#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 07 August 2006 - 05:29 PM

Anyone? Or is that too complicated to be done with PHP?

Orio.
Think you're smarty?

(Gone until 20 to November)

#3 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 08 August 2006 - 08:29 AM

I guess it is too complicated to be done with PHP... (Please say it isn't! :D)

Orio.
Think you're smarty?

(Gone until 20 to November)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users