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

/PHP_TRUNK/ext/standard/
H A Dbrowscap.c437 char *agent_name = NULL; local
460 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!b", &agent_name, &agent_name_len, &return_array) == FAILURE) {
464 if (agent_name == NULL) {
471 agent_name = Z_STRVAL_P(http_user_agent);
475 lookup_browser_name = estrndup(agent_name, agent_name_len);
/PHP_TRUNK/ext/soap/
H A Dsoap.c2071 zval *agent_name; local
2081 (agent_name = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT")-1)) != NULL &&
2082 Z_TYPE_P(agent_name) == IS_STRING) {
2083 if (strncmp(Z_STRVAL_P(agent_name), "Shockwave Flash", sizeof("Shockwave Flash")-1) == 0) {

Completed in 11 milliseconds