封装

  • JSCookie创建、获取、删除函数分享

    创建Cookiefunction setCookie(key, value, time) { var times = new Date(); //获取当前的时间 times.setDate(times.getDate() + time); //设置时间 document.cookie = key + '=' + value + ';expires=' + times; //在...

  • curl get post请求函数示例

    get请求函数function getUrl($url, $header = []) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPGET, true); if ($header) { curl_setopt($ch, CURLOPT_HTTPHEADER, $hea...

    php教程1年前
  • Fusion app苹果cms教程

    Fusion app苹果cms教程

    苹果CMS成APP的教程很少,这里分享一款H5软件,非常简单。首先下载Fusion app,下载地址:https://11px.lanzous.com/id5yzjg步骤安装软件 下载源码 解压打开软件 点击右上角按钮 然后导入工...

    苹果cms教程4年前
  • 帝国CMS的ajax加载信息框架代码

    帝国CMS通用的ajax加载信息框架代码,改改可以应用到任何地方。HTML代码<!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/xhtm...

    帝国cms教程5年前