debug Posted March 14, 2009 Share Posted March 14, 2009 Hi- Any ideas why i'm getting the message '404 - controller.php not found' from this bit of code? Thanks. $url = "http://www,reality-debug.co.uk/index.html"; if (!($fp = fopen($url, "r"))) { die("cannot open ".$url); } $contents = ''; while ($line = fread($fp, 50000)) { $contents .= $line; } fclose($fp); echo $contents; Quote Link to comment Share on other sites More sharing options...
MatthewJ Posted March 14, 2009 Share Posted March 14, 2009 No Quote Link to comment Share on other sites More sharing options...
Mchl Posted March 14, 2009 Share Posted March 14, 2009 Probably that's what the target site is showing to your script. Quote Link to comment Share on other sites More sharing options...
Ayon Posted March 14, 2009 Share Posted March 14, 2009 how about changing the comma to a dot? http://www,reality-debug.co.uk/index.html Quote Link to comment Share on other sites More sharing options...
Mchl Posted March 14, 2009 Share Posted March 14, 2009 I guess he did it, so that the forum script doesn't recognize it as link Quote Link to comment Share on other sites More sharing options...
Ayon Posted March 14, 2009 Share Posted March 14, 2009 yeah might be 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.