Folks, Look at this code: PHP Code: <?php  //RESULT: Code Working! //1). Set Banned Words. $banned_words = array(“blow”, “nut”, “bull****”); // 2). $curl is going to be data type curl resource. $curl = curl_init(); // 3). Set cURL options. curl_setopt($curl, CURLOPT_URL, ‘https://www.buzzfeed.com/mjs538/the-68-words-you-cant-say-on-tv?utm_term=.xlN0R1Go89#.pbd18dYm3X’); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); // 4). Run cURL (execute http request). $result = curl_exec($curl); if (curl_errno($curl)) {     echo ‘Error:’ . curl_error($curl); } $response = curl_getinfo( $curl ); if($response[’http_code’] == ‘200’ ) {        $regex = ‘/\b’;     $regex .= implode(‘\b|\b’, $banned_words);     $regex .= ‘\b/i’;     $substitute = ‘****’;     $cleanresult = preg_replace($regex, $substitute, $result);     echo $cleanresult; } curl_close($curl); ?> Guess what it does ? …

Stop cURL Loading Banned Worded Page Read more »