DjiXas Posted October 2, 2007 Share Posted October 2, 2007 Hello Everyone, I am having some problems with the following code $content=@file_get_contents($DOMAIN); preg_match_all('index.php?article=(.*)', $content, $extract, PREG_SET_ORDER); And I get error in preg match all line: Delimiter must not be alphanumeric or backslash What's wrong with this code? Link to comment https://forums.phpfreaks.com/topic/71502-delimiter-must-not-be-alphanumeric-or-backslash/ Share on other sites More sharing options...
effigy Posted October 2, 2007 Share Posted October 2, 2007 PREG patterns require delimiters. See this topic. Link to comment https://forums.phpfreaks.com/topic/71502-delimiter-must-not-be-alphanumeric-or-backslash/#findComment-360047 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.