`
asstudio
  • 浏览: 7195 次
社区版块
存档分类
最新评论
文章列表
PHP调用ueditor 自定义上传路径只需要修改两步就可以了: 一、修改文件ueditor.config.js里面的imagePath为你自己的上传目录         //图片上传配置区         ,imagePath:"http://localhost/ci/upload/"   二、修改imageUp.php文件中最后一行(向浏览器返回数据json数据) echo "{'url':'" . date( "Ymd" ).'/'.$info["name"] . "', url的值修改为返回$in ...
<meta charset=utf-8 /> <form method="post"> <input name="url" size="50" value="http://www.mgyyw.com/12/U/qifeng/101.wma" /> <input name="submit" type="submit" value="转存至服务器"/><br /> <input name=&quo ...
解决Godaddy 使用 YII 出现No input file specified 的错误 在根目录新建一个文件 : php5.ini 文件内容:cgi.fix_pathinfo=1 并且修改  .htaccess 为:主要是最后一行要注意 Options +FollowSymLinks IndexIgnore */* RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME ...
使用方法: 第一步:include 'lib/page.php';                         //引入文件 第二步:$page=new Page($musiclist->findCount(),5);                         //实例化类,并传入数据总数和分页数 第三步:$this->res ...
批量修改文件名的PHP代码、附带汉字转拼音程序: <?php header("content-type: text/html; charset=GBK");//设置页面字符集编码 date_default_timezone_set("PRC");//设置中国时区\ header("Pramga: no-cache"); $url='http://www.xz768.com';         $a=$_GET['a'];//接受修改文件名等操作 $p=$_GET['p'];//接受传输的文件路径 if($p==''&& ...
<?php  header("Content-type:text/html;charset=utf-8");   $db=new mysqli("www.xz768.com","root","","music") ; //实例化一个数据库连接。使用这个前一定要确保已经加载了mysqli类库,或者用mysql_connect这个方式连接。   if(mysqli_connect_errno()){      echo "链接失败:".mysqli_connect_e ...
Global site tag (gtag.js) - Google Analytics