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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx <
replies-lists-php@xxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx>
> To: php-general@xxxxxxxxxxxxx
> Subject:  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 ----------



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux