楼主:
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 .....