Web Progreming/PHP_Function (2) 썸네일형 리스트형 [ PHP ] 브라우저 정보 가져오기 - Stackoverflow function get_useragent_info($ua) { $ua = is_null($ua) ? $_SERVER['HTTP_USER_AGENT'] : $ua; // Enumerate all common platforms, this is usually placed in braces (order is important! First come first serve..) $platforms = "Windows|iPad|iPhone|Macintosh|Android|BlackBerry"; // All browsers except MSIE/Trident and.. // NOT for browsers that use this syntax: Version/0.xx Browsername $browsers = .. [ PHP ] str_repeat("-=", 10); ; str_repeat - 문자열을 반복 ; string str_repeat ( string $input , int $multiplier ) ; $input을 $multiplier의 수 만큼 반복하여 반환한다. ex) 이전 1 다음