- 浏览: 187364 次
- 性别:
- 来自: 北京
最新评论
-
heping45:
有待进步,不知所云
WEB流程图(jquery实现) -
zhoupuyue:
html有一个小错误:<script> $(fu ...
漂亮的Jquery的日期控件(精减) -
dcdc723:
happy175 写道大家是怎么用的啊,我的怎么没有反应?这是 ...
漂亮的Jquery的日期控件(精减) -
happy175:
大家是怎么用的啊,我的怎么没有反应?这是我的代码:
<! ...
漂亮的Jquery的日期控件(精减) -
nianshi:
加上Html文件多好啊
漂亮的Jquery的日期控件(精减)
文章列表
chrome未卸载干净导致不能安装时的REG
- 博客分类:
- 开发
Windows Registry Editor Version 5.00
; WARNING, this file will remove Google Chrome registry entries
; from your Windows Registry. Consider backing up your registry before
; using this file: http://support.microsoft.com/kb/322756
; To run this file, save it as 'remove.reg' on your desktop a ...
<?php
// Setting up nodes:
//
// CassandraConn::add_node('192.168.1.1', 9160);
// CassandraConn::add_node('192.168.1.2', 5000);
//
// Querying:
//
// $users = new CassandraCF('Keyspace1', 'Users');
// $users->insert('1', array('email' => 'hoan.tonthat@gmail.com', 'password' = ...
/usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 11016 -u nobody -C 64 /usr/local/php/bin/php-cgi
出现500 才发现是conf文件里的rewrite写错了...
备忘 !
freeBsd配置网络
- 博客分类:
- 开发
freebsd手工配置网络
FreeBSD对网卡的支持是在系统内核中实现的,要使一个网卡工作正常,就需要系统内核拥有这个网卡的驱动,并配置好它占用的硬件资源。为了保证网卡被正确的检测到,应该使用dmesg来查看系统的检测信息。
使用sysinstall可以完成最基本的网络配置,可以配置主机名、域名、IP地址、缺省网关、DNS服务器等。配置的这些内容被写入系统的配置文件rc.conf中保留下来。当系统安装完成之后,在sysinstall的网络配置界面下试图重新配置网络时,由于网络正在运行,
sysinstall将提示 “Running multi- user,
...
String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); }
function makePy(str){ if(typeof(str) != "string"){ return str; //throw new Error(-1,"需要字符串类型参数!"); } var arrResult = new Array(); for(var i=0,len=str.length;i<len;i++){ var ch = ...
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><?php function getfirstchar($s0){ $fchar = ord($s0{0}); if($fchar >= ord("A") and $fchar <= ord("z") )return strtoupper($s0{0}); $s1 = iconv("UTF-8","gb2312&qu ...
As I pointed out in the section you just read, the PDO extension also offers a handy method, called "lastInsertId()," which is useful in those situations where it's necessary to find out the ID of the last-inserted database row.
The implementation of the method is very straightforward, as ...
Naturally, after learning how to open and close a connection to a specific database system, I'm sure that you'll want to see how to execute a query against a particular database. To perform this crucial task, the PDO extension comes equipped with two primary methods, not surprisingly called " ...
Definitely, a good point to start demonstrating the excellent functionality provided by the PDO extension is in showing how it can be used to connect to diverse database systems. Therefore, I coded a simple script that establishes a new connection to MySQL, using the pertinent PDO constructor.
Th ...
integer uc_user_register(string username , string password , string email)
函数参数
参数
含义
string username
用户名
string password
密码
string email
电子邮件
返回值
值
含义
integer
大于 0:返回用户 ID,表示用户注册成功-1:用户名不合法-2:包含不允许注册的词语-3:用户名已经存在-4:Email 格式有误-5:Email 不允许注册-6:该 Email 已经被注册
本接口函数 ...
首页是自动播放代码:
var j=0;$.extend({
showbig:function(){
$("#flashimg").show();//by dcdc723 http://dcdc723.iteye.com 指尖
var ob=document.getElementById("flashimg").getElementsByTagName("img");
for(i=0;i<ob.length;i++){ob.item(i).className="pics";}
ob.item ...
<style>
.mesWindow{border:#666 1px solid;background:#fff;}
.mesWindowTop{border-bottom:#eee 1px solid;margin-left:4px;padding:3px;font-weight:bold;text-align:left;font-size:12px;}
.mesWindowContent{margin:4px;font-size:12px;}
.mesWindow .close{height:15px;width:28px;border:none;cursor:point ...
绝对居中的层 ---备忘
- 博客分类:
- jquery 相关
<div style='position:relative; width:985px; margin:0 auto; z-index:99999'><div style='position:absolute; background:#fff; left:300px; top:300px'>这是内容</div></div>-
服务端(数据源端):
<?php
$arr = array('name' => 'dc,'nick' => '指尖,'content' => array('email' => 'duchuan723@163.com','website' => 'http://dcdc723.iteye.com',));
$callback = empty ( $_GET ['jsoncallback'] ) ? empty ( $_POST ['jsoncallback'] ) ? '' : addslashes ( $_POST ['jsoncallbacklbac ...
<param name="allowScriptAccess" value="always">
引用FLASH时加入