Easy question in regards to PHP

Discussion in 'PHP' started by gfab10, Jun 7, 2008.

  1. #1
    Hellos friends at DigitalPoint. I have been searching tirelessly to find a fix for a problem I have been having with my proxy website. When someone attempts to login to facebook, nothing happens. I believe one has to edit a line in the PHP script, but I just do not know how to. Will someone please help? It will be greatly appreciated
     
    gfab10, Jun 7, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    most proxy sites doesn't allow cookies and sessions! so login in will be a problem ;)
     
    EricBruggema, Jun 8, 2008 IP
  3. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Your proxy script needs to read any cookies sent to the user's browser, save them in a cookie jar (awesome name) and then when requesting the page send them in the HTTP Headers, the only cookies set on the users machine will be a session cookie, which is used to matchup the cookies sent during the session, with the user.

    Dan
     
    Danltn, Jun 8, 2008 IP