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

/PHP_TRUNK/ext/session/
H A Dsession.c1642 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]])
1649 zend_bool secure = 0, httponly = 0; local
1653 zend_parse_parameters(argc TSRMLS_CC, "z|SSbb", &lifetime, &path, &domain, &secure, &httponly) == FAILURE) {
1676 zend_alter_ini_entry_chars(ini_name, secure ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
1700 add_assoc_bool(return_value, "secure", PS(cookie_secure));
2239 ZEND_ARG_INFO(0, secure)
/PHP_TRUNK/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
159 if (secure) {
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 = 0, httponly = 0; local
210 &path_len, &domain, &domain_len, &secure,
[all...]

Completed in 6 milliseconds