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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.