Jump to content

Recommended Posts

Hi there

 

I recently installed wampserver and all my services started fine.

 

The localhost , phpMyAdmin and SQLiteManager all open fine.

 

The problem is that when I open up a project on my localhost (projects are all saved in the www directory) it will open the script an run it. If i click on submit i then get the following error:

 

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>404 Not Found</title>

</head><body>

<h1>Not Found</h1>

<p>The requested URL /checklogin.php was not found on this server.</p>

</body></html>

 

I am just confused , any advise on how I can resolve the problem?

 

Thanking you in advance

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/129431-www-directory/
Share on other sites

hi there

 

i first go into http://localhost/

 

then http://localhost/main_login.php

 

which also loads fine

 

the last step

 

http://localhost/checklogin.php

 

returns message

 

The requested URL /checklogin.php was not found on this server.

 

This is very strange as both scripts are in the www directory.

Link to comment
https://forums.phpfreaks.com/topic/129431-www-directory/#findComment-671207
Share on other sites

there is a link but perhaps i am not doing it correctly , please see script below:

 

<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">

<tr>

<form name="form1" method="post" action="checklogin.php">

<td>

<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">

<tr>

<td colspan="3"><strong>Member Login </strong></td>

</tr>

<tr>

<td width="78">Username</td>

<td width="6">:</td>

<td width="294"><input name="myusername" type="text" id="myusername"></td>

</tr>

<tr>

<td>Password</td>

<td>:</td>

<td><input name="mypassword" type="text" id="mypassword"></td>

</tr>

<tr>

<td> </td>

<td> </td>

<td><input type="submit" name="Submit" value="Login"></td>

</tr>

</table>

</td>

</form>

</tr>

</table>

Link to comment
https://forums.phpfreaks.com/topic/129431-www-directory/#findComment-671618
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.