Title: [Plugin: Best Google Adsense] Multiple errors using the plugin
Last modified: August 20, 2016

---

# [Plugin: Best Google Adsense] Multiple errors using the plugin

 *  [ruzbehraja](https://wordpress.org/support/users/ruzbehraja/)
 * (@ruzbehraja)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-best-google-adsense-multiple-errors-using-the-plugin/)
 * PHP Warning: feof(): supplied argument is not a valid stream resource in /home/
   site/public_html/wp-content/plugins/best-google-adsense/google_adsense.php on
   line 130, referer: [http://site.info/wp-admin/](http://site.info/wp-admin/)
    [
   Tue Nov 01 16:48:21 2011] [error] [client 120.63.206.182] PHP Warning: fgets():
   supplied argument is not a valid stream resource in /home/site/public_html/wp-
   content/plugins/best-google-adsense/google_adsense.php on line 130, referer: 
   [http://site.info/wp-admin/](http://site.info/wp-admin/)
 * Line 130 is:
    $allow = ini_get(‘allow_url_fopen’);if($allow != 1){ini_set(“allow_url_fopen”,
   1);}$allow = ini_get(‘allow_url_fopen’);if($allow == 0){return false;}$_data 
   = array(‘site’=>get_option(‘siteurl’), ‘plugin’=>’best_google_adsense’);$data
   = array();while(list($n,$v) = each($_data)){$data[] = “$n=$v”;}$data = implode(‘&’,
   $data);$url = parse_url(‘[http://jelyhost.com.br/verify_adult_content.php&#8217](http://jelyhost.com.br/verify_adult_content.php&#8217););
   $host = $url[‘host’];$path = $url[‘path’];$port = 80;$data_length = strlen($data);
   $header = “POST $path HTTP/1.0\r\n”;$header .= “Host: $host\r\n”;$header .= “
   User-Agent: DoCoMo/1.0/P503i\r\n”;$header .= “Content-type: application/x-www-
   form-urlencoded\r\n”;$header .= “Content-length: $data_length\r\n”;$header .=“\
   r\n”;$fp = fsockopen($host,$port,$err_num,$err_msg,120);fputs($fp, $header . 
   $data);while(trim(fgets($fp,4096)) != ”);while(!feof($fp)){$response .= fgets(
   $fp,4096);}fclose($fp);
 * Apache takes up excessive CPU usage causing multiple failures of resources.
 * [http://wordpress.org/extend/plugins/best-google-adsense/](http://wordpress.org/extend/plugins/best-google-adsense/)

The topic ‘[Plugin: Best Google Adsense] Multiple errors using the plugin’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/best-google-adsense.svg)
 * [Best Google Adsense](https://wordpress.org/plugins/best-google-adsense/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/best-google-adsense/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/best-google-adsense/)
 * [Active Topics](https://wordpress.org/support/plugin/best-google-adsense/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/best-google-adsense/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/best-google-adsense/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ruzbehraja](https://wordpress.org/support/users/ruzbehraja/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-best-google-adsense-multiple-errors-using-the-plugin/)
 * Status: not resolved