±M·~«Ç¤º¸ËæC³]­p¡B«ν·s
¿Ä¦X¬ü·P»P¹ê¥Î¡A¥þ­±Àç³y·ÅÄɦn¦v¡I
ªùµ¡¤uµ{¥þ¬Ùºû­×¦U¤j«~µP§N®ð¡A¤£§N¡B¤£¶}¾÷¡B²§Án¦ÛÃö¾÷
§N®ð¾÷ºû­×¡B¦w¸Ë¡B«O¾i¡AÅwªï¨Ó¹q¬¢½Í¬Ò¥i¬¢¸ß

­º­¶  ¡E  tw ½×¾Â ¡E µ{¦¡³]­p°Q½×     ¡E 

[±Ð¾Ç]°ÊºA¤T¼h¤U©Ô¦¡¿ï³æ

©ÐªF¡G¤p°¨
µoªí®É¶¡¡G2010-01-31
[ÀËÁ|]













New Document



















  • ÃÙ§Uºô¯¸       

    ¼s§Q¤£°Ê²£-·sªO¯S°Ï«ü¦W«×³Ì°ª¡B­È±o±z«H¿àªº¦n©Ð¥ò
    ±zªº¦«¥I,¼s§Q¥Î¤ß¬°±zªA°È
    ¼s§Q¤£°Ê²£-ªO¾ô¦b¦a¥Í®Ú³Ì¹ê¦b--·sªO¯S°Ï«ü¦W«×³Ì°ª¡B­È±o±z«H¿àªº¦n©Ð¥ò
    §¹¾ã©Ð°T¡A©Ð«Î¡B©±­±¼öªùºë¿ïª«¥ó¡A¼s§Q¤£°Ê²£ Àu½è¥ò¤¶¡A©Ð«Î¯²¸î¡B¶R½æ¸ê°T³z©ú¡A¥æ©ö¯u¦w¤ß¡I

  • 1 ¼Ó¦í¤á¡G¤p¤p
    µoªí®É¶¡¡G2010-01-31
    [ÀËÁ|]









    ºq¦±»y¨¥ºq¬P¦W¦rºq¦±²M³æ






    ¸ô®|¡G




    2 ¼Ó¦í¤á¡G¤pÄR
    µoªí®É¶¡¡G2010-02-26
    [ÀËÁ|]

    $hostname_dymenu_conn = "localhost";
    $database_dymenu_conn = "cttlee";
    $username_dymenu_conn = "cttlee";
    $password_dymenu_conn = "cttlee";
    $dymenu_conn = mysql_pconnect($hostname_dymenu_conn, $username_dymenu_conn, $password_dymenu_conn) or trigger_error(mysql_error(),E_USER_ERROR);
    mysql_query("SET NAMES utf8");
    ?>
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
    {
    if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
    }

    $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

    switch ($theType) {
    case "text":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
    break;
    case "long":
    case "int":
    $theValue = ($theValue != "") ? intval($theValue) : "NULL";
    break;
    case "double":
    $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
    break;
    case "date":
    $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
    break;
    case "defined":
    $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
    break;
    }
    return $theValue;
    }
    }

    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
    $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']) . '&cttlee=male';
    }
    else {
    $editFormAction .= "?cttlee=male";
    }

    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1") && isset($_GET['cttlee'])) {
    $insertSQL = sprintf("INSERT INTO records (Name, Zip) VALUES (%s, %s)",
    GetSQLValueString($_POST['name'], "text"),
    GetSQLValueString($_POST['zip'], "text"));

    //mysql_select_db($database_dymenu_conn, $dymenu_conn);
    //$Result1 = mysql_query($insertSQL, $dymenu_conn) or die(mysql_error());

    $insertGoTo = "dymenu.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
    }
    header(sprintf("Location: %s", $insertGoTo));
    }

    mysql_select_db($database_dymenu_conn, $dymenu_conn);
    $query_rs_county = "SELECT * FROM county ORDER BY cID ASC";
    $rs_county = mysql_query($query_rs_county, $dymenu_conn) or die(mysql_error());
    $row_rs_county = mysql_fetch_assoc($rs_county);
    $totalRows_rs_county = mysql_num_rows($rs_county);

    $colname_rs_town = "-1";
    if (isset($_POST['county'])) {
    $colname_rs_town = $_POST['county'];
    }
    mysql_select_db($database_dymenu_conn, $dymenu_conn);
    $query_rs_town = sprintf("SELECT * FROM town WHERE tCounty = %s", GetSQLValueString($colname_rs_town, "text"));
    $rs_town = mysql_query($query_rs_town, $dymenu_conn) or die(mysql_error());
    $row_rs_town = mysql_fetch_assoc($rs_town);
    $totalRows_rs_town = mysql_num_rows($rs_town);

    $colname_rs_zip = "-1";
    if (isset($_POST['town'])) {
    $colname_rs_zip = $_POST['town'];
    }
    mysql_select_db($database_dymenu_conn, $dymenu_conn);
    $query_rs_zip = sprintf("SELECT * FROM zip WHERE zTown = %s", GetSQLValueString($colname_rs_zip, "text"));
    $rs_zip = mysql_query($query_rs_zip, $dymenu_conn) or die(mysql_error());
    $row_rs_zip = mysql_fetch_assoc($rs_zip);
    $totalRows_rs_zip = mysql_num_rows($rs_zip);
    ?>




    ?��?題�?�?/title><br /> <script type="text/javascript"><br /> <!--<br /> function MM_findObj(n, d) { //v4.01<br /> var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {<br /> d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}<br /> if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];<br /> for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);<br /> if(!x && d.getElementById) x=d.getElementById(n); return x;<br /> }<br /> function flevSubmitForm() { // v1.1<br /> // Copyright 2002, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)<br /> var sF = arguments[0], oF = MM_findObj(sF), sA = (arguments.length > 1) ? arguments[1] : ""; <br /> if (oF) {if (sA != "") {oF.action = sA;} oF.submit(); document.MM_returnValue = false;}<br /> }<br /> //--><br /> </script><br /> </head><br /> <br /> <body><br /> <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>"><br /> <table width="350" border="1" align="center" cellpadding="1" cellspacing="1"><br /> <tr><br /> <td width="80">姓�?</td><br /> <td width="207"><input name="name" type="text" id="name" value="<?php echo $_POST['name']; ?>" /></td><br /> </tr><br /> <tr><br /> <td>?��??�??/td><br /> <td><select name="county" id="county" onchange="flevSubmitForm('form1','dymenu.php');return document.MM_returnValue"><br /> <?php<br /> do { <br /> ?><br /> <option value="<?php echo $row_rs_county['cID']?>"<?php if (!(strcmp($row_rs_county['cID'], $_POST['county']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rs_county['cName']?></option><br /> <?php<br /> } while ($row_rs_county = mysql_fetch_assoc($rs_county));<br /> $rows = mysql_num_rows($rs_county);<br /> if($rows > 0) {<br /> mysql_data_seek($rs_county, 0);<br /> $row_rs_county = mysql_fetch_assoc($rs_county);<br /> }<br /> ?><br /> </select><br /> <select name="town" id="town" onchange="flevSubmitForm('form1','dymenu.php');return document.MM_returnValue"><br /> <?php<br /> do { <br /> ?><br /> <option value="<?php echo $row_rs_town['tID']?>"<?php if (!(strcmp($row_rs_town['tID'], $_POST['town']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rs_town['tName']?></option><br /> <?php<br /> } while ($row_rs_town = mysql_fetch_assoc($rs_town));<br /> $rows = mysql_num_rows($rs_town);<br /> if($rows > 0) {<br /> mysql_data_seek($rs_town, 0);<br /> $row_rs_town = mysql_fetch_assoc($rs_town);<br /> }<br /> ?><br /> </select><br /> <select name="zip" id="zip"><br /> <?php<br /> do { <br /> ?><br /> <option value="<?php echo $row_rs_zip['zCode']?>"<?php if (!(strcmp($row_rs_zip['zCode'], $_POST['zip']))) {echo "selected=\"selected\"";} ?>><?php echo $row_rs_zip['zName']?></option><br /> <?php<br /> } while ($row_rs_zip = mysql_fetch_assoc($rs_zip));<br /> $rows = mysql_num_rows($rs_zip);<br /> if($rows > 0) {<br /> mysql_data_seek($rs_zip, 0);<br /> $row_rs_zip = mysql_fetch_assoc($rs_zip);<br /> }<br /> ?><br /> </select></td><br /> </tr><br /> <tr><br /> <td colspan="2" align="right"><input type="submit" name="button" id="button" value="?�出" /></td><br /> </tr><br /> </table><br /> <input type="hidden" name="MM_insert" value="form1" /><br /> </form><br /> </body><br /> </html><br /> <?php<br /> mysql_free_result($rs_county);<br /> <br /> mysql_free_result($rs_town);<br /> <br /> mysql_free_result($rs_zip);<br /> ?><br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> county�o�Ӹ�ƪ���:cID,cName<br /> <br /> town��ƪ���:tID,tCounty,tName<br /> <br /> zip�o��ƪ���:zID,zTown,zName,zCode <br /> <br></div><tr><td align="right"> </td></tr> </td></tr></table></center><br> <br><hr size=1>�@�@ 2 �H�^���@�@��ܭ��� <a href=j2h-380-0.html>�i��1 ���j </a> <p> <center><form method=post action=reply_post.php?id=380 onSubmit="return(check())" name="form1"> <script language="javascript"> form1.j2h.value=""; form1.j2h5.value=""; function check() { var str_pattern=/^.{2,34}$/; if(form1.j2h.value.length < 2) { alert("�п�J�m�W !!"); return(false); } if(form1.j2h.value.match(/[12~#$<%^�{���㡱���X+��~�á��áD�ڣ���@=���,.0O���u�\����'"\��\&*\/\\@!]/)){alert("���T��g�m�W,�ФŨϥΥ���Ÿ��μŭl�r\n�p�G�~��i�K�N�|�Q�C���¦W��"); return false} var die = ["�շ�","�գ�","����","��è","���w","����","���Q","���v��","�ե�","�_�C","�x��","�ݹC��","�L��","�x��","����","�L����","�o��","�o��","���T","���T","�a�_","���","���بӽͧP","���إX�ӻ�","���","�L�T�p����","�ݨ��z","�׸}","�a��","���p","�Y��","���Դ��[","�a�I","�q�R","�}��","�F�A","�F�p","�F�L","�F��","�F�F�F","���T","�F�L�F","�����W","������","���H��","ԣ�p","���F","����","����z","���ݦ�","�d�b�@�_","���@��","������","������","�a�A��","�M�F����","�A�L��","���Ǫ�","��K��","��H","����","���n","�F�[","�զY","�׷F","�h��","����","����","�H��","����","���K","�a�M","�Ҵ�","�a�G","���x","���F","�F��","�Y�j�K","������","����j","���w","���","��G","�H��","�Q��","�U��","�C���","�n�Q","���x","�z��","�C��","����","���@��","��s","�Y�j�K","ԣ��","��_","�}�l�F�o","���K","�L���x","����","�Q�F�L","�O���y","�ꦺ�F","�Q���շR�R","�F���p","�Q���R","�⬶","�e��","�U��","�F�p","�դ�","���b","��L","�e��","�Q�R�R","�Ч�","�Q�m","���R","���|","�a�O","���n","�u�|","����","��","�p","�L","�A","�N","�а�","�o","��","��","��","�Q��","��","��","�U","�h","�F","�p��","�S","�@�_","�W��","�k�_","j2h","JXH","�M������","�i�w","����","�m�R","�@��","����","����","�W��","�C��","���j","<"]; for(var i=0;i < die.length;i++) if(form1.j2h.value.toLowerCase().replace(/ /gi, "").indexOf(die[i])!=-1) { alert("�W�٤��t���æ������άO�Q�T��ϥΪ��W�٩μŭl�r,\n����� '"+ die[i] +"' ��r,���T��g�W��,\n�p�G�~��i�K�N�|�Q�C���¦W��"); return(false);} if(form1.j2h5.value.length < 5) { location="index.php"; return(false); } if(form1.j2h5.value.match(/[�t�u�v�w�x�y�z�{�|�}�~����������������������������������������������������]/)){alert("�d���ФŨϥΥ���`����άO���P��\n�p�G�~��i�K�N�|�Q�C���¦W��"); return false} var jstop2 = ["�D�q�W","����q","���֥s����","�q�W"]; for(var i=0;i < jstop2.length;i++) if(form1.j2h5.value.toLowerCase().replace(/ /gi, "").indexOf(jstop2[i])!=-1) { alert("J2H�����ɥ��x,�Y�T�i�K�D�ɨD�q�W�D�D\n�p�G�~��i�K�N�|�Q�C���¦W��"); location="http://www.j2h.tw/"; return(false); } var jstop = [".exe","yahoo.com","kimo.com","wretch.cc","tinyurl.com","@","<script"]; for(var i=0;i < jstop.length;i++) if(form1.j2h5.value.toLowerCase().replace(/ /gi, "").indexOf(jstop[i])!=-1) { alert("�d�����e���t���Q�T��i�K�����},\n����� '"+ jstop[i] +"' ���},\n�p�G�O�n�i�K�v����'�s�����}�覡',\n�Х��ܷs��Q�װϨ���Dzߩδ���,���������о�\n�p�G�~��i�K�N�|�Q�C���¦W��"); return(false); } var spam = ["�շ�","��è","����","�e��","�U��","�T�K","������","�գ�","�F�p","�դ�","���b","�_��","��è","���w","����","����","���Q","���v��","�ե�","�_�C","�x��","�ݹC��","�L��","�x��","����","�L����","�o��","�o��","���T","���T","�a�_","���","���بӽͧP","���إX�ӻ�","���","�L�T�p����","�ݨ��z","�׸}","�a��","���p","�Y��","���Դ��[","�a�I","�q�R","�}��","�F�A","�F�p","�F�L","�F��","�F�F�F","���T","�F�L�F","�����W","������","���H��","ԣ�p","���F","����","����z","���ݦ�","�d�b�@�_","���@��","������","������","�a�A��","�M�F����","�A�L��","���Ǫ�","��K��","��H","����","���n","�F�[","�զY","�׷F","�h��","����","����","�H��","����","���K","�a�M","�Ҵ�","�a�G","���x","���F","�F��","�Y�j�K","������","����j","���w","���","��G","�H��","�Q��","�U��","�C���","�n�Q","���x","�z��","�C��","����","���@��","��s","�Y�j�K","ԣ��","��_","�}�l�F�o","���K","�L���x","����","�Q�F�L","�O���y","�ꦺ�F","�Q���շR�R","�F���p","�a��","��F","�⬶","��L","����","���n�y","�չ�","��H","��B","�a�y","����","�ۤH","�K�d�U","�T��","���T","�W�A","<iframe"]; for(var i=0;i < spam.length;i++) if(form1.j2h5.value.toLowerCase().replace(/ /gi, "").indexOf(spam[i])!=-1) { alert("�d�����e���t�����������r�άO�Q�T���r,\n������� '"+ spam[i] +"' ����r,\n��§���w��ФŦ�����d�|����B�D�]�B�H���������r��,\n�H�K�Q�C���¦W��"); return(false); } var dirty = ["�ȷ���","�H����","�ǵ���","............","____/�~/ ","999999","1��","location.replace","�p�A","�L��","�L��","�L�w","����","�L�ڳ̱j","���A","���A","�w�A"]; for(var i=0;i < dirty.length;i++) if(form1.j2h5.value.replace(/ /gi, "").indexOf(dirty[i])!=-1) { location="index.php"; return(false); } var dirty = ["lovergirlever.com","live173.com?","money.tw","[/url]","tww633","�T���ɿ�","�����ɿ�","���E","�A��ڧ�L","u-mao","love5955.com","wscs191010","pp2.idv.tw","ppt.cc","is.gd","weebly.com","���{","dd93751","EM.crew.tw ","yodidi.com","wagn886","yhoosec","sallyas1990","xolove525","xolove521","yudidi.com","vions.net","qiqi7789","�j�M��","xolove","�{�����O","llxllx111","����b","����d","bule88088","love_520ve","baydu520","phoebe15840","ck077","goo.gl","�b�a��¾","now.to","�����M��¾","�q���ާ@�����Ŷ�","�E�Q�ѧK�O�ե�","HBEE","mikehang63","ftp.cc","xiaodie91","staiwan.com","abc173.com","blogspot.com","fashion3c.url.tw","ligsystem.com","twmis.net","neopets.com","so-ya4","�L�X","�����","av808.com","hjchung.tw","slime.com.tw","vovo2000.com","Hung-Ya.com","lookm.com","hisyy.com","msi-team.com","homework123.com","twcam.com","qoo.av-city","arx.myweb.hinet.net","sogood.why.to","a href","dvd888.com","neopets.com","kan120.com","x-adam.com","hung-ya.com","gigicry.com","msi.168.lv","dy8.com","2sextv.com","���A�M�u","�{�����O","kelly_shop","��o���f","zxcvb001cm","moneymine.net","���H�K��","��¾����","���M�A��","�������R","weilon.no-ip.com","[/url]","[url=","top20free.com","breaki77ing","c329646","xyz22.com","snow258.com","love5955.com","5280344","qwe3300923","nini9595","besttuboonline.com","srvo.idv","eyny.com","besttuboonline.com","his_funky_style","dancerhiphop","coolgo.com","libb.co","xin-yuan.tw","27756599","567pan.com","boy4628241","fashion3c","0938009789","besttuboonline.com","yuonuom.com","weebly.com","tw9m.com","�f�����R","yunupload.net","jolin578","0909873168","live173.com","���k���T",".com","http"]; for(var i=0;i < dirty.length;i++) if(form1.j2h5.value.replace(/ /gi, "").indexOf(dirty[i])!=-1) { location="http://www.j2h.tw/bbs/bombersuper.php"; return(false); } if(form1.j2h4.value!='' && form1.j2h10.value=='') { alert("�аȥ���ܥ��T�s���ɮסI"); return(false); } var dirty = ["http://www.wretch.cc/album/","http://www.wretch.cc/blog/",".exe","yahoo.com","C:","care-you","j2h.tw",".html",".htm","@","www.soo-easy.com/shaonv.mp3"]; for(var i=0;i < dirty.length;i++) if(form1.j2h4.value.indexOf(dirty[i])!=-1) { alert("�s�����}�覡���~,\n�s��Q�װϦ������оǽЦܨ���Dzߩδ���,\n�H�K�Q���D�C���¦W��"); location="http://www.j2h.tw/bbs/bbs14/j2h.php?id=3378"; return(false); } return(true); } </script> <table width="90%" height=65 border="1" cellpadding=1 cellspacing=0 bordercolorlight=#346783 bordercolordark=#FFFFFF bgcolor="#F0F9FF"> <tr align="center"> <input type="hidden" name="username" value=""> <td width="14%" ALIGN="left" VALIGN="TOP" NOWRAP>�m�W�G</td> <td align="left" colspan=3><input NAME="j2h" MAXLENGTH="16" SIZE="60" value=''> </td> </tr> <tr align="center"> <td ALIGN="left" VALIGN="TOP" NOWRAP>�G�i���e�G</td> <td align="left" colspan=3> <textarea name="j2h5" ROWS="15" COLS="80" ></textarea> </td> </tr> <tr align="center"> <td ALIGN="RIGHT" VALIGN="TOP" NOWRAP colspan="4"> <p align="center"><br> <input type=submit value='�T�w�o��' onClick="this.disable=true;"> </td></tr></table></form> </center></body></html>