473,395 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Login problem

every time enter my login id and password in my index page it shows me the error 404

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404
127.0.0.1
03/26/08 10:51:31
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5

it works on windows vista but not on xp...i've checked the path its correct but still its not working...

followed is the code of the index page..

<?
include ("include_config.inc");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Your tasks - List user</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<? include ("include_css.inc"); ?>
<script src="main.js" type="text/javascript"></script>
<script src="tasks.js" type="text/javascript"></script>

</head>
<body>

<?
include ("include_config.inc");
include ("include_profile_name.inc");
include ("include_project_name.inc");
include ("include_log_file.inc");
include ("include_delete_task.inc");
include ("include_state_name.inc");
include ("include_user_name.inc");
include ("include_display_comment.inc");
include ("include_button.inc");
?>

<?
write_log_user ($filename_log, "Beginning of login.");

/* database connection */
$link= mysql_connect($g_hostname, $g_db_username, $g_db_password) or die("could not connect");
$result = mysql_select_db($g_database_name);

?>


<?php # Login Form BEGIN ?>
<p>
<br>
<br>
<div align="center">
<form method="post" action="<? echo $g_path."C:/xampp/workproject/login_control.php"; ?>">

<table>
<tr>
<?
$view_gif = $g_icon_path."logo.png";
echo "<TD><img src='$view_gif' border='0'></TD> \n";
?>

<td>
<table cellspacing="1">

<tr><td class="title" colspan="2" align="center"> Management of :<br>Prospects, their related needed skills, documents and ressources <br>Projects, their related tasks and assigned users</td>
</tr>
<tr><td align="center"> &nbsp; <br> &nbsp; </td>
</tr>
<tr>
<td class="input"> &nbsp;&nbsp;<?php echo USERNAME ?>: </td>
<td><input type="text" name="f_username" size="32" maxlength="32"></td>
</tr>
<tr>
<td class="input"> &nbsp;&nbsp;<?php echo PASSWORD ?>:</td>
<td><input type="password" name="f_password" size="16" maxlength="32"></td>
</tr>
<tr>
<td colspan="2" align="center">
<? button("Login","Login to the application","submit();"); ?>
<input type="submit" value="Submit">
</td>
</tr>
<tr>
<!-- <td align='center'>login= 'admin_gene' password='admin'</td> -->
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
<? if ( $login_result == "KO") { ?>
<div align="center">
<table><tr><td>Yours parameters are wrong.</td></tr></table>
</div>
<? } ?>


<?
include ("include_bottom.inc");
?>

</body>
</html>
Mar 26 '08 #1
3 1121
Please read the forum guidelines on how to post questions (code tags)

Regards.

hey i readthe guidelines....sry if i've not followed them... but can get a solution to my problem its rly urgent..
Mar 27 '08 #3
Markus
6,050 Expert 4TB
It's saying you've mistyped the URL
Check the location of the file and make sure it fits.
Also, make sure you are typing in the correct extention of the file.

Regards.
Mar 27 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Sniffer-Dog | last post by:
Hi I just wondered if anyone can spot anything wrong with the following? I have now added the session_start(); as the first command in the code to all the pages needing it. When I click on a...
5
by: Simon | last post by:
Hi, I have a Login.php page that logs the user in and out. I has two forms within the page, (depending on what we are trying to do), either one to log in or out. The form calls itself using a...
1
by: John Davis | last post by:
I put a little login (username and password textfields) in a web page, and once the user able to login, I want the username and password textfields will disappear, and replace with text " has...
0
by: Mike | last post by:
I can not figure out what is going on here. I hope somebody can please help!!! I've got an intranet ASP3 application running on a Win2k server. This application requires a login, so the user...
1
by: Wayne Smith | last post by:
Applies to: Microsoft FrontPage 2000, Microsoft Access 2000, IIS 5.0 Operating System: Microsoft Windows 2000 Professional I am trying to protect a portion of a web site by allowing users to...
2
by: Tom Loach | last post by:
Our system administrator set up an NT server group in order to allow our users to login to our application via https to our sql server. The group appears as a User in SQL Server when you look at...
2
by: Rujuta Gandhi | last post by:
Hi All, I am facing a very crucial problem. Im developing a web application using .net studio 2005(beta). I want my Login.aspx page to be secured(https) for encrypted login information...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
4
by: RN1 | last post by:
I am working on WinXP Pro SP3, .NET 2.0 & SQL Server 2005 (Windows Authentication). When I run a ASPX page that connects to SQL Server, the following error gets generated: Login failed for user...
10
by: DavidPr | last post by:
When I logout as one user and log in under a different user, it opens with the last user's information. User 1 - Unsername: Davey Jones User 2 - Unsername: David Smith I log out from Davey...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.