Results 1 to 5 of 5

Thread: How...

  1. #1
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default How...

    Is it possible to remote login to a website with PHP?

    For instance, I want to login to myspace through my own PHP script to say that a friend of mine is a friend (thus allowing me to get their data, [how many comments they have, total friends, etc.] Is this possible?

  2. #2
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Yes, you can use the PHP extension cURL or simply use sockets.

    I can't help you any more though as I may not be allowed to go in to detail, but if you want to know how to use cURL just visit php.net/curl

  3. #3
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    mm, but the problem is, i have a script, it gets some things from any myspace page. And if it was a cURL doesn't that mean i would have to login manually

  4. #4
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    You use cURL to send your login details to the MySpace login age and then to store the cookies MySpace creates to keep you logged in.

  5. #5
    Join Date
    Oct 2005
    Location
    Melbourne, Australia
    Posts
    7,554
    Tokens
    0

    Latest Awards:

    Default

    Oh okay!!

    Sounds too confusing for such little use..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •