Skip to content

Commit 2fd432d

Browse files
authored
Update README.md
1 parent d642097 commit 2fd432d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ PHP User Agent Class, used for the following
1212
```php
1313
$UA = new UserAgent;
1414

15-
echo $UA->IP(); // returns IP
16-
15+
echo $UA->IP(); // returns IP if detected
16+
echo $UA->Browser(); // returns browser name ie Chrome if detected
17+
echo $UA->OS(); // returns Operating System of Device if detected
1718
if($UA->isMobile()){
1819
// if is mobile
1920
}else{

0 commit comments

Comments
 (0)