Jump to content

[SOLVED] Loging in with php on another site


iLLeLogicaL

Recommended Posts

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 --

Link to comment
Share on other sites

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... :)

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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 :P)

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.