SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2007
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Remote login using CURL

    I am developed a program in which members of another website can login directly to another websites using my login form.

    Likewise :

    Site A : login form

    to

    Site B : Members Area

    How can I do this using curl ?

    I am using codeignator for developing this application.

  2. #2
    Non-Member
    Join Date
    Oct 2009
    Posts
    1,852
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is called phising and considered as crime

  3. #3
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,026
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Shrapnel_N5 View Post
    this is called phising and considered as crime
    You really are an idiot aren't you.

    It's phishing (learn to spell) if you are falsely representing your page as someone else's, particularly for the purpose of stealing.

    If you use a merchant account you MUST login via cURL.

    Anyway, from the point of view of the receiving server a cURL session request is no different from a browser's request. So you need to know what that machine expects. This should be easy if you control both servers.

    That said, why would your users want to do this??

  4. #4
    SitePoint Evangelist
    Join Date
    Jun 2007
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Shrapnel_N5 View Post
    this is called phising and considered as crime
    What you are saying ? Please only answer if you know what you are saying.

    Quote Originally Posted by Michael Morris View Post
    You really are an idiot aren't you.

    It's phishing (learn to spell) if you are falsely representing your page as someone else's, particularly for the purpose of stealing.

    If you use a merchant account you MUST login via cURL.

    Anyway, from the point of view of the receiving server a cURL session request is no different from a browser's request. So you need to know what that machine expects. This should be easy if you control both servers.

    That said, why would your users want to do this??
    I am not controlling the second server. But I can understand what they are using. So can you please advise some code ?

  5. #5
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,026
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    The code will vary depending on the server you are targeting. Also, it's more involved than I'm willing to do for free. I'd suggest going to the PHP classes site and getting a cURL library and starting with that.


Bookmarks

Posting Permissions

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