http_parse_cookiehttp_parse_cookie
(no version information, might be only in CVS)
http_parse_cookie -- Parse HTTP cookie
Opis
object
http_parse_cookie ( [string cookie [, int flags [, array allowed_extras]]] )
Parses HTTP cookies like sent in a response into a struct.
Parametry
cookie
String containing the value of a Set-Cookie response header
flags
Parse flags
allowed_extras
Array containing recognized extra keys.
By default all unknown keys will be treated as cookie names.
Zwracane wartości
Returns an stdClass like shown in the example on success or FALSE on failure.
Przykłady
Przykład 1. Using http_parse_cookie()
<?php print_r(http_parse_cookie("foo=bar; bar=baz; path=/; domain=example.com; comment=; secure", 0, array("comment"))); ?>
|
Powyższy przykład wyświetli: stdClass Object
(
[cookies] => Array
(
[foo] => bar
[bar] => baz
)
[extras] => Array
(
[comment] =>
)
[flags] => 16
[expires] => 0
[path] => /
[domain] => example.com
) |
|
Forum komputerowe
Forum komputerowe Forum komputerowe
-
odzyskiwanie danych Lublin
- Limo and Car services
chicago limousine 773-649-9630
-
porady
- Bardzo
smutne opisy na gg
- Bardzo
śmieszne opisy na gg
- Bardzo
smutne gg
- Najlepsze
opisy gadu do Twojego komunikatora
- (630) 839-9149
limo naperville ohare Naperville limo
-
budowa stron internetowych
-
darmowe fora
-
Programy
-
Programy
-
partline
-
affection
G:1,M:0,Y:24