Yes..That is right!!! :-) -----Original Message----- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:53 AM To: Balaji Ankem Cc: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] www.captainjack.com On Thu, 11 Jul 2002 08:07:48 +0530 "Balaji Ankem" <[EMAIL PROTECTED]> wrote: > It is working fine for me!!! > > > -----Original Message----- > From: George Hester [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 8:03 AM > To: [EMAIL PROTECTED] > 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. ***************************************************************************
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php