On Fri, Oct 3, 2008 at 10:02 PM, Wade Preston Shearer <[EMAIL PROTECTED]> wrote: > I have a script that is reading another script via fsockopen. The second > script continues the user's session and echos out a variable in the session. > When I load this second script in a web browser it correctly echo's out the > variable but when fsockopen reads it it echos out nothing. I think that this > is because fsockopen isn't providing all of the functionality that a browser > does—namely, accepting cookies—and therefor now adequately carrying the > session. Does anyone have any idea on how I could make this work?
www.php.net/curl Look at the curl_setopt function for info about how to set the "cookie jar" for your curl sessions. Should do exactly what you want. _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
