[公告] 禁言 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