Location: PHPKode > scripts > phpWords > phpWordsHebrew/rightframe.php
<?php
//setcookie( "cookie_user", $userid );
//setcookie( "cookie_passwd", $passwd );
//echo "HTTP_COOKIE_VARS[cookie_user]=";
//echo $HTTP_COOKIE_VARS["cookie_user"];
//echo "&nbsp HTTP_COOKIE_VARS[cookie_passwd]=";
//echo $HTTP_COOKIE_VARS["cookie_passwd"];

//echo "<br>userid= $userid, passwd= $passwd<br>";
//echo "cookie_user= $cookie_user, cookie_passwd= $cookie_passwd<br>";

if ( ($HTTP_COOKIE_VARS["cookie_user"] != 'words') || ($HTTP_COOKIE_VARS["cookie_passwd"] != '888') ) {
?>
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<title>Word Database Authentication</title>
</head>

<body bgcolor="#FFFFFF">

<p>

<center>
<form method="POST" action="contact.php">
<table border="0"  width="70%">
    <tr bgcolor="#c8d8f8">
        <td>
            <br>
            <center><font size="+1">
            <b>Authenticate</b>
            </font></center>
        </td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td width="100%" valign="top">
            <center><font size="-1">
            Username:
            <br>
            <input type="text" name="userid" size="15">
            <br>
            </font></center>
        </td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td width="100%" valign="top">
            <center><font size="-1">
            Password:
            <br>
            <input type="password" name="passwd" size="15">
            </font></center>
        </td>
    </tr>
    <tr bgcolor="#FFFFFF">
        <td>
            <center>
            <!--<input type="hidden" name="setcookie" value="1"> -->
            <input type="submit" name="Login1" value=" Login ">
            </center>
        </td>
    </tr>
</table>
</form>
</center>

</body>
</html>

<?
} // end if
?>
Return current item: phpWords