- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
IXWebHosing 的主机有个问题,虽然在File Manage里面有解压Gzip和Zip的功能,但是有时候会出问题,解压出来的文件不全,时不时的还丢失文件,这个问题的原因,个人理解应该是超时导致 的,连接速度太慢,要么就是丢包。其实解决这个解压的问题也不难:
1.不传压缩包,这个方案在有的时候行,大多数时候还是传压缩包的效率高些。
2.找客服解决,IXWebHosting主机的客服还是很认真负责的,如果英语不好,就说的简单点,比如:Please help me to unzip 某某文件名。
3.自己动手,将下面的代码粘贴出来,另存为unzip.php,上传到与压缩文件同级的目录即可。
?php
// The unzip script
// Created by wpsite at HYPERLINK
//
// This script lists all of the .zip files in a directory
// and allows you to select one to unzip.? Unlike CPanels file
// manager, it _will_ overwrite existing files.
//
// To use this script, FTP or paste this script into a file in the directory
// with the .zip you want to unzip.? Then point your web browser at this
// script and choose which file to unzip.
// See if theres a file parameter in the URL string
$file = $_GET[file];
if (isset($file))
{
echo Unzipping . $file . br;
system(unzip -o . $file);
exit;
}
// create a handler to read the directory contents
$handler = opendir(.);
echo Please choose a file to unzip: . br;
// A blank action field posts the form to itself
echo FORM action= method=get;
$found = FALSE; // Used to see if there were any valid files
// keep going until all files in directory have been read
while ($file = readdir($handler))
{
if (preg_match (/.zip$/i, $file))
{
echo input type=radio name=file value= . $file . . $file . br;
$found = true;
}
}
closedir($handler);
if ($found == FALSE)
echo No files ending in .zip foundbr;
else
echo brWarning: Existing files will be overwritten.brbrINPUT type=submit value=Unzip!;
echo /FORM;
?
=================================================================
关于wordpress的任何问题都可以咨询我,帮你找到最适合你的解决方案!
有很多朋友问我,为什么这么快就解决问题了?其实,答案很简单,我对wordpress研究了好几年,而且一直专注于wordpress,对wordpress内部的结构有深刻的理解。所以,有时候对于你而言,难以解决的问题,对于我而言,只是几分钟就能解决的问题!
在这里,实事求是说每一句话,对你保证的任务,绝不会半点虚假。而且,如果我们在处理网站出现任何问题,你随时可以申请理赔。因为本店已经加入消费者保障
* WPSITE是一个网页设计工作室, 我们专注于为个人和企业客户提供
* 友好的Web设计:代码友好、界面友好、浏览器友好、用户友好和搜索引擎友好
承接的服务内容主要包括 WordPress 和 CSS+XHTML:
_ 基于WordPress的网站建设和主题定制
_ 原创付费WordPress主题出
文档评论(0)