漂定

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页

2013年11月26日

摘要: 一.httpd.confLoadModule php5_module "D:/wamp/php-5.5.0/php5apache2_4.dll"PHPIniDir "D:/wamp/php-5.5.0"AddType application/x-httpd-php .php .phtml二.extra/httpd-vhosts.conf documentroot D:/work/pmd ServerName pmd.com DirectoryIndex index.php index.html index.htm ErrorLog "|D:/w 阅读全文
posted @ 2013-11-26 13:12 漂定 阅读(230) 评论(0) 推荐(0) 编辑

2013年11月25日

摘要: 一.关闭iptables1.iptables -F2.service iptables save 保存规则3.service iptables stop 停止二.关闭selinux1.vi etc/selinux/config# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prin... 阅读全文
posted @ 2013-11-25 15:58 漂定 阅读(587) 评论(0) 推荐(0) 编辑

2013年11月24日

摘要: 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不是针对罗霖是针对我们班10几个同学 我声明我第一节不... 阅读全文
posted @ 2013-11-24 18:30 漂定 阅读(5039) 评论(0) 推荐(0) 编辑

2013年11月22日

摘要: width=$width; $this->height=$height; $this->codeNum=$codeNum; $this->checkCode=$this->createCheckCode(); $number=floor($width*$height/15); if($number > 240-$codeNum){ $this->disturbColorNum= 240-$codeNum; }else{ $this->disturbColorNum=$number; } } //通过访问该方法向浏览器中输出图像 functio... 阅读全文
posted @ 2013-11-22 16:45 漂定 阅读(173) 评论(0) 推荐(0) 编辑

2013年11月19日

摘要: Unix && linux第一:首先要把mysqld停止,最好都kill掉killall mysqld第二:启动mysql,但是要跳过权限表/usr/local/mysql/bin/mysqld_safe --skip-grant-tables &第三:进去mysql,并修改密码/usr/local/mysql/bin/mysql -u rootmysql>use mysql;mysql>update user set password=password("new_pass") where user="root";my 阅读全文
posted @ 2013-11-19 14:17 漂定 阅读(434) 评论(0) 推荐(0) 编辑

2013年11月18日

摘要: 闭包变量 第一个 第二个 第三个 第四个 阅读全文
posted @ 2013-11-18 22:13 漂定 阅读(137) 评论(0) 推荐(0) 编辑

2013年11月8日

摘要: Android SDK下载和更新失败的解决方法!!!据说dl-ssl.google.com在大陆被强了,伟大的天朝真是不让人活了,解决方法就是修改C:\Windows\System32\drivers\etc\hosts文件。添加一行:74.125.237.1 dl-ssl.google.com 阅读全文
posted @ 2013-11-08 08:53 漂定 阅读(124) 评论(0) 推荐(0) 编辑

2013年11月7日

摘要: 0?$matches[0]:''; function CheckSubstrs($substrs,$text){ foreach($substrs as $substr) if(false!==strpos($text,$substr)){ return true; } return false; } $mobile_os_list=array('Google Wireless Transcoder','Windows CE',... 阅读全文
posted @ 2013-11-07 10:50 漂定 阅读(441) 评论(0) 推荐(0) 编辑

2013年11月6日

摘要: 方法一:$arr = array('name'=> '丁三','age'=>29,'job'=>array( 'title'=>'经理', 'salary'=>8888, 'team'=>array('小红','小明','小华') ));functio... 阅读全文
posted @ 2013-11-06 16:10 漂定 阅读(362) 评论(0) 推荐(0) 编辑

2013年11月4日

摘要: public class Main extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } public void click(View view) { if(isConn()){ Toast.makeText(this, "网络可用", 0).sh... 阅读全文
posted @ 2013-11-04 14:24 漂定 阅读(317) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页