2017年11月10日

PHP使用WSDL格式Soap通信

摘要: 近期在搞一个项目,甲方只给了一个WSDL文件,让我们实现响应接口。 于是研究了WSDL和SOAP通信相关知识,获益甚深,把我的理解写下来,希望对PHP新手有帮助。 1.基本概念 soap是简单对象访问协议的缩写,是一种可以基于HTTP协议的访问方式。客户端发送请求,然后调用带参数的服务端函数得到服务 阅读全文

posted @ 2017-11-10 22:06 hujun1992 阅读(12325) 评论(0) 推荐(1) 编辑

2017年9月10日

以前的C代码

摘要: 函数调用 不知道 文件引用 1 #include <stdio.h> 2 #include "b.c" 3 4 int main() 5 { 6 printf("%f\n",p(5)); 7 printf("%f\n",q(5)); 8 getchar(); 9 return 0; 10 } 1 # 阅读全文

posted @ 2017-09-10 21:09 hujun1992 阅读(208) 评论(0) 推荐(0) 编辑

2017年9月6日

整理以前的PHP代码,不断更新。

摘要: date_time_format.php 将时间转换为自定义格式。 hello.php 在命令行下运行+参数,显示示例 阅读全文

posted @ 2017-09-06 15:40 hujun1992 阅读(169) 评论(0) 推荐(0) 编辑

2016年3月16日

在VS2015上配置Opencv3.10

摘要: opencv 3.10下载地址 http://opencv.org/ 我解压到C:\opencv下 vs 2015 community版 vc8 = Visual Studio 2005 vc9 = Visual Studio 2008 vc10 = Visual Studio 2010 vc11 阅读全文

posted @ 2016-03-16 14:58 hujun1992 阅读(5396) 评论(0) 推荐(0) 编辑

2015年10月10日

学习ThinkPHP-1

摘要: ThinkPHP 自建路由关于文件关联当在Applicatin\Home\Controller文件夹下建立一个控制器时如LoginController.class.php在此文件夹下还有一个默认的文件IndexController.class.php当URL为www.thinkphp.local/时... 阅读全文

posted @ 2015-10-10 08:37 hujun1992 阅读(165) 评论(0) 推荐(0) 编辑

2015年9月30日

配置Symfony2

摘要: 安装成功后打开serverphp app/console server:run 127.0.0.1:8000然后在浏览器输入localhost/8000/config.php进行配置1.date_timezone进php.ini改为date_timezone = Asia/Shanghailinux... 阅读全文

posted @ 2015-09-30 09:32 hujun1992 阅读(147) 评论(0) 推荐(0) 编辑

2015年9月29日

安装Symfony2

摘要: 我就不明白这个框架明明很小就几M,为什么这么难下载。他们为什么不把文件打包好?非要搞得这么复杂。一开始我在Linux ubuntu下载没有成功然后想在win10上试试到www.apache.org/download下载了php5.6版,并配置了环境变量(php -v)进cmd,输入php -r "r... 阅读全文

posted @ 2015-09-29 11:31 hujun1992 阅读(187) 评论(0) 推荐(0) 编辑

2015年9月23日

学习Linux第七天

摘要: 1.shellecho $HOME默认在shell中编写的变量全部是局部变量,如果重新打开console的话,那么这些变量将全部丢失,全局的变量可以写在文件~/.bashrc文件。2.判断!/bin/sh#if-elif-else-fiuser_input_fruit = "";echo -e "p... 阅读全文

posted @ 2015-09-23 15:01 hujun1992 阅读(143) 评论(0) 推荐(0) 编辑

2015年9月22日

google

摘要: 1.直接在搜索框里输入zerg rush 游戏atari breakout要在图片搜索界面google sky 太空google mirror 镜像google pacman 游戏google sphere 浮动google gothic 自定搜索字体样式google askewdo a... 阅读全文

posted @ 2015-09-22 15:23 hujun1992 阅读(134) 评论(0) 推荐(0) 编辑

2015年9月19日

学习Linux第六天

摘要: 1.Shell编程bash变量: 都是以字符串格式存储x=5 等号左右不能有空格,会当作命令处理如何调用: echo $x 此法无法进行数值运算,不存在的变量输出空set -u 设置变量报错x="$x"32 x=${x}e3 变量叠加,此时x=532e3unset x 删除变量set 查... 阅读全文

posted @ 2015-09-19 16:03 hujun1992 阅读(123) 评论(0) 推荐(0) 编辑

导航