Searched refs:expires (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c710 bucket->expires = t + CWDG(realpath_cache_ttl);
731 if (CWDG(realpath_cache_ttl) && (*bucket)->expires < t) {
H A Dzend_virtual_cwd.h220 time_t expires; member in struct:_realpath_cache_bucket
/PHP_TRUNK/ext/standard/
H A Dfilestat.c1219 add_assoc_long(entry, "expires", bucket->expires);
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
120 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", name, dt);
124 if (expires > 0) {
127 strlcat(cookie, "; expires=", len + 100);
128 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, expires, 0 TSRMLS_CC);
141 snprintf(tsdelta, sizeof(tsdelta), "%li", (long) difftime(expires, time(NULL)));
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]]]]]])
181 long expires = 0; local
186 &name_len, &value, &value_len, &expires,
204 long expires = 0; local
[all...]
H A Dhead.h34 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);
H A Dbasic_functions.c1425 ZEND_ARG_INFO(0, expires)
1434 ZEND_ARG_INFO(0, expires)
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c187 time_t expires; member in struct:_user_config_cache_entry
704 new_entry->expires = 0;
712 if (request_time > entry->expires) {
761 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_TRUNK/ext/session/
H A Dsession.c1293 #define COOKIE_EXPIRES "; expires="
2031 zval **expires = NULL; local
2034 if (zend_parse_parameters(argc TSRMLS_CC, "|Z", &expires) == FAILURE) {
2041 convert_to_string_ex(expires);
2042 zend_alter_ini_entry("session.cache_expire", sizeof("session.cache_expire"), Z_STRVAL_PP(expires), Z_STRLEN_PP(expires), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c186 time_t expires; member in struct:_user_config_cache_entry
763 new_entry->expires = 0;
771 if (request_time > entry->expires) {
823 entry->expires = request_time + PG(user_ini_cache_ttl);

Completed in 28 milliseconds