So I made a thread a while back on how to parse a certain link.
This this the coding I am using. There are 2 sets of code.
________________________________________________
<?php
echo file_get_contents('http://www.superbook.com/seo.txt');
?>
_______________________________________________
<?php
echo file_get_contents('http://www.sportsbook.com/seo.txt');
?></ul>
_______________________________________________
That is the exact code i'm using. You can go here: http://www.cavsreport.com/blog/ and scroll down on the left column, and under FRIENDS is where I have it pasted. You can see the first link WORKS. While the 2nd link comes back with an error that says:
Warning: file_get_contents(http://www.sportsbook.com/seo.txt) [function.file-get-contents]: failed to open stream: HTTP request failed! in /homepages/36/d132896813/htdocs/CavsReport/blog/wp-content/themes/reflections/sidebar.php on line 92
My question is..why is this error there? Why does the first coding work, yet the 2nd one fails and gives an error? It does this on every page I put it on. Is it a problem with the actual ad page, even though they are basically the same?
This this the coding I am using. There are 2 sets of code.
________________________________________________
<?php
echo file_get_contents('http://www.superbook.com/seo.txt');
?>
_______________________________________________
<?php
echo file_get_contents('http://www.sportsbook.com/seo.txt');
?></ul>
_______________________________________________
That is the exact code i'm using. You can go here: http://www.cavsreport.com/blog/ and scroll down on the left column, and under FRIENDS is where I have it pasted. You can see the first link WORKS. While the 2nd link comes back with an error that says:
Warning: file_get_contents(http://www.sportsbook.com/seo.txt) [function.file-get-contents]: failed to open stream: HTTP request failed! in /homepages/36/d132896813/htdocs/CavsReport/blog/wp-content/themes/reflections/sidebar.php on line 92
My question is..why is this error there? Why does the first coding work, yet the 2nd one fails and gives an error? It does this on every page I put it on. Is it a problem with the actual ad page, even though they are basically the same?








