On Wed, 18 Aug 2004, Christian Schneider wrote: > Rasmus Lerdorf wrote: > > How about this: > > setcookie('name',$value,array('Max-Age'=>3600, 'Comment'=>$comment, 'Path'=>'/'); > > One drawback is that people have to know about the cookie > specifications, e.g. 'Max-Age': Is it case sensitive, does it have a > dash between max and age, etc? That should at least be well-covered in > the documentation to avoid having to look at the RFC.
It can be made case-insensitive. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php