Re: changing the global variables (_SERVER[HTTP_USER_AGENT])

From: Date: Tue, 03 Oct 2006 18:05:24 +0000
Subject: Re: changing the global variables (_SERVER[HTTP_USER_AGENT])
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-242559@lists.php.net to get a copy of this message
Thanks for the reply rick. I actually want to change the user agent header in the request sent by the client. I want to send a request to the server with different user agent header. Is it possible to change? Thanks Balaji On 10/3/06, replies-lists-php@listmail.innovate.net < replies-lists-php@listmail.innovate.net> wrote:
the "HTTP_USER_AGENT" global returns the value presented by the client. i.e., this isn't a server-side value, hence nothing to be changed on the server side. on the client-side, various clients let the user set the value returned by their client (others, of course, don't let the user near that). - Rick ------------ Original Message ------------ Date: Tuesday, October 03, 2006 10:43:44 AM -0700 From: Balaji A <reachchiru@gmail.com> To: php-general@lists.php.net Subject: [PHP] changing the global variables (_SERVER[HTTP_USER_AGENT]) Hi, in php.ini I have changed the register_global to "On". Is it possible to change the global variable _SERVER[HTTP_USER_AGENT]? Thanks in advance.. Thanks Balaji ---------- End Original Message ----------


« previous php.general (#242559) next »