엘러창??? 으로 변경좀 부탁드립니다. 정보
PHP 엘러창??? 으로 변경좀 부탁드립니다.본문
고수님들 아래 소스에서패스워드를 확인해 주세요.
이것을 엘러창으로 바꾸었으면 합니다.
도와 주세요.
감사합니다.
<HTML>
<HEAD>
<TITLE>로그인</TITLE>
</HEAD>
<BODY>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table width="485" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="172"><img src="login/login_l.gif" width="172" height="113"></td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="login/login_t.gif" width="309" height="4"></td>
</tr>
<tr>
<td height="105" style="padding-top:18px;">
<?
if($_POST[userId] && $_POST[userPw])
{
@extract($_POST);
$SID = "daeha";
$SPW = "daeha2010";
if(!strcmp(trim($userId),$SID) && !strcmp(trim($userPw),$SPW))
{
echo "<meta http-equiv='refresh' content='0; url=http://garmentfilms.com/public_html/index.php'>";
}
else echo "패스워드를 확인해 주세요";
}
else
{
echo "
<form method='post' action='$_SERVER[PHP_SELF]'>
<input type='hidden' name='userId' value='daeha'><br>
<img src = 'login/login_text02.gif' width='76' height='10'> <input type='password' name='userPw' style='height:18px; width:145px; border:1px solid #8296AB;'> <input type='submit' value='Login'>
";
}
?>
<!-- <input type="Reset"> -->
</p>
</td>
</tr>
<tr>
<td><img src="login/login_b.gif" width="309" height="4"></td>
</tr>
</table></td>
<td width="4"><img src="login/login_r.gif" width="4" height="113"></td>
</tr>
</table>
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td height="15"><font size="2">If you need PASSWORD, please contact us through 82 2 2675 or *** 개인정보보호를 위한 이메일주소 노출방지 ***</font></td>
</tr>
</table></td>
</tr>
</table>
</BODY>
</HTML>
이것을 엘러창으로 바꾸었으면 합니다.
도와 주세요.
감사합니다.
<HTML>
<HEAD>
<TITLE>로그인</TITLE>
</HEAD>
<BODY>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table width="485" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="172"><img src="login/login_l.gif" width="172" height="113"></td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="login/login_t.gif" width="309" height="4"></td>
</tr>
<tr>
<td height="105" style="padding-top:18px;">
<?
if($_POST[userId] && $_POST[userPw])
{
@extract($_POST);
$SID = "daeha";
$SPW = "daeha2010";
if(!strcmp(trim($userId),$SID) && !strcmp(trim($userPw),$SPW))
{
echo "<meta http-equiv='refresh' content='0; url=http://garmentfilms.com/public_html/index.php'>";
}
else echo "패스워드를 확인해 주세요";
}
else
{
echo "
<form method='post' action='$_SERVER[PHP_SELF]'>
<input type='hidden' name='userId' value='daeha'><br>
<img src = 'login/login_text02.gif' width='76' height='10'> <input type='password' name='userPw' style='height:18px; width:145px; border:1px solid #8296AB;'> <input type='submit' value='Login'>
";
}
?>
<!-- <input type="Reset"> -->
</p>
</td>
</tr>
<tr>
<td><img src="login/login_b.gif" width="309" height="4"></td>
</tr>
</table></td>
<td width="4"><img src="login/login_r.gif" width="4" height="113"></td>
</tr>
</table>
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td height="15"><font size="2">If you need PASSWORD, please contact us through 82 2 2675 or *** 개인정보보호를 위한 이메일주소 노출방지 ***</font></td>
</tr>
</table></td>
</tr>
</table>
</BODY>
</HTML>
[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]
추천
0
0
댓글 2개
echo "패스워드를 확인해 주세요";
->
echo "<script>alert('패스워드를 확인해 주세요');</script>";
->
echo "<script>alert('패스워드를 확인해 주세요');</script>";
감사합니다. 다른 방법으로처리 하였습니다.