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

/PHP_TRUNK/ext/standard/
H A Dhead.c80 PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly) argument
169 if (secure) {
185 /* php_set_cookie(name, value, expires, path, domain, secure) */
186 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
192 zend_bool secure = 0, httponly = 0; local
195 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) {
199 if (php_setcookie(name, value, expires, path, domain, secure, 1, httponly) == SUCCESS) {
207 /* {{{ proto bool setrawcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
213 zend_bool secure = 0, httponly = 0; local
216 &name, &value, &expires, &path, &domain, &secure,
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c1682 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]])
1689 zend_bool secure = 0, httponly = 0; local
1693 zend_parse_parameters(argc, "z|SSbb", &lifetime, &path, &domain, &secure, &httponly) == FAILURE) {
1716 zend_alter_ini_entry_chars(ini_name, secure ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
1740 add_assoc_bool(return_value, "secure", PS(cookie_secure));
2410 ZEND_ARG_INFO(0, secure)

Completed in 6 milliseconds