Parsing cookie files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yarons
Forum Newbie
Posts: 24
Joined: Mon Sep 11, 2006 7:25 am

Parsing cookie files

Post by yarons »

Hello,

I'm wondering if I could use PHP to parse cookie files.
I need to automatically extract the expiry date of cookies not set by my own domain. As the $_COOKIE array will only show my cookies set by my domain, I thought maybe putting the cookie files themselves under my web server and then read and parse those files.

Any clever ideas?

Cheers

Y
miro_igov
Forum Contributor
Posts: 485
Joined: Fri Mar 31, 2006 5:06 am
Location: Bulgaria

Post by miro_igov »

I need to automatically extract the expiry date of cookies not set by my own domain
Impossible, browser sends only cookies set for the current domain.
Post Reply