porta325 Posted November 15, 2007 Share Posted November 15, 2007 Hey guys, i'm sure this is a simple matter for an experienced programmer, Warning: file_get_contents(http://www.turizmforumu.net/l-index.ht ) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\wamp\www\www\linksadd.php on line 47 Link doesn't exist I have this error but i don't want to display it, all i want to display is "Link doesn't exist" The function is file_get_contents. Any ideea how to do that ? Link to comment https://forums.phpfreaks.com/topic/77504-error/ Share on other sites More sharing options...
Barand Posted November 15, 2007 Share Posted November 15, 2007 try <?php $c = @file_get_contents('xxxxx.xxx') or die ("Link doesn't exist"); ?> Link to comment https://forums.phpfreaks.com/topic/77504-error/#findComment-392337 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.