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

2006-10-04 Thread Richard Lynch
Register Globals will take all the keys/values in $_SERVER/$_POST/$_GET/$_COOKIES and turn each one into a variable in your script. It is equivalent to: extract($_POST); extract($_GET); extract($_COOKIE); . . . The "GPC" settings in php.ini determine the order of the above statements, in case *bo

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

2006-10-03 Thread Richard Lynch
On Tue, October 3, 2006 12:43 pm, Balaji A wrote: > 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.. E. You're not making sense... You want my browser to LIE to your server about wh

RE: [PHP] changing the global variables (_SERVER[HTTP_USER_AGENT])

2006-10-03 Thread Brad Fuller
03, 2006 2:05 PM To: [EMAIL PROTECTED]; php-general@lists.php.net Subject: Re: [PHP] changing the global variables (_SERVER[HTTP_USER_AGENT]) 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

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

2006-10-03 Thread Balaji A
user near that). - Rick Original Message > Date: Tuesday, October 03, 2006 10:43:44 AM -0700 > From: Balaji A <[EMAIL PROTECTED]> > To: php-general@lists.php.net > Subject: [PHP] changing the global variables (_SERVER[HTTP_USER_AGENT]) > > Hi,

[PHP] changing the global variables (_SERVER[HTTP_USER_AGENT])

2006-10-03 Thread Balaji A
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