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

/PHP_TRUNK/ext/session/
H A Dsession.c1621 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]])
1628 zend_bool secure = 0, httponly = 0; local
1632 zend_parse_parameters(argc, "z|SSbb", &lifetime, &path, &domain, &secure, &httponly) == FAILURE) {
1655 zend_alter_ini_entry_chars(ini_name, secure ? "1" : "0", 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
1679 add_assoc_bool(return_value, "secure", PS(cookie_secure));
2214 ZEND_ARG_INFO(0, secure)
/PHP_TRUNK/ext/standard/
H A Dhead.c80 PHPAPI int php_setcookie(char *name, size_t name_len, char *value, size_t value_len, time_t expires, char *path, size_t path_len, char *domain, size_t domain_len, int secure, int url_encode, int httponly) argument
163 if (secure) {
179 /* php_set_cookie(name, value, expires, path, domain, secure) */
180 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
186 zend_bool secure = 0, httponly = 0; local
191 &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) {
195 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_len, secure, 1, httponly) == SUCCESS) {
203 /* {{{ proto bool setrawcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
209 zend_bool secure = 0, httponly = 0; local
214 &path_len, &domain, &domain_len, &secure,
[all...]

Completed in 6 milliseconds