- Регистрация
- 12.10.2013
- Сообщения
- 89
- Благодарностей
- 8
- Баллы
- 8
PHP:
string ua=project.Variables["ua"].Value;
if(ua.IndexOf("MSIE")>-1)//ie
{
project.Variables["cpuclass"].Value="x86";
}
else
{
project.Variables["cpuclass"].Value=null;
}
instance.SetHeader("http_user_agent_cpuclass", project.Variables["cpuclass"].Value);
the value of "cpuclass" is empty
how to realize that ?
find the result from open
http://www.w3school.com.cn/tiy/t.asp?f=hdom_navigator