#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Culver City, Ca
    Posts
    6
    Rep Power
    0
    I have a script runs in the browser & references the users cookie in the process. I want to run this script server-side but need to pass the cookie to make it work properly. I found this script in this forum;

    fputs($fp,"GET $page?$params HTTP/1.0n");
    fputs($fp,"Authorization: Basic $codenn");

    and it does http authentication. I'm hoping that a similar method can be used to pass the cookie.

    Any help would be appreciated.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Location
    Culver City, Ca
    Posts
    6
    Rep Power
    0
    I don't think I explained myself clearly in the last post. The PHP script I created runs a 2nd .Fgi script. The .Fgi script is designed to run in the browser & set the cookie. I want to run the .Fgi script from the PHP script on a server. So what I'm looking for is a way to "hand off" an existing cookie, acting as a kind of middle man, not create a new one.

    Any ideas would be helpful.

    Dave -

Similar Threads

  1. Placing user-entered data into cookie
    By Tyrone in forum Perl Programming
    Replies: 2
    Last Post: February 17th, 2004, 04:31 PM
  2. mail(), header, character set not recognized
    By mr_fitz in forum PHP Development
    Replies: 0
    Last Post: December 11th, 2003, 10:25 AM
  3. Does _msize() always return EXACT size of malloc'ed block?
    By Jason Doucette in forum C Programming
    Replies: 10
    Last Post: November 29th, 2003, 12:24 AM
  4. Need to send second cookie but get 'Header error'
    By robstl70 in forum PHP Development
    Replies: 2
    Last Post: October 22nd, 2003, 11:57 PM

IMN logo majestic logo threadwatch logo seochat tools logo