- 浏览: 21069 次
- 性别:
- 来自: 青岛
最新评论
-
SzBenQ6917:
还可以啦,我要好好看看
全国省市区三级数据库(单表) -
javaSunStar:
ri ni daye sha dou meiyou 会不 ...
全国省市区三级数据库(单表)
文章列表
<?php$tomorrow = date("Y-m-d", mktime(0,0,0,4,1+1,2005)); $tomorrow = date(
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset ...
$result = $db->query("SELECT * FROM ".TABLE_PICS." ");
while($r = $db->fetch_array($result)){
$ps1 = explode('/',$r[pic1]);$ps2 = explode('/',$r[pic2]);$ps3 = explode('/',$r[pic3]);
$picture1 = "upload_files/".$r[pid]."/".$ps1[3 ...
今天工作中某合作商拿过来代码让检查安全,一看代码加密了,比较汗,类似下面代码:
<?php // This file is protected by copyright law & provided under license. Copyright(C) 2005-2009 www.vidun.com, All rights reserved.
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O000 ...
本文属于新手型的文章,也是新手写的文章,高手可以滤过,如果各位看了有什么意见,尽管提,小鸟虚心接受............. 都来拍砖吧。
在asp.net 的ajax中有updatepanel,但我不想用这个,就想到了jquery,看能否实现相同的功能,于是去搜索相关文章,但是也有人问,却没有给出完整的demo,但是jquery中有load方法可以实现
问题:在某篇文章的详细页,【 http://www.e6wa.com/Article/107.aspx 】提交评论的时候,不希望刷新整个页面,但我想刷新评论部分,显示我刚才发表的评 ...
源代码如下:
大家可以把源代码copy到自己的本地磁盘上,保存为后缀为.html文件格式,打开文件,就可以看到效果.
<HTML>
<HEAD>
<title>Product Image View</title>
</HEAD>
<body>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
< ...
- 2009-11-17 11:53
- 浏览 955
- 评论(0)
1,用户登录bbs,通过logging.php文件中,使用函数uc_user_login验证,如果验证成功,将调用函数uc_user_synlogin(位于uc_client下的client.php文件中),在这个函数中调用 uc_api_post('user', 'synlogin', array('uid'=>$uid));之后向UC_API.'/index.php'传递了数据;这里的UC_API就是在config.inc.php中的定义的uc_server之URL地址2,uc_server的index.php接受参数数据,获得model为user,action为synlogin,就调 ...
- 2009-07-25 10:44
- 浏览 1708
- 评论(0)
详解ucenter原理及第三方应用程序整合思路、方法
整合了 ucenter就等于整合了整个php界的所有php程序。一、功用:不对,何止整合了整个php界的所有php程序,而是整合了 ucenter就等于整合了所有的asp/asp.net/php/jsp等其它语言的所有web应用程序。(因为ucenter client的api开发包,dz会推出其它语言版)而且所有整合的程序同步登录,同步退出,同步修改密码。最终用户可以通过它轻松通行在各个应用之中,无需重复登录、注册、退出一个id可以出入一个站内的所有程序,如cms和bbs,也可以一个id出入www.a.com和www.b.com及w ...
- 2009-06-10 14:56
- 浏览 1686
- 评论(0)
二级域名
关键字: 二级域名
www.domain.com直接到根目录下别的二级域名如xyz.domain.com到根目录下的xyz目录。实现:配置apache的http.conf文件,->取消164行LoadModule rewrite_module modules/mod_rewrite.so前的#号->文件最后RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.xieye\.com$ RewriteRule ^(.+) /$1 [L]RewriteCond %{HTTP_HOST} [^.]+\.xie ...
- 2009-06-04 09:31
- 浏览 1050
- 评论(0)
if($amode == "all_modify") {
for($i=0;$i<count($uid_hidden);$i++) {
if($uid_hidden[$i]) {
$list = qhoo_fetch_array(qhoo_query("select * from $qhoo_goods_tab where uid = '$uid_hidden[$i]'"));
if(($list[goods_point] != $uid_point[$i] or $list[goods_sale_pri ...
- 2009-06-01 14:59
- 浏览 831
- 评论(0)
全国省市区三级数据库(单表)
switch($action){
case 'manage':
$parentid = $parentid ? $parentid:1;
$query = "select * from ".TABLE_REGION." where parent_id='$parentid' order by region_id asc";
$result = $db->query( $query );
include( admintpl( ...
- 2009-06-01 13:55
- 浏览 5461
- 评论(2)
function listorder($listorder)
{
global $db;
if(!is_array($listorder)) return FALSE;
foreach($listorder as $catid=>$value)
{
$value = intval($value);
$db->query("UPDATE ".TABLE_CATEGORY." SET listorder=$value WHERE catid=$catid");
}
return TRUE;
}
<input ty ...
- 2009-06-01 13:50
- 浏览 594
- 评论(0)