Searched defs:secure (Results 1 - 2 of 2) sorted by relevance
| /PHP_5_5/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 159 if (secure) { 160 strlcat(cookie, "; secure", len + 100); 175 /* php_set_cookie(name, value, expires, path, domain, secure) */ 176 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]]) 182 zend_bool secure = 0, httponly = 0; local 187 &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) { 191 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly TSRMLS_CC) == SUCCESS) { 199 /* {{{ proto bool setrawcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]]) 205 zend_bool secure local [all...] |
| /PHP_5_5/ext/session/ |
| H A D | session.c | 1160 #define COOKIE_SECURE "; secure" 1474 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]]) 1481 zend_bool secure = 0, httponly = 0; local 1484 zend_parse_parameters(argc TSRMLS_CC, "Z|ssbb", &lifetime, &path, &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) { 1500 zend_alter_ini_entry("session.cookie_secure", sizeof("session.cookie_secure"), secure ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); 1521 add_assoc_bool(return_value, "secure", PS(cookie_secure)); 2016 ZEND_ARG_INFO(0, secure)
|
Completed in 6 milliseconds