toppi24 Posted February 20, 2015 Share Posted February 20, 2015 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? Link to comment https://forums.phpfreaks.com/topic/294738-warning-preg_match-delimiter-must-not-be-alphanumeric-or-backslash/ Share on other sites More sharing options...
requinix Posted February 20, 2015 Share Posted February 20, 2015 preg_match() is for regular expressions. You are not using regular expressions. stripos is all you need. Link to comment https://forums.phpfreaks.com/topic/294738-warning-preg_match-delimiter-must-not-be-alphanumeric-or-backslash/#findComment-1506214 Share on other sites More sharing options...
toppi24 Posted February 20, 2015 Author Share Posted February 20, 2015 i have solved it :-) Link to comment https://forums.phpfreaks.com/topic/294738-warning-preg_match-delimiter-must-not-be-alphanumeric-or-backslash/#findComment-1506215 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.