HTTP_USER_AGENT function

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Dmitry
Forum Newbie
Posts: 3
Joined: Tue Jan 21, 2003 4:28 am

HTTP_USER_AGENT function

Post by Dmitry »

I need to know when this function get value for example this Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1), there it came from???? I need to fool this function that it woud dislplay different numbers in MSIE 6.0, for example MSIE 7.0
IS IT POSSIBLE???
Thanks!
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

the client (-browser) sends this string. Some allow the modification of it.
What do you want to achieve?
Dmitry
Forum Newbie
Posts: 3
Joined: Tue Jan 21, 2003 4:28 am

Post by Dmitry »

and there this string is situated, and how to modify it?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

http://www.winguides.com/registry/display.php/799/ explains how to change the agent string of internet explorers
Dmitry
Forum Newbie
Posts: 3
Joined: Tue Jan 21, 2003 4:28 am

Post by Dmitry »

Thaks this is working :P
Post Reply