#24730 [Opn->Bgs]: Error in "http://at2.php.net/manual/es/tutorial.useful.php"
| From: | alindeman@php.net | Date: | Sun, 20 Jul 2003 21:25:50 +0000 |
| Subject: | #24730 [Opn->Bgs]: Error in "http://at2.php.net/manual/es/tutorial.useful.php" | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969355401@lists.php.net to get a copy of this message | ||
ID: 24730
Updated by: alindeman@php.net
Reported By: matosale at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: WindowsXP
PHP Version: Irrelevant
New Comment:
You are probably not using a version of PHP that has superglobals ( <
4.1.0). Upgrade!
Previous Comments:
------------------------------------------------------------------------
[2003-07-20 16:15:24] matosale at yahoo dot com
Description:
------------
In the spanish version says:
<?php echo $_SERVER["HTTP_USER_AGENT"]; ?
and it doesn't work. A friend of mine says that it should be like
this:
<?php echo $HTTP_USER_AGENT ?>
when i put it like this it did work :o)
Reproduce code:
---------------
<?php echo $_SERVER["HTTP_USER_AGENT"]; ?
Expected result:
----------------
Opera/7.11 (Windows NT 5.1; U) [es-ES]
Actual result:
--------------
NOTHING
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24730&edit=1