Home
last modified time | relevance | path

Searched refs:agent (Results 1 – 7 of 7) sorted by relevance

/PHP-5.3/ext/curl/tests/
H A Dcurl_basic_005.phpt2 Test curl_opt() function with user agent
22 echo '*** Testing curl with user agent ***' . "\n";
39 *** Testing curl with user agent ***
/PHP-5.3/ext/standard/
H A Dbrowscap.c474 zval **agent, **z_agent_name, **http_user_agent; in PHP_FUNCTION() local
513 …if (zend_hash_find(bdata->htab, lookup_browser_name, agent_name_len + 1, (void **) &agent) == FAIL… in PHP_FUNCTION()
518 agent = &found_browser_entry; in PHP_FUNCTION()
519 …nd(bdata->htab, DEFAULT_SECTION_NAME, sizeof(DEFAULT_SECTION_NAME), (void **) &agent) == FAILURE) { in PHP_FUNCTION()
527 …zend_hash_copy(Z_ARRVAL_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_copy… in PHP_FUNCTION()
531 …zend_hash_copy(Z_OBJPROP_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_cop… in PHP_FUNCTION()
534 …while (zend_hash_find(Z_ARRVAL_PP(agent), "parent", sizeof("parent"), (void **) &z_agent_name) == … in PHP_FUNCTION()
535 …ata->htab, Z_STRVAL_PP(z_agent_name), Z_STRLEN_PP(z_agent_name) + 1, (void **)&agent) == FAILURE) { in PHP_FUNCTION()
540 …zend_hash_merge(Z_ARRVAL_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_cop… in PHP_FUNCTION()
543 …zend_hash_merge(Z_OBJPROP_P(return_value), Z_ARRVAL_PP(agent), (copy_ctor_func_t) browscap_zval_co… in PHP_FUNCTION()
/PHP-5.3/ext/standard/tests/general_functions/
H A D001.phpt6 $agent = sprintf("%.5s", "James Bond, 007");
9 if ($agent == "James") {
/PHP-5.3/ext/standard/tests/misc/
H A Dget_browser_error.phpt117 Warning: get_browser(): HTTP_USER_AGENT variable is not set, cannot determine user agent name in %s…
H A Dbrowscap.ini4628 [ezic.com http agent *]
4748 [libcurl-agent/*]
/PHP-5.3/
H A Dphp.ini-development914 ; http://php.net/user-agent
H A Dphp.ini-production914 ; http://php.net/user-agent

Completed in 178 milliseconds