how to disable warning message and instead show the other message in php? -


this question has answer here:

<?php $html_url = 'http://api.biblia.com/v1/bible/content/leb.html?passage=john333&style=fullyformatted&key=fd37d8'; $str_html  = file_get_contents($html_url); 

question:

it shows: warning: file_get_contents(http://api.biblia.com/v1...

is there way can hide message, instead show message such "can not show result"?

use @ symbol this:

$html_url = 'http://api.biblia.com/v1/bible/content/leb.html?passage=john333&style=fullyformatted&key=fd37d8'; $str_html  = @file_get_contents($html_url); 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -