<?php
echo "Your User Agent is :" . $_SERVER ['HTTP_USER_AGENT'];
?>
- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR
Warning: Undefined array key "HTTP_USER_AGENT" in /in/EV5K7 on line 2
Your User Agent is :- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR
Notice: Undefined index: HTTP_USER_AGENT in /in/EV5K7 on line 2
Your User Agent is :- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR
Output for 7.3.32 - 7.3.33
Your User Agent is :- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR
Notice: Undefined index: HTTP_USER_AGENT in /in/EV5K7 on line 2
Your User Agent is :- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR