自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 @ in php

30down voteaccepted The @ operator tells PHP to suppress error messages, so that they will not be shown. For instance, using: $result = mysql_query("this is an invalid query"); wou

2015-03-18 22:08:33 264

转载 php static function

:: class Test{ public static $test = 1; public static function test(){ } } 可以不用实例化对象直接使用 Test::$test 来取得$test属性的值 静态方法调用也同理Test::test(); 直接调用静态方法test

2015-03-18 22:01:37 1256

原创 php mail

http://php.net/manual/zh/mail.configuration.php#ini.sendmail-path php 原生的mail方法很渣 而且 linux环境下不能修改smtp server 只能选择localhost 所以本机必须要作为smtp服务器 http://stackoverflow.com/questions/11942896/use-defa

2015-03-17 20:51:10 232

原创 how php pages run

http://coredogs.com/lesson/how-php-pages-run

2015-03-17 19:45:58 287

原创 json

echo json_encode返回的json编码的字符串类型 post( url [, data ] [, success ] [, dataType ] ) url Type: String A string containing the URL to which the request is sent. data Type: PlainObject

2015-03-15 23:18:45 217

原创 php in .js

.js file can't run php the way to realize is a.use .php file to write js b. Another way to go is to make a js file within php, so start your .php file with php header("Content-type: application

2015-03-14 02:20:22 284

原创 实例

先fork到自己 zxc7928932 zxc7928932@zxc7928932-X550VC:/var/www/html/info$ cd .. zxc7928932@zxc7928932-X550VC:/var/www/html$ git clone https://github.com/zxc7928932/info-1.git 正克隆到 'info-1'... remot

2015-03-13 10:33:46 233

原创 gitHub

1.创建仓库(他人创建的开源项目 则不需要 2.fork到自己 3.到某文件夹终端git clone ...... 4.进入该文件夹 5.git branch 查看

2015-03-08 00:00:16 351

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除