Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Capturing page content that is using cookies
June 27, 2006, 3:38 pm
rate this thread
page to see if the user has permission to view it. If they have
permission, show the link.
The user logs into the system and it sets a cookie. I'm trying to look
for the cookie, but it doesn't show any. When I view the page
directly, I do see the cookie.
I'm using file_get_contents currently. Is there another way to do this
so that cookies work?
Re: Capturing page content that is using cookies
If they're available in your system, curl functions do all the dirty work
for you. Check specifically curl_setopt() with the CURLOPT_COOKIEJAR
-+ Álvaro G. Vicario - Burgos, Spain
++ http://bits.demogracia.com es mi sitio para programadores web
+- http://www.demogracia.com es mi web de humor libre de cloro