| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2587 人关注过本帖
标题:Fatal error:Maximum execution time of 30 seconds exceeded in C:\wamp\w ...
只看楼主 加入收藏
szchina
Rank: 1
等 级:新手上路
帖 子:99
专家分:0
注 册:2012-7-31
收藏
 问题点数:0 回复次数:1 
Fatal error:Maximum execution time of 30 seconds exceeded in C:\wamp\www\text\in
Fatal error:Maximum execution time of 30 seconds exceeded in C:\wamp\www\text\index.php on line18

<!doctype html>
<html>
<head><title>counter</title></head>

<?php
    @$f=fopen("piccounter.txt", "r") or die("Unable to open file!");
    $num=fread($f, filesize("piccounter.txt"));
    $num++;
    fclose($f);
    $fw=fopen("piccounter.txt", "w");
    fwrite($fw, $num);
    // echo $num;
    while (!feof($fw)) {
        # code...
        $array_count=1;
        $current_number=fgetc($fw);
        $counter_array[$array_count]=$current_number;
        $array_elements=count($counter_array);              //这里是18行
        $array_count=$array_count+1;
    }

    for($array_id=1;$array_id<$array_elements;$array_id++){
        echo "<img src=\"$counter_array[$array_id].jpg\" \ >";
    }
    fclose($fw);
?>
<body>

</body>
</html>
搜索更多相关主题的帖子: counter seconds execution html 
2013-03-07 10:01
szchina
Rank: 1
等 级:新手上路
帖 子:99
专家分:0
注 册:2012-7-31
收藏
得分:0 
回复 楼主 szchina
该问题已经在其他论坛解决!————楼主回复
2013-03-07 10:19
快速回复:Fatal error:Maximum execution time of 30 seconds exceeded in C:\w ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011769 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved