f

zip.skin.php 파일에서 질문 드립니다.

· 2012-02-12 (일) 16:54:47 · 1138 · 4
아래는 zip.skin.php에서 form 인데요..
아래 form 문에는 따로 action이 있지도 않고
아래 form 문이 어떻게 submit 되는지가 궁금 합니다.

답변 부탁 드립니다.

-----------------zip.skin.php------------------------

<table width="600" border="0" cellspacing="0" cellpadding="0">
<form name="fzip" method="get" autocomplete="off">
<input type=hidden name=frm_name value='<?=$frm_name?>'>
<input type=hidden name=frm_zip1 value='<?=$frm_zip1?>'>
<input type=hidden name=frm_zip2 value='<?=$frm_zip2?>'>
<input type=hidden name=frm_addr1 value='<?=$frm_addr1?>'>
<input type=hidden name=frm_addr2 value='<?=$frm_addr2?>'>
<tr>
<td colspan="2">
<table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle" bgcolor="#EBEBEB">
<table width="98%" height="40" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5%" align="center" bgcolor="#FFFFFF" ><img src="<?=$g4[bbs_img_path]?>/icon_01.gif" width="5" height="5"></td>
<td width="35%" align="left" bgcolor="#FFFFFF" ><font color="#666666"><b><?=$g4[title]?></b></font></td>
<td width="60%" bgcolor="#FFFFFF" ></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="70" colspan="2" valign="bottom"><img src="<?=$g4[bbs_img_path]?>/zip_img_01.gif" width="273" height="40"></td>
</tr>
<tr>
<td height="20" colspan="2"></td>
</tr>
<tr>
<td width=130><img src="<?=$g4[bbs_img_path]?>/zip_img_02.gif" width="125" height="14"></td>
<td><input type=text name=addr1 value='<?=$addr1?>' required minlength=2 itemname='동(읍/면/리)' size=35> <input type=image src='<?=$g4[bbs_img_path]?>/btn_post_search.gif' border=0 align=absmiddle></td>
</tr>
<tr>
<td height="20" colspan="2"></td>
</tr>
</table>
<!-- 검색결과 여기서부터 -->

<script language='javascript'>
document.fzip.addr1.focus();
</script>
|

댓글 4개

2012-02-12 (일) 20:27:52
wrest.js 이파일을 보시면 전체적인 흐름이 파악 되실껍니다.


action 이 없으면 PHP_SELF 와 동일한 액션이 읽어납니다.~~
action이 없으면 action='zip.php'와 같습니다. 자기 자신이 됩니다
submit 버튼은 addr1 다음에 나오는 <input type=image....>
엔터쳐도 submit 되겠죠
자기 자신은 zip.skin.php 아닌가요?
2012-02-13 (월) 01:36:36
zip.skin.php
은 zip.php 에서 include 가 되는것이므로
zip.php가 되는것입니다..
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12-02-12 조회 1,063
12-02-12 조회 1,727
12-02-12 조회 1,083
12-02-12 조회 1,139
12-02-12 조회 1,670
12-02-12 조회 1,669
12-02-12 조회 1,643
12-02-12 조회 1,198
12-02-12 조회 1,620
12-02-12 조회 1,484
12-02-12 조회 1,639
12-02-12 조회 1,502
12-02-12 조회 1,116
12-02-12 조회 2,352
12-02-12 조회 1,717
12-02-12 조회 1,713
12-02-12 조회 1,960
12-02-12 조회 1,063
12-02-11 조회 1,134
12-02-11 조회 829