SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict svcghost's Avatar
    Join Date
    Oct 2010
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    cURL and Cookies (proxy server)

    Hey guys,

    I'm trying to create my own proxy server using cURL to make HTTP/S requests. I am not getting how to incorporate cookies though. I want to view a website, like twitter.com, from my proxy server, and then be able to login on the proxy server without actually going to twitter.com to login.

    Any help?

  2. #2
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    669
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The first link on the google search I gave you had some good code. No-one will be able to give you 100% what you are looking for unless you can be 100% specific. I spend days/weeks researching stuff on google and end up stitching together various bits of code and thats why you see very few questions on here from me.

    You could try hotscripts.com and look for a webmirror - There as one there years ago I used to use which was very good and handled pretty much everything including https. It's only downfall was it didn't get along with magic quotes but you can still hack the code out for your own tinkering.
    I'll do anything to avoid working on my own code

    Are you using: if (isset($_POST['submit'])) ?
    IE has a bug and does not always send the value.

  3. #3
    SitePoint Addict svcghost's Avatar
    Join Date
    Oct 2010
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks tangoforce. I appreciate that answer. Take care now.


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
  •