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

/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
120 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", name, dt->val);
124 if (expires > 0) {
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), ZEND_LONG_FMT, (zend_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 zend_long expires = 0; local
186 &name_len, &value, &value_len, &expires, &path,
191 if (php_setcookie(name, name_len, value, value_len, expires, pat
204 zend_long expires = 0; local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c187 time_t expires; member in struct:_user_config_cache_entry
694 entry->expires = 0;
701 if (request_time > entry->expires) {
750 entry->expires = request_time + PG(user_ini_cache_ttl);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.h218 time_t expires; member in struct:_realpath_cache_bucket
/PHP_TRUNK/ext/session/
H A Dsession.c2015 zval *expires = NULL; local
2018 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &expires) == FAILURE) {
2024 if (expires) {
2025 convert_to_string_ex(expires);
2027 zend_alter_ini_entry(ini_name, Z_STR_P(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
764 new_entry->expires = 0;
771 if (request_time > entry->expires) {
823 entry->expires = request_time + PG(user_ini_cache_ttl);

Completed in 15 milliseconds