simon83 Posted July 9, 2008 Share Posted July 9, 2008 Hi, Can you please tell me why i am getting this error on new server ? how i can solve this problem? Do i need to update php version? I am having following error , Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/simon/public_html/member.php on line 276 Note: This code is working fine on another server without any problem/error. Please help me. i will be thankful to you. Best Regards, Simon Link to comment https://forums.phpfreaks.com/topic/113867-php-error-preg-match/ Share on other sites More sharing options...
thebadbad Posted July 9, 2008 Share Posted July 9, 2008 Show us your code; seems like you're using two different pattern delimiters, or simply forgot to use any. Link to comment https://forums.phpfreaks.com/topic/113867-php-error-preg-match/#findComment-585139 Share on other sites More sharing options...
iFX Posted July 9, 2008 Share Posted July 9, 2008 could you paste source around that line ? probably we'll solve it Link to comment https://forums.phpfreaks.com/topic/113867-php-error-preg-match/#findComment-585140 Share on other sites More sharing options...
bluejay002 Posted July 9, 2008 Share Posted July 9, 2008 post your code... we do not know which is line 276 and the trouble it has. Link to comment https://forums.phpfreaks.com/topic/113867-php-error-preg-match/#findComment-585157 Share on other sites More sharing options...
Rohan Shenoy Posted July 12, 2008 Share Posted July 12, 2008 The pattern which you are looking for contains a forward slash. You should escape such literal forward slashes with backslash. Link to comment https://forums.phpfreaks.com/topic/113867-php-error-preg-match/#findComment-588439 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.