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; Link to comment https://forums.phpfreaks.com/topic/149359-controllerphp-not-found/ Share on other sites More sharing options...
MatthewJ Posted March 14, 2009 Share Posted March 14, 2009 No Link to comment https://forums.phpfreaks.com/topic/149359-controllerphp-not-found/#findComment-784428 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. Link to comment https://forums.phpfreaks.com/topic/149359-controllerphp-not-found/#findComment-784440 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 Link to comment https://forums.phpfreaks.com/topic/149359-controllerphp-not-found/#findComment-784443 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 Link to comment https://forums.phpfreaks.com/topic/149359-controllerphp-not-found/#findComment-784454 Share on other sites More sharing options...
Ayon Posted March 14, 2009 Share Posted March 14, 2009 yeah might be Link to comment https://forums.phpfreaks.com/topic/149359-controllerphp-not-found/#findComment-784455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.