new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php namespace ZN\Authentication;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
class Agent
|
||||
{
|
||||
/**
|
||||
* IP v4
|
||||
*
|
||||
* @param void
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get() : string
|
||||
{
|
||||
return $_SERVER['HTTP_USER_AGENT'] ?? '';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user