Jump to content

[SOLVED] "The connection to the server was reset while the page was loading"


shergold

Recommended Posts


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.

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. :)

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 :P,

 

thanks,

shergold.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.