iLLeLogicaL Posted May 16, 2007 Share Posted May 16, 2007 Hello, My problem: I'm trying to make a bot script that log is in every 30 minutes or so to check for new information, post new things, etc. But I have problem: the bot has to login and I don't know how to do this. Even more complex is that the site on which the bot logs in uses cookies so you have to get these to. I guess you could preset them, but what if they use a dynamic code in one of the cookies. HELP! (with the login & cookie problem!) -- iLLeLogicaL -- Quote Link to comment Share on other sites More sharing options...
taith Posted May 16, 2007 Share Posted May 16, 2007 more then likely... the reason why they require logins, and cookies, and all these other security measures... is to prevent just what your trying to do... also... creating bots, which access secured information, to use on your own page, is more then likely, against their copyrights(illegal on your behalf), let alone morally dubious... Quote Link to comment Share on other sites More sharing options...
suttercain Posted May 16, 2007 Share Posted May 16, 2007 Taith is correct. Quote Link to comment Share on other sites More sharing options...
iLLeLogicaL Posted May 16, 2007 Author Share Posted May 16, 2007 Yes you both have a good point there, but still I like to see my answer question. I'm here for that, not for some ethics (may sound rude :-\). But I would like to have an answer, not some ethic discussion. -- iLLeLogicaL -- Quote Link to comment Share on other sites More sharing options...
flappy_warbucks Posted May 16, 2007 Share Posted May 16, 2007 Yes you both have a good point there, but still I like to see my answer question. I'm here for that, not for some ethics (may sound rude :-\). But I would like to have an answer, not some ethic discussion. -- iLLeLogicaL -- its a wee bit naughty... but think out the box and if ur smart enough ull figure it out Quote Link to comment Share on other sites More sharing options...
iLLeLogicaL Posted May 16, 2007 Author Share Posted May 16, 2007 Well, I've tough about it, tryed some ways, failed those ways that's why I've come here. I got somebody saying that file_get_contents in combination with context_stream will do what I want, but i'm bad in boxing. So please just help (with an example or something similar ) Quote Link to comment Share on other sites More sharing options...
chigley Posted May 16, 2007 Share Posted May 16, 2007 cURL. Quote Link to comment Share on other sites More sharing options...
iLLeLogicaL Posted May 17, 2007 Author Share Posted May 17, 2007 A good guide on how to install cURL in PHP 5.2? Quote Link to comment Share on other sites More sharing options...
chigley Posted May 17, 2007 Share Posted May 17, 2007 Which OS are you running on? Local server or web server? cPanel/WHM? Need more info Quote Link to comment Share on other sites More sharing options...
iLLeLogicaL Posted May 19, 2007 Author Share Posted May 19, 2007 Windows XP home SP2+ Easyphp 2 beta 2 Quote Link to comment Share on other sites More sharing options...
chigley Posted May 19, 2007 Share Posted May 19, 2007 Try opening your php.ini and uncommenting the extension=php_curl.dll line. Quote Link to comment Share on other sites More sharing options...
iLLeLogicaL Posted May 19, 2007 Author Share Posted May 19, 2007 And Where Should I place the libcurl map then? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.