From:             matosale at yahoo dot com
Operating system: WindowsXP
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Error in "http://at2.php.net/manual/es/tutorial.useful.php";

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 bug report at http://bugs.php.net/?id=24730&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24730&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24730&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24730&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24730&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24730&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24730&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24730&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24730&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24730&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24730&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24730&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24730&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24730&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24730&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24730&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to