作者:
KKALI (I am KK)
2015-11-08 23:03:28違規人員: tingmeow
違反項目: 板規11-A
文章代碼: #1MFZi2ez, #1MFphy_3
裁決結果: 禁言3日
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
作者:
bsb0331 (我是香肥宅)
2015-11-08 23:05:00這在寫程式逆
作者:
SnowAmy (小雪)
2015-11-08 23:06:00版主專業
作者:
bsb0331 (我是香肥宅)
2015-11-08 23:06:00Hello, World!
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:00KK好像會寫程式的樣子 0.0
作者:
bsb0331 (我是香肥宅)
2015-11-08 23:10:00下次我要打一篇隨機微積分的推導過程 QQ
作者:
greensh (綠眼)
2015-11-08 23:13:00這到底在幹嘛...
作者:
clarelynn (是這樣想的。才想要大事m)
2015-11-08 23:16:00感覺可能被盜耶!
hahaharabbit:如果有個人上一秒還很認真的跟你辯論,下一秒突然講些不著邊際的話,難道不可怕嗎QQ雖然現在是隔著螢幕,光看文字還是覺得毛毛的
作者:
b2uty03 (累)
2015-11-08 23:17:00好大一串@@
沒被盜吧...好像一直都有人問他幹嘛推那些文,但他都略過不回應又繼續推PO文 時而正常時而......
作者:
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我怎麼記得這帳號以前很正常發言阿,都沒有這樣過
作者: 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其實我也覺得他蠻特別的
作者:
jameshcm (億載金城‧武)
2015-11-08 23:24:00美劇.裡面的主角剛好有類似的情境,所以才在推文回...
作者:
verna84 (米妮)
2015-11-08 23:25:00她之前有發ㄧ些讓人覺得個性很特別的文,結果都刪了!感覺就是要引人注意
作者:
jameshcm (億載金城‧武)
2015-11-08 23:26:00我還是希望他沒事啦...
作者:
aprilee (艾波李)
2015-11-08 23:27:00這是什麼 o____o
作者:
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
作者:
SeedDgas (雷姆是誰?)
2015-11-08 23:37:00可能因為她的個人風格太強烈了吧,敢在西x露臉的沒幾個
作者:
namis77 (Hakuna Matata)
2015-11-08 23:39:00kk太厲害了~~Orz
作者:
verna84 (米妮)
2015-11-08 23:43:00不止露臉吧XD
剛去估了一下,真的頗精彩....還真敢......
作者:
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她本來就很有名了
作者:
claymath (輪迴的印記 藏在我眉宇)
2015-11-09 00:15:00什麼廢文!你去汪梯跟西斯就知道了!
在西斯也還好吧?又不是PO裸照...汪踢也都很正常啊
作者:
claymath (輪迴的印記 藏在我眉宇)
2015-11-09 00:24:00哈哈
作者:
ecila (蟲蟲可以獲得嶄新的粉嫩/)
2015-11-09 00:28:00一直覺得她很特別XD
作者:
ange09 (玖)
2015-11-09 00:29:00我還以為只有我這樣想...上次他發那篇吳克群的新聞 我真的有點無言 但看大家都沒反應 還以為是我想太多咧
System.out.println明明就java 哪來c++幫版主噓人
話說他今天才去我那邊推文XD看到留言立刻去西斯搜尋他,小驚訝了一下原來這麼猛這樣XD
作者:
Sioli (客人)
2015-11-09 00:59:00XDXD 板主看不懂中文嗎XDXD 被戳中笑點~~哈哈哈她以前就有波過滿多爭議性高的文章@@ 是她又不意外
作者:
nini5400 (不要問 你會怕)
2015-11-09 05:17:00yoyo brother hey hey sister
作者:
hongmangi (nobody knows me at all)
2015-11-09 08:16:00她還好嗎?怎麼跳針成這樣
作者: audrey94 (221457) 2015-11-09 08:21:00
這個id很有印象,前幾年還會發交不到男友的文章,因為每隔一段時間就會該而且又附照片~所以印象深刻。剛去了西斯版,深深覺得被盜帳號 囧,她到底是怎麼了
作者:
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 .....