No ending delimiter '/' found error
I have adjusted a small script to check backlinks. Yet I keep on getting the error Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in line 17. <?php function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); $data = curl_exec($ch); curl_close($ch); return $data; } function google_backlink($uri) { $url = 'http://www.google.com/search?q=link:facebook.com&hl=en&filter=0'; $v = file_get_contents_curl($url); preg_match('/<div id="resultStats">About \(.*?)