get_browser() attempts to determine the capabilities of the user's browser. This is done by looking up the browser's information in the browscap.ini file. <br><br>echo $_SERVER['HTTP_USER_AGENT'] . "<hr /> ";<br><br>$browser = get_browser();<br><br>foreach ($browser as $name => $value) {<br> echo "<b>$name</b> $value <br /> ";<br>}<br><br>
If you have the better answer, then send it to us. We will display your answer after the approval.
How i will check that user is, logged in or not. i want to make it a function and i want to use in each page and after login i want to go in current page(same page. where i was working)