易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 :

招聘jsp\php网站开发程序员

上海泽武网络有限公司
招聘:招聘jsp\php网站开发程序员
要求有三年以上开发经验
对Tomcat+Apache集群技术有熟悉的经验.对搜索引擎技术(Lucene)比较了解。
-熟练使用UML建模工具、版本控制工具; 熟练使用Eclipse等IDE开发工具;
-精通JAVA,php,深入理解OOP思想,熟悉设计模式。
-熟练运用J2EE技术、WEB服务器和关系型数据库;
-熟练Struts2.x、Spring、hibernate、iBatis框架技术,熟练使用Freemarker;
-熟悉TCP/IP、Socket和Webservice编程,熟练Linux系统、串口通信和蓝牙技术。
-踏实,稳重;工作认真,责任心强,良好的表达、沟通和团队协调能力。
......

招聘jsp\php网站开发程序员

上海泽武网络有限公司
招聘:招聘jsp\php网站开发程序员
要求有三年以上开发经验
对Tomcat+Apache集群技术有熟悉的经验.对搜索引擎技术(Lucene)比较了解。
-熟练使用UML建模工具、版本控制工具; 熟练使用Eclipse等IDE开发工具;
-精通JAVA,php,深入理解OOP思想,熟悉设计模式。
-熟练运用J2EE技术、WEB服务器和关系型数据库;
-熟练Struts2.x、Spring、hibernate、iBatis框架技术,熟练使用Freemarker;
-熟悉TCP/IP、Socket和Webservice编程,熟练Linux系统、串口通信和蓝牙技术。
-踏实,稳重;工作认真,责任心强,良好的表达、沟通和团队协调能力。
......

BDB官方给PHP提供的接口的程序员真是不负责

刚写完前面的日志,又发现一个Bug:
根据Oracle官方提供的说明:
http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/ext_php.html
class Db4的声明如下:
class Db4 {
function Db4($dbenv = null) {} // create a new Db4 object using
// the optional DbEnv
function open($txn = null, $file = null, $database = null,
$flags = DB_CREATE, $mode = 0) {}
function close() {}
function del($key, $txn = null) {}
function get($key, $txn = null, $flags = 0) {}
function pget($key, &$pkey, $txn = null, $flags = 0) {}
function get_type() {} // returns the stringified database type name
function stat($txn = null, $flags = 0) {} // returns statistics as
// an as
function join($cursor_list, $flags = 0) {}
function sync() {}
function truncate($txn = null, $flags = 0) {}
function cursor($txn = null, flags = 0) {}
} ......

PHP图表制作工具集

转自:http://nedvedheqing.javaeye.com/blog/383506
1. PHP扩展
JpGraph:http://www.aditus.nu/jpgraph/
ChartDirector:http://www.advsofteng.com/
2. JavaScript
Flot (http://code.google.com/p/flot/
) - Flot 为 jQuery 提供的javascript代码库. 容易使用,有特色的图表,提供交互功能(能够放大缩小数据区域等)。
Flotr (http://solutoire.com/flotr/
) - Flotr 是Prototype 1.6.0.2框架的javascript插件库。 Flotr帮助你在浏览器中创建图表,支持鼠标事件响应,放大缩小,CSS类型支持等。
Emprise JavaScript Charts (http://www.ejschart.com/
) - Emprise 是一个100% 纯 JavaScript 图表解决方案,并不需要任何 JavaScript 框架.
PlotKit (http://www.liquidx.net/plotkit/
) - PlotKit 是一个 图表和图像的Javascript 库. PlotKit 和 MochiKit javascript 库一起工作,支持HTML Canvas 和 Adobe SVG 显示 以及本地浏览器支持。尤其文档非常全。
3. Flash
Open Flash Chart (http://teethgrinder.co.uk/open-flash-chart/
) - Open Flash Chart 是一个 Flash 图表组件,很容易安装,提供以下语言的API: PHP, Perl, Python, Java, Ruby on Rails ......

php + mysql+apache 环境安装

第一步 安装MySQL
[root@localhost usr]# groupadd mysql
[root@localhost usr]# useradd -g mysql mysql
[root@localhost usr]# cd /usr/local
[root@localhost local]# tar -zxvf mysql-5.0.51.tar.gz
[root@localhost local]# cd mysql-5.0.51
[root@localhost mysql-5.0.51# ./configure --prefix=/usr/local/mysql
[root@localhost mysql-5.0.51]# make
[root@localhost mysql-5.0.51]# make install
[root@localhost mysql-5.0.51]#cp support-files/my-medium.cnf /etc/my.cnf
 执行下面的命令复制启动脚本到资源目录:
              cp ./support-files/mysql.server /etc/rc.d/init.d/mysqld
              执行下面的命令增加mysqld服务控制脚本执行权限:
              chmod +x /etc/rc.d/init.d/mysqld
              执行下面的命令将mysqld服务加入到系统服 ......

php + mysql+apache 环境安装

第一步 安装MySQL
[root@localhost usr]# groupadd mysql
[root@localhost usr]# useradd -g mysql mysql
[root@localhost usr]# cd /usr/local
[root@localhost local]# tar -zxvf mysql-5.0.51.tar.gz
[root@localhost local]# cd mysql-5.0.51
[root@localhost mysql-5.0.51# ./configure --prefix=/usr/local/mysql
[root@localhost mysql-5.0.51]# make
[root@localhost mysql-5.0.51]# make install
[root@localhost mysql-5.0.51]#cp support-files/my-medium.cnf /etc/my.cnf
 执行下面的命令复制启动脚本到资源目录:
              cp ./support-files/mysql.server /etc/rc.d/init.d/mysqld
              执行下面的命令增加mysqld服务控制脚本执行权限:
              chmod +x /etc/rc.d/init.d/mysqld
              执行下面的命令将mysqld服务加入到系统服 ......

如何将php获得的时间转换为北京时间

从php5.10开始,php中加入了时区的设置,在php中显示的时间都是格林威治标准时间,这就造成了我们中国的用户会差八个小时的问题!
相关设置是修改php.ini中的 date.timezone 参数:
[Date]
; Defines the default timezone used by the date functions
;date.timezone =
默认是关闭的,只需把注释去掉,改为即可
[Date]
; Defines the default timezone used by the date functions
date.timezone = PRC
其中PRC是“中华人民共和国”!
其他选项可以参考php手册。
不过这上面的亚洲地区漏掉了我们的首都北京,不知道老外是不是故意的!
如果没有修改php.ini的权限,只需要在调用时间日期函数的时候,调用 date_default_timezone_set(’PRC’) 即可!
也可以调用date_default_timezone_get()来查看当前的时区设置!
關於XXX,大陸內地可用的值是:
Asia/Chongqing ,Asia/Shanghai ,Asia/Urumqi (依次為重慶,上海,烏魯木齊)
港台地區可用:Asia/Macao ,Asia/Hong_Kong ,Asia/Taipei (依次為澳門,香港,台北)
台灣地区可設為:date.timezo ......

php增,改,删除操作

<?php
class main extends spController
{
    function index(){
    echo "<p align=center><h1>HIS基础数据维护</h1>";
    echo "<p align=center><h2>科室字典</h2>";
    $contentsurl=spUrl("main", "index0");
    echo "<a href={$contentsurl} target=_blank>详细信息</a></p>";
    //增加科室 
    $contentsurl=spUrl("main", "add0");
    echo "<a href={$contentsurl} target=_blank>增加科室</a></p>";
    //统计科室 
    $contentsurl=spUrl("main", "stat0");
    echo "<a href={$contentsurl} target=_blank>统计科室</a></p>";
    echo "<p align=center><h2>药品字典</h2></p>";  
    $contentsurl=spUrl("main", "index1");
    echo "<a href={$c ......
总记录数:40319; 总页数:6720; 每页6 条; 首页 上一页 [1789] [1790] [1791] [1792] 1793 [1794] [1795] [1796] [1797] [1798]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号