Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]Code: Select all
<?php
$queryString= $_GET["CategoryID"];
$requestingPage="http://www.ProfessionalLinkBuilding.com/Directory.aspx?CategoryID=".$queryString;
$file = fopen ($requestingPage, "r");
while (!feof ($file)) echo fgets ($file, 1024);
fclose($file);
?>This is the error
Code: Select all
Warning: fopen(http://www.professionallinkbuilding.com/directory.aspx?CategoryID=) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/mayfair/public_html/TopList.php on line 4
Warning: feof(): supplied argument is not a valid stream resource in /home/mayfair/public_html/TopList.php on line 5
Warning: fgets(): supplied argument is not a valid stream resource in /home/mayfair/public_html/TopList.php on line 5Thank you!
scottayy | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]