can i login from my project to another site without putting login id and password?

Discussion in 'PHP' started by mayuroak, Mar 12, 2007.

  1. #1
    Can I login to another site from my project without entering Username & password. Is there any way to avoid entering login name & password? Can I send this information using form tag?
     
    mayuroak, Mar 12, 2007 IP
  2. DeViAnThans3

    DeViAnThans3 Peon

    Messages:
    785
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could you give a bit more clarification? Are you using cURL or fopen? ... That might make it easier for me and other people to solve your problem :)
     
    DeViAnThans3, Mar 13, 2007 IP
  3. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    When you POST do it in the following format.
    
    http://userid:password@www.anywhere.com/
    
    Code (markup):
    This is viewable by looking at the HTML source so you should encode it
    perhaps something like this.
    http://www.albionresearch.com/misc/urlencode.php

    Give me some green reps if my advice helped you
     
    sadcox66, Mar 13, 2007 IP
  4. DeViAnThans3

    DeViAnThans3 Peon

    Messages:
    785
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    0
    #4
    DeViAnThans3, Mar 13, 2007 IP