Title: error using url
Last modified: July 15, 2018

---

# error using url

 *  [rcukier](https://wordpress.org/support/users/rcukier/)
 * (@rcukier)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/error-using-url/)
 * I always used the code below in a snippet, and now I am getting a weird error
   
   $URL = “[http://www.catolicoorante.com.br/liturgia_diaria.php&#8221](http://www.catolicoorante.com.br/liturgia_diaria.php&#8221);;
   readfile($URL);
 * the error is:
    Warning: readfile(): http:// wrapper is disabled in the server
   configuration by allow_url_fopen=0 in shortcodes.php(66) : eval()’d code on line
   1
 * I already attempt adding allow_url_fopen=1 to php.ini and php5.ini, but still
   same error. Any help?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-using-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [webcraftic](https://wordpress.org/support/users/webcraftic/)
 * (@webcraftic)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-using-url/#post-10501751)
 * Hi,
    If the error repeats after changing php.ini, then you need either to reboot
   your server, or to edit another configuration file.
 * Did you ask this question to the hosting administrator or your server?
 * Best regards, Alex

Viewing 1 replies (of 1 total)

The topic ‘error using url’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3475630)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [webcraftic](https://wordpress.org/support/users/webcraftic/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/error-using-url/#post-10501751)
 * Status: not resolved