toppi24 Posted February 20, 2015 Share Posted February 20, 2015 (edited) else if (preg_match('BSD',$ua) || preg_match('FreeBSD',$ua) || preg_match('NetBSD',$ua)) { $browser['platform'] = "BSD"; Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /Homepages/33/d183561635/htdocs/xtc.../includes/pt_counter.stats.php on line 76 Can anybody help for the correct code? Edited February 20, 2015 by toppi24 Quote Link to comment Share on other sites More sharing options...
Solution requinix Posted February 20, 2015 Solution Share Posted February 20, 2015 preg_match() is for regular expressions. You are not using regular expressions. stripos is all you need. Quote Link to comment Share on other sites More sharing options...
toppi24 Posted February 20, 2015 Author Share Posted February 20, 2015 i have solved it :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.