小问题
我想在一个网页中加入php代码,让它成为一个验证类型的
怎么办?
具体源代码如下<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>宽带计费平台-----客户自服务系统</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<SCRIPT language=JavaScript>
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
//-->
</SCRIPT>
<LINK href="login.files/main.css" rel=stylesheet type=text/css>
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY><!--top -->
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 height=87 width=760>
<TBODY>
<TR>
<TD height=1><IMG border=0 height=15 src="login.files/topbar2.gif"
width=760>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=760>
<TBODY>
<TR>
<TD height=1 width=760>
<P align=center>
<IMG border=0
height=60 src="login.files/index_05.gif" width=187 align="left"><IMG
border=0 height=60 src="login.files/banner.jpg"
width=559 align="right"></P></TD></TR></TBODY></TABLE>
<TD height=74>
<TR>
<TD height=21>
<HR color=#33ccff noShade>
</TD></TR></TBODY></TABLE><!-- 左边-->
<TABLE align=center border=0 cellPadding=0 cellSpacing=2 height=318 width=760>
<TBODY>
<TR>
<TD bgColor=#cee7ff vAlign=top width=173>
<TABLE height=228 width=168 valign="top" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
<P>
<P></P>
<TBODY>
<TR>
<TD height="7"><IMG border=0 height=3 src="login.files/line1.gif"
width=180></TD></TR>
<TR align=middle>
<TD height="46">
<a href="newstu.php">
<IMG border=0 src="login.files/khxxcx.gif" width="185" height="21"></a></TD></TR>
<TR>
<TD height=7><IMG border=0 height=3 src="login.files/line1.gif"
width=180></TD></TR>
<TR align=middle>
<TD height="46"><IMG border=0 src="login.files/transfer.gif" width=185></TD></TR>
<TR>
<TD height="7"><IMG border=0 height=3 src="login.files/line1.gif"
width=180></TD></TR>
<TR align=middle>
<TD height="45"><IMG border=0 src="login.files/khpwd.gif" width=185></TD></TR>
<TR>
<TD height="12"><IMG border=0 height=3 src="login.files/line1.gif"
width=180></TD></TR>
<TR align=middle>
<TD height="45"><IMG border=0 height=21 src="login.files/zxxx.gif"
width=185></TD></TR>
<TR align=middle>
<TD height="25"><IMG border=0 height=3 src="login.files/line1.gif"
width=180></TD></TR>
</P></TABLE></TD><!-- 内容-->
<TD bgColor=#bbddff height=318 vAlign=top width=581>
<DIV align=center><BR><BR>
<FORM action="<?echo $PHP_SELF?>" method=post >
<TABLE align=center border=0 cellPadding=5 cellSpacing=1
class=tablebodycolor width=312>
<TBODY>
<TR>
<TD class=tdheadcolor width=312>@客户登陆</TD></TR>
<TR>
<TD class=tdbodycolor width=312>
<DIV align=center>用户名:
<INPUT class=input maxLength=20
name=username size="20"> *</DIV></TD></TR>
<TR>
<TD class=tdbodycolor width=312>
<DIV align=center>密 码:
<INPUT class=input maxLength=32 name=password
type=password size="20"> *</DIV></TD></TR></TBODY></TABLE>
<DIV align=center><INPUT class=button name=Submit type=submit value=登录>
</DIV></FORM></DIV></TD></TR></TBODY></TABLE>
请问,PHP代码应该放在那个地方?