MySQL Forums
Forum List  »  PHP

Re: No echo
Posted by: zhshqzyc
Date: May 07, 2006 03:30PM

Plase help me to check my login file:

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

Username: <input type="text" name="user">
Password: <input type="password" name="pass">
<input type="submit" name="enter" value="Login">

</form>
<a href="http://localhost/index.php">;
Back to Home</a>


The errors are listed:

[Sun May 07 17:25:59 2006] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant user - assumed 'user' in C:\\Apache Group\\Apache2\\htdocs\\verifypassword.php on line 3, referer: http://localhost/login.php
[Sun May 07 17:25:59 2006] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant pass - assumed 'pass' in C:\\Apache Group\\Apache2\\htdocs\\verifypassword.php on line 4, referer: http://localhost/login.php
[Sun May 07 17:25:59 2006] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant zhao - assumed 'zhao' in C:\\Apache Group\\Apache2\\htdocs\\verifypassword.php on line 7, referer: http://localhost/login.php
[Sun May 07 17:25:59 2006] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant zhao - assumed 'zhao' in C:\\Apache Group\\Apache2\\htdocs\\verifypassword.php on line 7, referer: http://localhost/login.php
[Sun May 07 17:25:59 2006] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mysql_connect() in C:\\Apache Group\\Apache2\\htdocs\\verifypassword.php on line 16, referer: http://localhost/login.php

Options: ReplyQuote


Subject
Written By
Posted
April 30, 2006 04:28PM
April 30, 2006 05:48PM
May 03, 2006 11:31AM
May 03, 2006 12:16PM
Re: No echo
May 07, 2006 03:30PM
May 07, 2006 10:17PM
May 02, 2006 05:34PM
May 02, 2006 08:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.