Use PHP cURL to login to a forum

Status
Not open for further replies.

psychoul

New member
May 22, 2007
90
2
0
Hello guys!

I was playing around with a php program. What I want to do is to login to a vbulettin forum that I am already a member and scrap some schematics (electronics) out of it.

So I used the LiveHTTPHeaders to sniff the headers exchanged during the login. Anyway the result is I could not do it. Even though I was sending the cURL headers exactly the same as Firefox, the site refused to let me in.

Can you help me out with this? First of all, is it possible to do this thing?

Thanks guys...
 


i think vbulletin uses sessions and/or cookies so you might need to download the login page first to get/store a session id/cookie then try logging in..

im no expert but im pretty sure this what you need to do
 
i think vbulletin uses sessions and/or cookies so you might need to download the login page first to get/store a session id/cookie then try logging in..

im no expert but im pretty sure this what you need to do

Hey man thanks for the answer.

Actually I tried and disabled the cookies from firefox and the forum still worked.

hmmm sessions.... Can you establish sessions using cURL?
 
Status
Not open for further replies.