Searched defs:secure (Results 1 - 2 of 2) sorted by relevance
| /PHP_5_4/ext/session/ |
| H A D | session.c | 1159 #define COOKIE_SECURE "; secure" 1470 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]]) 1477 zend_bool secure = 0, httponly = 0; local 1480 zend_parse_parameters(argc TSRMLS_CC, "Z|ssbb", &lifetime, &path, &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) { 1496 zend_alter_ini_entry("session.cookie_secure", sizeof("session.cookie_secure"), secure ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); 1517 add_assoc_bool(return_value, "secure", PS(cookie_secure)); 2012 ZEND_ARG_INFO(0, secure)
|
| /PHP_5_4/ext/standard/ |
| H A D | head.c | 76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument 154 if (secure) { 155 strlcat(cookie, "; secure", len + 100); 170 /* php_set_cookie(name, value, expires, path, domain, secure) */ 171 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]]) 177 zend_bool secure = 0, httponly = 0; local 182 &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) { 186 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly TSRMLS_CC) == SUCCESS) { 194 /* {{{ proto bool setrawcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]]) 200 zend_bool secure local [all...] |
Completed in 6 milliseconds