Wrox Programmer Forums
BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5
This is the forum to discuss the Wrox book Beginning PHP4 by Wankyu Choi, Allan Kent, Chris Lea, Ganesh Prasad, Chris Ullman; ISBN: 9780764543647
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 29th, 2004, 06:14 AM
Registered User
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default can u suggest me?

Hi every body,
my coneection page is conn.php.but this page is not move into see.php after taking user and pass field and then clicking submit button.It is still stand in that page refreshing those field.what is my problem?can u suggest me?
<TITLE> New Document </TITLE>


<h2><center>Welcome to this site!!!</center></h2>
<form method="post" action ="" ><center>
<b>User :</b>
<input type="text" size="40" name="user">
<b>Password :</b>
<input type="password" size="30" name="pass"></center>
<input type="submit" name="submit" value="sign!"></center>

$user= $_POST['user'];
$submit= $_POST['submit'];
if ($submit=="sign!")
     $query = "select * from user_tablename where user='$user' and pass='$pass'";
      if( !$result) {
          if( !headers_sent()){
              header('Location :http://localhost/try/see.php');


Old November 18th, 2004, 06:18 PM
Registered User
Join Date: Nov 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

<form method="post" action ="">

in this action has to be <?=$PHP_SELF?>

that the issue you are not telling the form where to go.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 7- Suggest Stijn BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 July 21st, 2008 03:58 AM
Auto Suggest is not working vinayhk BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 May 28th, 2008 03:18 AM
Suggest me Jagadeesh.brk J2EE 2 May 23rd, 2007 10:49 PM
Can Any One Suggest ME(ASP Database)? everest Classic ASP Databases 5 March 20th, 2004 05:24 AM
look for some suggest to develope MIS with C# zhangjian C# 1 March 16th, 2004 12:45 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.