码迷,mamicode.com
首页 >  
搜索关键字:the story of the sto    ( 674个结果
一步一步教你用PHP+MySql搭建网站 No.5 图片上传、故事删除
上篇文章中讲到,story.php中的表单提交之后的页面是story_submit.php,我们就看一下story_submit.php是如何完成文章的发表的 老样子,先上代码: <?php # add / modify story record include_once('include_fns.php'); $handle = db_connect(); $headline =...
分类:数据库   时间:2015-05-26 09:10:59    阅读次数:167
一步一步教你用PHP+MySql搭建网站 No.4 文章编辑、图片上传
本篇blog我们将来重点看文章编辑页面story.php,因为这个页面说实话代码量是挺多的,还涉及到了图片的上传。 从页面上来直观的体验: add new  和 edit都是打开的story.php页面,所以我们应该能提前想到,这个页面会先检测下是哪种请求。 首先我们来搞定比较简单的logout.php页面 这个页面其实很简单了,主要是几个函数 unset函数其实就是...
分类:数据库   时间:2015-05-25 16:40:47    阅读次数:194
【笔记】JavaScript编码规范- 逗号和分号
不要再语句前面使用逗号。 // bad var story = [ once , upon , aTime ]; // good var story = [ once, upon, aTime ]; 不要有多余逗号:这会在IE6、IE7和IE9的怪异模式中导致一些问题;同时,在ES3的一些实现中,多余的逗号会增加数组的长度。在ES5中已经澄清(source) // bad var ...
分类:编程语言   时间:2015-05-19 10:38:13    阅读次数:132
经常使用的webservice接口
Web Service 一些对外公开的网络服务接口2011-10-29 14:12商业和贸易:1、股票行情数据 WEB 服务(支持香港、深圳、上海基金、债券和股票;支持多股票同一时候查询)Endpoint:http://webservice.webxml.com.cn/WebServices/Sto...
分类:Web程序   时间:2015-05-18 12:36:12    阅读次数:118
poj 3207 Ikki's Story IV - Panda's Trick【2-set】
题目:poj 3207 Ikki’s Story IV - Panda’s Trick题意:给出一个有(0-n-1)组成的圆,然后连接上面的一些点,可以选择从圆内部连接或者内部连接,然后问你所有的都不想交可不可行分析:对于每条Link,要么在圆外,要么在圆内,且不可同时满足, 只能两者取一,判断这M条Link是否合法,也就是M条Link不冲突, 这就是典型的2-sat问题了。 将每条Link i...
分类:其他好文   时间:2015-05-17 15:21:12    阅读次数:111
nginx防止注入
添加蓝色部分,配置如下:server{listen80;server_nameq1.xx.cn;root/kuaidihelp_sto/web/www;indexindex.phpindex.htmlindex.htm;#注入过滤if($request_uri~*"([+|(%20)]and[+|(%20)])|([+|(%20)]or[+|(%20)])|([+|(%20)]select[+|(%20)])|([+|(%20)]exec[+|(%20)])|([+|(%20)..
分类:其他好文   时间:2015-05-13 20:03:09    阅读次数:192
POJ 3207 Ikki's Story IV - Panda's Trick(2-sat判解存在性)
题意:平面上,一个圆,圆的边上按顺时针放着n个点。现在要连m条边,比如a,b,那么a到b可以从圆的内部连接,也可以从圆的外部连接。给你的信息中,每个点最多只会连接的一条边。问能不能连接这m条边,使这些边都不相交。 算比较裸的题目了,关键找到如何判断两对点交不交叉的关系就好 #include #include #include #include #include using namespac...
分类:其他好文   时间:2015-05-13 16:50:45    阅读次数:116
hdu5094 状态压缩+bfs
http://acm.hdu.edu.cn/showproblem.php?pid=5094 Problem Description This story happened on the background of Star Trek. Spock, the deputy captain of Starship Enterprise, fell into Klingo...
分类:其他好文   时间:2015-05-13 10:26:11    阅读次数:143
codeforces 148E Aragorn's Story 背包DP
Aragorn's StoryTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/148/EDescriptionOur protagonist is the handsome huma...
分类:其他好文   时间:2015-05-12 22:43:20    阅读次数:235
hdu 3966 Aragorn's Story 树链剖分
Aragorn's StoryTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codevs.cn/problem/1060/DescriptionOur protagonist is the handsome human prince Aragorn...
分类:其他好文   时间:2015-05-12 15:15:08    阅读次数:133
674条   上一页 1 ... 47 48 49 50 51 ... 68 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!