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 ? Quote Link to comment 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"); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.