标签:php外包星 发布于 2014-05-20
function get_attr_id($name,$cid) { $static_res = $GLOBALS[‘db’]->getOne(‘select attr_id from ‘ . $GLOBALS[&...星 发布于 2014-04-23
dede5.7验证码出现错误,无法显示时,打开文件/include/vdimgck.php ,找到第24行下面加入一行用来清空(擦除)缓冲区并关闭输出缓冲,如下: $sessSavePath = DEDEDATA.”/sessions/”; //下面加...星 发布于 2014-04-15
在.htaccess 添加如下代码。 RewriteEngine On RewriteCond %{HTTP_HOST} ^你的不带www的域名\.net [NC] RewriteRule ^(.*)$ http://www.XXX\.net$1 [L,R=301] 标签:.ht...星 发布于 2014-04-09
class Request{ public static function post($url, $post_data = ”, $timeout = 5){//curl $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL...
阅读(39)评论(0)赞 (0)星 发布于 2014-04-02
PHPCMS 根据栏目放置 加载不同的广告 首先要创建一个广告的配置文件,放置在caches/config/ad.php: //加载广告 function ad_block($catid){ $adblocks = pc_base::load_config(R...星 发布于 2014-03-25
代码片段 upload.html
iframe无刷新上传文件/伪ajax上传