Page 1 of 1

cURL and cookies

Posted: Sat Jan 24, 2009 10:33 am
by supmet
I'm trying to figure out how to get information off of a webpage that uses cookies for authentication..

More specifically I play a text based MMORPG. I want to make a list of players and their last online time. This online time is displayed on their profile on the webpage, but to see this information, you need to login.

There are 3 cookies, one for userid, one for username, and one for password(which is hashed).

Is there anyway to pass cookies from whatever browser a person is using, into the "virtual cURL browser?"

I've seen things where you can store cookies in cURL, but I don't want to use MY LOGIN everytime, as the game admins probably wouldn't appreciate that :P

Re: cURL and cookies

Posted: Sat Jan 24, 2009 9:44 pm
by supmet
I guess this isn't really possible then...

Can anyone think of another way to get the desired result, not necessarily using cURL?

I just want one text string from each webpage on a list that require login cookies to view. I can do it with cURL and entering my cookie values, but that isn't a viable option for the final project, I would rather use the person who is viewing the webpages cookies to check for the information.

edit: hey cool a wow bot responded to my post