分享

写回答

发帖

[提问] godaddy的云主机在根目录上传了index.php文件不能打开

GoDaddy GoDaddy 2247 人阅读 | 4 人回复

发表于 2010-4-22 13:27:42 | 显示全部楼层 |阅读模式

godaddy的云主机在根目录上传了index.php文件不能打开

打开这样的地址   http://www.domain.com/index.php  就会提示下载

顺便问一下stats文件夹是干什么的,里面有.htaccess文件
而且stats文件夹不能上传文件

我放的是iProber探针,换了浏览器但是打开出现这样的内容


<?php
// pageok
// managed by puppet - hostingcms02
header("Content-type: text/plain");

// Total size of directory
$totalSize = 0;

// List of files in cwd
$dir  = opendir('.');
while (($filename = readdir($dir)) ==! false) {
   $files[] = $filename;
}

// The results of filesize are cached, clear that cache
clearstatcache();

// Total file sizes
foreach ($files as $file) {
  // Add file to total size
  $totalSize += filesize($file);
}

echo "pageok\n\n";
echo "Directory Size: $totalSize\n\n";

?>


[ 本帖最后由 hhzwly 于 2010-4-22 01:36 PM 编辑 ]

回答|共 4 个

add.c

发表于 2010-4-22 13:28:36 | 显示全部楼层

你浏览器的问题,
换其他浏览器试试
或者换个电脑使用同一个浏览器都没问题
RAKSmart

hhzwly

发表于 2010-4-22 13:30:34 | 显示全部楼层

回复 2# 的帖子

我方的是iProber.php探针,但是打开出现这样的内容


<?php
// pageok
// managed by puppet - hostingcms02
header("Content-type: text/plain");

// Total size of directory
$totalSize = 0;

// List of files in cwd
$dir  = opendir('.');
while (($filename = readdir($dir)) ==! false) {
   $files[] = $filename;
}

// The results of filesize are cached, clear that cache
clearstatcache();

// Total file sizes
foreach ($files as $file) {
  // Add file to total size
  $totalSize += filesize($file);
}

echo "pageok\n\n";
echo "Directory Size: $totalSize\n\n";

?>

hhzwly

发表于 2010-4-22 13:35:12 | 显示全部楼层

急呀,大家帮忙呀

add.c

发表于 2010-4-22 13:40:16 | 显示全部楼层

stats文件夹是系统文件夹 不能传文件
你把url地址发来看看
您需要登录后才可以回帖 登录 | 注册

本版积分规则