[公告] 禁言 tingmeow 3日

作者: KKALI (I am KK)   2015-11-08 23:03:28
違規人員: tingmeow
違反項目: 板規11-A
文章代碼: #1MFZi2ez, #1MFphy_3
裁決結果: 禁言3日
作者: tingmeow (雪爐喵)   2014-11-08 04:34:00
public function connect() { mysql_connect($this->host,$this->username,$this->password)or die("Couldnot connect. " . mysql_error());mysql_select_db($this->table) or die("Could notselect database. " . mysql_error());return $this->buildDB();}We call mysql_connect() to hook into our database, aand then mysql_select_db() to make sure we save ourListen to “The Circle Of Life.” Seriously, it’s like a musical version of caffeine.Once that naaaaaaaaaaaa sevenyaaa hits, you'rerefreshed, you’re alive. This song makes a greatalarm if you want to wake up feeling amazing everymorning – just be prepared to have the “pink pajampajamas, penguins on the bottom” part stuck in yourhead all day.Stop answering the calls you don’t want to answer,replying to texts you don’t want to reply to,and saying yes to the invites you don’t want toattend. It may be hard to say “no thanks”or ignore a person, but if you feel the urge to,there’s usually a reason for that…And even if you’re just being an antisocialhomebody, that’s your prerogative!Many people are going to China to find work.Work opportunities abound there.Ms.Chen keeps abreast of the latest fashions inclothing for her clothing store. WowJohn wants his company to send him abroad, so hecan live in another country.Charles has been absorbed in his work lately,so he hasn't had much free time.Canada is abundant in many natural resources,such as uranium.public function write($p) { if ( $p['title'] )$title = mysql_real_escape_string($p['title']);if ( $p['bodytext'])$bodytext =mysql_real_escape_string($p['bodytext']);if ( $title && $bodytext ) { $created = time();$sql = "INSERT INTO testDB VALUES('$title','$bodytext','$created')";return mysql_query($sql); } else {return false;}}Let's start with the function call itself — we'repassing a variable to this one, which we haven'tdone so far. Our variable $p is going to hold theinformation sent from our form via the post method.Once inside the function, we start with aconditional statement that's checking to see if thetitle value was set in the form before it was submitted, and if so, we're setting our $title variable tothe $_POST['title'] value (NOTE: we're using thefunction mysql_real_escape_string() as a precautionagainst potentially dangerous input, which isimportant to keep in mind when you're buildinganything that will allow users to input information)If $_POST['title'] wasn't set, we skip this line,leaving the $title variable unset.However hectic your day is, having a routine andplanning ahead could help you achieve more.The innovation of air travel during this centuryhas made the world seem smaller .Now that we have the means to put information intoour database, we need to create a way to get thatinformation back out. This is where display_public()comes in. This is by far the most complex of ourmethods, so let's really take our time and figureout what's going on inside.He has decided to back out of the scheme .He backed out of the deal when he saw the risks .
作者: BrownPAN (布朗。潘。褐色平底鍋。)   2015-11-08 23:05:00
這啥鬼啊XD
作者: jonsauwi (JBY)   2015-11-08 23:05:00
...板主你該不會還一句一句看吧...
作者: orangesnow (orangesnow)   2015-11-08 23:05:00
他到底在幹嘛阿= =
作者: bsb0331 (我是香肥宅)   2015-11-08 23:05:00
這在寫程式逆
作者: hahaharabbit (511犭王米分!!)   2015-11-08 23:05:00
庭喵~~><
作者: SnowAmy (小雪)   2015-11-08 23:06:00
版主專業
作者: bsb0331 (我是香肥宅)   2015-11-08 23:06:00
Hello, World!
作者: almondchoco (杏仁可可)   2015-11-08 23:07:00
她在幹嘛啊XDDDD
作者: Birthday5566 (生日5566)   2015-11-08 23:07:00
WTF 當板主還要會看程式喔? 這是在歧視文組嗎?
作者: bsb0331 (我是香肥宅)   2015-11-08 23:08:00
嘿咪嘿咪 你80文組歐 討M
作者: TS1989 (1989)   2015-11-08 23:08:00
天啊這啥@@
作者: euphoria01 (我是小明我瞎了)   2015-11-08 23:08:00
搞毛啊......版主資工的嗎 我看不懂
作者: claymath (輪迴的印記 藏在我眉宇)   2015-11-08 23:08:00
KK好像會寫程式的樣子 0.0
作者: karta570539 (軒)   2015-11-08 23:09:00
乾脆永桶
作者: bsb0331 (我是香肥宅)   2015-11-08 23:10:00
下次我要打一篇隨機微積分的推導過程 QQ
作者: littlemiss (禮特小姐)   2015-11-08 23:10:00
所以不是鍵盤壞掉還是魔形吶上身?
作者: hoij79627 (誠徵回收業者)   2015-11-08 23:10:00
你好厲害
作者: summerrainri (你用輪迴換我枕邊月圓)   2015-11-08 23:10:00
我覺得她那樣好可怕……
作者: hahaharabbit (511犭王米分!!)   2015-11-08 23:11:00
哪裡可怕?XD
作者: LeftCorner (僕は臭肥宅です。)   2015-11-08 23:11:00
他在幹嘛XDD
作者: Imeow5566 (愛喵56)   2015-11-08 23:13:00
又一個壞掉惹
作者: greensh (綠眼)   2015-11-08 23:13:00
這到底在幹嘛...
作者: fishmemory (魚肝油加鈣)   2015-11-08 23:14:00
她怎麼突然大崩壞...還是被盜帳號了?
作者: cocokeke1556 (枯嚕咪~)   2015-11-08 23:14:00
喵喵大崩壞= =
作者: loveian16   2015-11-08 23:15:00
他真的整個很像在丟猴......
作者: clarelynn (是這樣想的。才想要大事m)   2015-11-08 23:16:00
感覺可能被盜耶!
作者: summerrainri (你用輪迴換我枕邊月圓)   2015-11-08 23:16:00
hahaharabbit:如果有個人上一秒還很認真的跟你辯論,下一秒突然講些不著邊際的話,難道不可怕嗎QQ雖然現在是隔著螢幕,光看文字還是覺得毛毛的
作者: PTTakatsuki (akatsuki)   2015-11-08 23:16:00
那人是怎麼回事?
作者: b2uty03 (累)   2015-11-08 23:17:00
好大一串@@
作者: PTTakatsuki (akatsuki)   2015-11-08 23:17:00
這應該轉媽佛版
作者: loveian16   2015-11-08 23:17:00
沒被盜吧...好像一直都有人問他幹嘛推那些文,但他都略過不回應又繼續推PO文 時而正常時而......
作者: sakusakurai (我的GG有300公分( ̄﹁ ̄))   2015-11-08 23:19:00
hello,world!!
作者: verna84 (米妮)   2015-11-08 23:21:00
沒被盜吧!一直覺得她很...."特別"XD
作者: m821014 (mickey)   2015-11-08 23:22:00
版主上面這個是高中生的C++欸,用個JavaScript來看看
作者: jameshcm (億載金城‧武)   2015-11-08 23:22:00
抱歉..我一開始是問他之前也有類似情況怎麼回事?他沒回
作者: chuna (小確幸<3)   2015-11-08 23:22:00
我怎麼記得這帳號以前很正常發言阿,都沒有這樣過
作者: littlemiss (禮特小姐)   2015-11-08 23:22:00
以前覺得正常啊......
作者: silentence (小飛號:號:)   2015-11-08 23:22:00
XDDD好奇特
作者: jameshcm (億載金城‧武)   2015-11-08 23:23:00
後來話題就跳去"公主",是回carnie的話,不知tingmeow是否誤以為我在說他....其實真的沒有那個意思.但後來發生的事情..我真的嚇到了 Q_Q 剛好最近在看一部
作者: a963 (21413131思嗎XDD謝率是12)   2015-11-08 23:24:00
其實我也覺得他蠻特別的
作者: hahaharabbit (511犭王米分!!)   2015-11-08 23:24:00
她跳針了...@@
作者: jameshcm (億載金城‧武)   2015-11-08 23:24:00
美劇.裡面的主角剛好有類似的情境,所以才在推文回...
作者: verna84 (米妮)   2015-11-08 23:25:00
她之前有發ㄧ些讓人覺得個性很特別的文,結果都刪了!感覺就是要引人注意
作者: jameshcm (億載金城‧武)   2015-11-08 23:26:00
我還是希望他沒事啦...
作者: facenook (臉角)   2015-11-08 23:26:00
他某些文確實想引起注意啊 呵呵
作者: cocokeke1556 (枯嚕咪~)   2015-11-08 23:26:00
喵喵大崩壞><
作者: aprilee (艾波李)   2015-11-08 23:27:00
這是什麼 o____o
作者: hahaharabbit (511犭王米分!!)   2015-11-08 23:27:00
Summerrainri:別怕,只是崩壞一下!
作者: lili300 (膝蓋中了一箭)   2015-11-08 23:28:00
版主辛苦了...
作者: seabox (歐陽盒盒)   2015-11-08 23:28:00
這是c++
作者: IBzz (→剎 氣 a 你 逆←)   2015-11-08 23:30:00
我是覺得她本來就怪怪的== 推文很鳥但發文滿正常 另推版主辛苦了! 一句一句看也太用心了吧
作者: SeedDgas (雷姆是誰?)   2015-11-08 23:33:00
照週期看過段時間就是發文說她現實都被肉搜誤會了然後澄清自己只是嘴爽的,為什麼大家都覺得她怎樣怎樣
作者: greensh (綠眼)   2015-11-08 23:34:00
為什麼樓上這麼了解XD
作者: littlemiss (禮特小姐)   2015-11-08 23:36:00
難不成是粉絲(誤
作者: SeedDgas (雷姆是誰?)   2015-11-08 23:37:00
可能因為她的個人風格太強烈了吧,敢在西x露臉的沒幾個
作者: namis77 (Hakuna Matata)   2015-11-08 23:39:00
kk太厲害了~~Orz
作者: littlemiss (禮特小姐)   2015-11-08 23:40:00
在那邊露臉......真勇敢...
作者: earl1122 (黑虹)   2015-11-08 23:41:00
喵喵大暴走?
作者: verna84 (米妮)   2015-11-08 23:43:00
不止露臉吧XD
作者: loveian16   2015-11-08 23:44:00
剛去估了一下,真的頗精彩....還真敢......
作者: luvbxw (HELLO)   2015-11-08 23:47:00
哇~她在西斯版好猛喔XD
作者: fishih (é­š)   2015-11-08 23:49:00
有文字 有圖片 有facebook 到底是瘋了還是自爆成癮
作者: jameshcm (億載金城‧武)   2015-11-08 23:49:00
....感謝Seed大指點,原來遇到高人了 -_-"
作者: claymath (輪迴的印記 藏在我眉宇)   2015-11-09 00:08:00
她本來就很有名了
作者: masu1212 (老子)   2015-11-09 00:10:00
她不是只會發費文嗎
作者: hahaharabbit (511犭王米分!!)   2015-11-09 00:11:00
汪踢有名的喵喵
作者: tn00330905 (普萊亞)   2015-11-09 00:13:00
連資料庫的範例還不錯啊,會寫註解
作者: claymath (輪迴的印記 藏在我眉宇)   2015-11-09 00:15:00
什麼廢文!你去汪梯跟西斯就知道了!
作者: hahaharabbit (511犭王米分!!)   2015-11-09 00:16:00
在西斯也還好吧?又不是PO裸照...汪踢也都很正常啊
作者: masu1212 (老子)   2015-11-09 00:19:00
感覺就想紅阿==
作者: coffee112 (咖啡奶茶)   2015-11-09 00:22:00
懂什麼……人家在釣魚
作者: claymath (輪迴的印記 藏在我眉宇)   2015-11-09 00:24:00
哈哈
作者: ecila (蟲蟲可以獲得嶄新的粉嫩/)   2015-11-09 00:28:00
一直覺得她很特別XD
作者: ange09 (玖)   2015-11-09 00:29:00
我還以為只有我這樣想...上次他發那篇吳克群的新聞 我真的有點無言 但看大家都沒反應 還以為是我想太多咧
作者: arpp5833 (33)   2015-11-09 00:44:00
System.out.println明明就java 哪來c++幫版主噓人
作者: tiantian915 (小天天)   2015-11-09 00:53:00
話說他今天才去我那邊推文XD看到留言立刻去西斯搜尋他,小驚訝了一下原來這麼猛這樣XD
作者: lovechen239 (希望之星總召-乳肥宅♥)   2015-11-09 00:54:00
看推文去西斯看,猛姊!!!
作者: Sioli (客人)   2015-11-09 00:59:00
XDXD 板主看不懂中文嗎XDXD 被戳中笑點~~哈哈哈她以前就有波過滿多爭議性高的文章@@ 是她又不意外
作者: cocokeke1556 (枯嚕咪~)   2015-11-09 01:09:00
喵喵會不會以後被列入ptt名人呢??問題1
作者: biore5678 (thor)   2015-11-09 03:48:00
這是c++吧!
作者: vn509942 (如履薄冰)   2015-11-09 04:14:00
我還認真在看code...靠北膩
作者: nini5400 (不要問 你會怕)   2015-11-09 05:17:00
yoyo brother hey hey sister
作者: miler22020 (小高)   2015-11-09 07:47:00
XDDDDDDDDDDDD
作者: hongmangi (nobody knows me at all)   2015-11-09 08:16:00
她還好嗎?怎麼跳針成這樣
作者: audrey94 (221457)   2015-11-09 08:21:00
這個id很有印象,前幾年還會發交不到男友的文章,因為每隔一段時間就會該而且又附照片~所以印象深刻。剛去了西斯版,深深覺得被盜帳號 囧,她到底是怎麼了
作者: JayceLai (深紅)   2015-11-09 09:10:00
辛苦了...
作者: Slash1987 (生活令人傷痕累累)   2015-11-09 09:15:00
壞了?去西斯參觀回來了 好精采XD
作者: dogbydog (神秘兮兮神經病)   2015-11-09 10:12:00
版主一個理組操作耶想紅就去開lol實況削宅男r
作者: SUJO (Menorah Wen)   2015-11-09 11:12:00
有趣
作者: sugar327 (理想人生)   2015-11-09 12:39:00
感覺像被盜帳號
作者: Seirra (ゆこ )   2015-11-09 14:27:00
常注意到這ID .....

Links booklink

Contact Us: admin [ a t ] ucptt.com