RE: [PHP] HTTP_USER_AGENT?
| From: | Balaji Ankem | Date: | Thu, 11 Jul 2002 03:28:38 +0000 |
| Subject: | RE: [PHP] HTTP_USER_AGENT? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107003@lists.php.net to get a copy of this message | ||
Yes..That is right!!! :-)
-----Original Message-----
From: Tyler Longren [mailto:tyler@captainjack.com]
Sent: Thursday, July 11, 2002 8:53 AM
To: Balaji Ankem
Cc: php-general@lists.php.net
Subject: Re: [PHP] HTTP_USER_AGENT?
It works for you because you have register_globals set to "on" in
php.ini. If you set it to "off" it won't work any longer.
--
Tyler Longren
Captain Jack Communications
tyler@captainjack.com
www.captainjack.com
On Thu, 11 Jul 2002 08:07:48 +0530
"Balaji Ankem" <balaji.ankem@wipro.com> wrote:
> It is working fine for me!!!
>
>
> -----Original Message-----
> From: George Hester [mailto:hesterloli@hotmail.com]
> Sent: Thursday, July 11, 2002 8:03 AM
> To: php-general@lists.php.net
> Subject: [PHP] HTTP_USER_AGENT?
>
>
> I have this in my web site not in an executable folder:
>
> <HTML>
> <HEAD>
> <TITLE>My First PHP Program</TITLE>
> </HEAD>
> <BODY>
> <?php echo "Hello World!"; ?>
> </BODY>
> </HTML>
>
> No problem. I then put this in the same folder:
>
> <HTML>
> <HEAD>
> <TITLE>My Second PHP Program</TITLE>
> </HEAD>
> <BODY>
> <?php echo $HTTP_USER_AGENT; ?>
> </BODY>
> </HTML>
>
> Nothing appears. What's wrong?
>
>
> --
> George Hester
> _________________________________
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************