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
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
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
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,
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
5 matches
Mail list logo