上一页 1 2 3 4 5 6 ··· 13 下一页

2014年1月8日

PHP逐字符读取数据

摘要: ";}fclose($file);?> 阅读全文

posted @ 2014-01-08 12:54 程序猴chengxuhou.com 阅读(306) 评论(0) 推荐(0) 编辑

PHP逐行读取数据

摘要: PHP逐行读取数据";}fclose($file);?> 阅读全文

posted @ 2014-01-08 12:53 程序猴chengxuhou.com 阅读(13350) 评论(0) 推荐(0) 编辑

PHP函数的创建

摘要: 看代码PHP函数的创建,包括参数,和其他的语言一样';}echo writeName('Minot');?> 阅读全文

posted @ 2014-01-08 12:09 程序猴chengxuhou.com 阅读(290) 评论(0) 推荐(0) 编辑

PHP数组的创建

摘要: 案例:仔细看代码,PHP创建数组'.$names[1];?>"; }#foreach$arr=array("one","two",'three');foreach ($arr as $valve){echo 'Value:'.$valve.''; }?> 阅读全文

posted @ 2014-01-08 12:04 程序猴chengxuhou.com 阅读(239) 评论(0) 推荐(0) 编辑

PHP基础学习代码案例

摘要: ';?>';echo strlen('Hello World !');echo '';echo strpos('Hello World !','o')?>';$d=date("D");if($d=="Fri"){ echo 'Hello'; echo 'Have a nice day!';}else { echo 'Today is '.$d.'';}?> 阅读全文

posted @ 2014-01-08 11:14 程序猴chengxuhou.com 阅读(1466) 评论(0) 推荐(0) 编辑

查看端口号占用情况

摘要: 运行cmd.exe;netstat -ano;全有了 阅读全文

posted @ 2014-01-08 10:43 程序猴chengxuhou.com 阅读(202) 评论(0) 推荐(0) 编辑

apache错误 Unable to open process" with PID 4!

摘要: 今天打开Apache的时候报错:22:15:30 [Apache] Problem detected! 22:15:30 [Apache] Port 80 in use by "Unable to open process" with PID 4! 22:15:30 [Apache] Apache WILL NOT start without the configured ports free! 22:15:30 [Apache] You need to uninstall/disable/reconfigure the blocking application 22:15 阅读全文

posted @ 2014-01-08 09:54 程序猴chengxuhou.com 阅读(3756) 评论(0) 推荐(0) 编辑

2013年12月27日

NUnit TestFixtureSetup 和 TestFixtureTearDown

摘要: TestFixtureSetup 和 TestFixtureTearDown在所有测试开始前(TestFixtureSetup)或结束后(TestFixtureTearDown)运行一 次。记住他只运行一次,而不论有多少个Test函数。因此一个TestFixture只能有一个TestFixtureSetup或TestFixtureTearDown。示例: 测试用例[TestFixture]public class TestFixtureSetUpAndTearDownTest{[TestFixtureSetUp]public void RunBeforeAllTests(){Console.W 阅读全文

posted @ 2013-12-27 13:46 程序猴chengxuhou.com 阅读(738) 评论(0) 推荐(0) 编辑

2013年12月26日

C#检测两个文件内容是否相同

摘要: 不知道为什么对Excel 2010 xlsx后缀的文件没有效果,求解!对其他文件有效,如.txt,.csv 1 using System; 2 using System.Security.Cryptography; 3 using System.IO; 4 5 namespace CheckFile 6 { 7 class Program 8 { 9 static void Main(string[] args)10 {11 string filePath1 = @"D:/1.txt";12 st... 阅读全文

posted @ 2013-12-26 17:13 程序猴chengxuhou.com 阅读(1060) 评论(0) 推荐(0) 编辑

NUnit.Framework的使用方法演示

摘要: 1 using NUnit.Framework; 2 3 namespace CheckExcel 4 { 5 [TestFixture] 6 public class TestExcelHelper 7 { 8 /// 9 /// 文件名10 /// 11 string fileName1 = @"D:\Test\a.xlsx";12 string fileName2 = @"D:\Test\c.xlsx";13 14 /// 15 /// 测试方法1... 阅读全文

posted @ 2013-12-26 13:42 程序猴chengxuhou.com 阅读(859) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 13 下一页

导航