Searched defs:secure (Results 1 - 2 of 2) sorted by relevance

/PHP_5_4/ext/standard/
H A Dhead.c76 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...]
/PHP_5_4/ext/session/
H A Dsession.c1184 #define COOKIE_SECURE "; secure"
1541 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]])
1548 zend_bool secure = 0, httponly = 0; local
1551 zend_parse_parameters(argc TSRMLS_CC, "Z|ssbb", &lifetime, &path, &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) {
1567 zend_alter_ini_entry("session.cookie_secure", sizeof("session.cookie_secure"), secure ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
1588 add_assoc_bool(return_value, "secure", PS(cookie_secure));
2083 ZEND_ARG_INFO(0, secure)

Completed in 7 milliseconds