shergold Posted July 7, 2009 Share Posted July 7, 2009 Hey, i was just wondering if anyone could help me. i created a page with the following code: <?php $page = $_GET ; if ($page == "index") include("index.php"); elseif ($page == "contact") include ("contact.php"); elseif ($page == "login") include ("login.php"); elseif ($page == "upload") include ("upload.php"); else include ("index.php"); ?> <html> <head> <title>Index</html> <body> <h1>Index</h1> <align = "left"> <a href"/index.php?page=index>Home</a> <a href"/index.php?page=login>Login</a> <a href"/index.php?page=upload>Upload</a> <a href"/index.php?page=contact>Contact</a> </align> </body> </html> now i cant open the file and get the following message: "The connection to the server was reset while the page was loading". all my other pages work fine. im using xampp. Thanks, shergold. Quote Link to comment Share on other sites More sharing options...
shergold Posted July 7, 2009 Author Share Posted July 7, 2009 ignore the html errors, im half asleep Quote Link to comment Share on other sites More sharing options...
pmicro Posted July 8, 2009 Share Posted July 8, 2009 I was having this same issue earlier today - try turning off your computer, router, and modem (if you're using a cable or dsl modem/router) for a few minutes, then turning back on your modem, then your router, then your computer - there may be a bad path that was cached in one of them. It took care of my problem, hopefully it will work for yours. Quote Link to comment Share on other sites More sharing options...
shergold Posted July 8, 2009 Author Share Posted July 8, 2009 Restarting your router and modem wont make any difference by the way as its localhost, and even if its on an external server restarting my internet would make no difference because it doesnt have any effect on the server output. although the restart worked , thanks, shergold. Quote Link to comment Share on other sites More sharing options...
pmicro Posted July 8, 2009 Share Posted July 8, 2009 Awesome, glad that worked! 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.