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;
and it does http authentication. I'm hoping that a similar method can be used to pass the cookie.
Any help would be appreciated.
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.