Searched defs:expires (Results 1 - 5 of 5) sorted by relevance

/PHP_5_5/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
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...]
/PHP_5_5/TSRM/
H A Dtsrm_virtual_cwd.h218 time_t expires; member in struct:_realpath_cache_bucket
/PHP_5_5/sapi/cgi/
H A Dcgi_main.c186 time_t expires; member in struct:_user_config_cache_entry
760 new_entry->expires = 0;
768 if (request_time > entry->expires) {
820 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_5_5/ext/session/
H A Dsession.c1272 #define COOKIE_EXPIRES "; expires="
1994 zval **expires = NULL; local
1997 if (zend_parse_parameters(argc TSRMLS_CC, "|Z", &expires) == FAILURE) {
2004 convert_to_string_ex(expires);
2005 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_5_5/sapi/fpm/fpm/
H A Dfpm_main.c186 time_t expires; member in struct:_user_config_cache_entry
700 new_entry->expires = 0;
708 if (request_time > entry->expires) {
757 entry->expires = request_time + PG(user_ini_cache_ttl);

Completed in 16 milliseconds