Location: PHPKode > projects > The Community Wish List Server > index.php
<?php print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); ?>

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
			<link rel="STYLESHEET" type="text/css" href="wlserver/wishlist.css">
			<title>Community Wish List Server</title>

	<script language="javascript" type="text/javascript">
	// -->


<body bgcolor="#FFFFFF" onLoad =" javascript:document.form.theUser.focus();">

<div align="center">

<form name="form" method="post" action="wlserver/login.php">
<table border="1" cellpadding="1" cellspacing="1">
			<table width="100%" border="0">
					<th colspan="2">Community Wish List Server Login<br></th>
					<td align="right">User Name:</td>
					<td><input name="theUser" type="text" size="15" value="" /></td>
					<td align="right">Password:</td>
					<td><input name="thePassword" type="password" size="15" /></td>
					<td colspan="2" align="center"><input name="done" type="submit" value="Log In"></td>
					<td colspan="2" align="center"><a href="register.php">New User Registration</td>
	if ($_GET['e'] == 1) { // If there is a username error
		?> <tr><td colspan="2" align="center"><b><font color="red">There was a problem with your user name or your password.<br>Please try again.</td></tr> <?php
	} else if ($_GET['e'] == 2) { // If there is a session error
		?> <tr><td colspan="2" align="center"><b><font color="red">Your session has timed out.<br />Please log in again.<br /><?php print "currentUser = ".$_SESSION['currentUser']; ?></td></tr> <?php


Return current item: The Community Wish List Server