ID: 24730 Updated by: [EMAIL PROTECTED] 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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php