码迷,mamicode.com
首页 >  
搜索关键字:php array 数组    ( 182180个结果)
想自己写框架(1)
学了PHP也有一段时间了,从大二到现在,一直停留在某个阶段,没前进。大三用了CI毕业时用ThinkPHP。还是觉得要自己写一个,会比较彻底。开始看文件,再做具体分析。按照经验来看,Common是公共文件,Conf是配置文件,Lang是语言文件,Library是核心类,Mode是数据库链接类,Tpl是...
分类:其他好文   时间:2014-05-30 18:45:49    阅读次数:375
基础函数
spl_autoload_register()函数,参数加的是autoload的路径。__autoload()这个是自动加载方法,那么spl_autoload_register()这个就是重新注册__autoload()方法。ucwords() 函数把字符串中每个单词的首字符转换为大写。php 5....
分类:其他好文   时间:2014-05-30 18:29:33    阅读次数:306
tableView用法----博客状态案例
小烨子这两天课比较紧,晚上回来网又打不开网页,苦逼啊,趁现在可以用赶紧写好了不瞎扯了自定义微博步骤:1.观察应用,分析功能,了解答题流程2.加载plist取出数据,同时建立模型储存到数组中,因为这是个自定义cell,每个cell的高度都是由cell里面内容确定的,但是要设置cell的高度就要的hi用...
分类:其他好文   时间:2014-05-30 18:09:19    阅读次数:438
分布式文件存储
Storage不小心看到这个类,注释写着// 分布式文件存储类。。。。不懂,吖的,google不能用,只能用某度,挺火大的。又找到ThinkPHP\Library\Think\Storage\Driver 下面的File.class.php,那么,Storage类只是通过判断type去加载File....
分类:其他好文   时间:2014-05-30 17:02:40    阅读次数:235
php批量上传图片并把图片名放入数据库
分类:数据库   时间:2014-05-30 16:55:54    阅读次数:312
php分页
分类:Web程序   时间:2014-05-30 16:43:43    阅读次数:433
PHP CURL参数详解
PHP CURL参数详解 curl用法:cookie及post一、cookie用法二、post用法特别要注意:post的数据要经过urlencode编码1 comment January 9th, 2006PHP4用户手册:函数->CURL->curl_setoptcurl_setopt(PHP 4...
分类:Web程序   时间:2014-05-30 16:39:38    阅读次数:291
Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2014-05-30 16:30:00    阅读次数:282
Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-05-30 16:20:32    阅读次数:229
Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 16:19:05    阅读次数:320
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!