php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Macros | |
#define | COOKIE_EXPIRES "; expires=" |
#define | COOKIE_MAX_AGE "; Max-Age=" |
#define | COOKIE_DOMAIN "; domain=" |
#define | COOKIE_PATH "; path=" |
#define | COOKIE_SECURE "; secure" |
#define | COOKIE_HTTPONLY "; HttpOnly" |
#define | COOKIE_SAMESITE "; SameSite=" |
Functions | |
PHP_RINIT_FUNCTION (head) | |
PHPAPI bool | php_header (void) |
PHPAPI zend_result | php_setcookie (zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, bool secure, bool httponly, zend_string *samesite, bool url_encode) |
|
extern |
PHPAPI zend_result php_setcookie | ( | zend_string * | name, |
zend_string * | value, | ||
time_t | expires, | ||
zend_string * | path, | ||
zend_string * | domain, | ||
bool | secure, | ||
bool | httponly, | ||
zend_string * | samesite, | ||
bool | url_encode ) |