Searched refs:agent_name (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dbrowscap.c432 char *agent_name = NULL; local
455 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!b", &agent_name, &agent_name_len, &return_array) == FAILURE) {
459 if (agent_name == NULL) {
466 agent_name = Z_STRVAL_P(http_user_agent);
470 lookup_browser_name = estrndup(agent_name, agent_name_len);
/PHP_TRUNK/ext/soap/
H A Dsoap.c2073 zval *agent_name; local
2083 (agent_name = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT")-1)) != NULL &&
2084 Z_TYPE_P(agent_name) == IS_STRING) {
2085 if (strncmp(Z_STRVAL_P(agent_name), "Shockwave Flash", sizeof("Shockwave Flash")-1) == 0) {

Completed in 21 milliseconds