随笔分类 - Php
摘要:32款扁平化风格的UI工具包第二弹!上篇为大家分享了16款风格各异的UI Kits,下篇继续为大家呈上16款精美的UI工具包,全部都有Photoshop PSD文件可以下载哦,喜欢就赶紧收藏吧! 17、RAMPY FLAT UI KIT 这个工具包包含各种组件:日历、登陆页面、联系页面、图库、视频、
阅读全文
摘要:PHP建立HTTP+SQLite服务器: php -S 0.0.0.0:80 -t /www 提供HTTP+JSON服务: $db = new mysqli('127.0.0.1','user','pass','dbname',3306); header('Content-Type: application/json; charset=utf-8'); echo json_encode($...
阅读全文
摘要:1.prepare front-end code, meta content-type cannot be ignored! as to the xhr, status should be 3 2.back-end, remember to to call tw...
阅读全文
摘要:SqlHelper.php代码如下:mysqli=new MySQLi(self::$host,self::$user,self::$pwd,self::$db); if($this->mysqli->connect_error){ die("连接数据库失败! "...
阅读全文
摘要:63 || strlen($aDomain[0]) = 0x80) { if ((ord($sInBuf{$i}) >= 0x81 && ord($sInBuf{$i}) = 0x40 && ord($sInBuf{$i + 1}) 0x7E && ord($sIn...
阅读全文
摘要:GetUserName();echo "annotation: use include, pls include \\ which is the common namespace, which need not to be declared as default \\";echo "";echo _...
阅读全文
摘要:命名空间一个最明确的目的就是解决重名问题,PHP中不允许两个函数或者类出现相同的名字,否则会产生一个致命的错误。这种情况下只要避免命名重复就可以解决对于命名空间,官方文档已经说得很详细[查看],我在这里做了一下实践和总结。命名空间一个最明确的目的就是解决重名问题,PHP中不允许两个函数或者类出现相同...
阅读全文
浙公网安备 33010602011771号