30秒的时间超出了错误?文件获取内容 [英] time of 30 seconds exceeded error? file get contents

查看:184
本文介绍了30秒的时间超出了错误?文件获取内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个错误:

   Fatal error: Maximum execution time of 30 seconds exceeded in C:\AppServ\www\facebook\classes\burccek.class.php on line 56

(im using file_get_contents )

(im using file_get_contents)

(在这个程序中我发布file_get_contents数据到Facebook用户墙(offline_access))

(in this program i post file_get_contents data to facebook user wall(offline_access))

推荐答案

这意味着 file_get_contents 操作需要更多的时间,PHP的最大执行时间。如果您需要更长时间,请在文件顶部添加以下行: set_time_limit($ seconds);

It means the file_get_contents operation takes more time that the max execution time of PHP. If you need a longer time, add this line at the top of your file: set_time_limit($seconds);

但是30秒似乎已经很久了,所以你的应用程序可能还有一些其他问题。

However 30 seconds seems a long time already so there might be some other issue with your application.

这篇关于30秒的时间超出了错误?文件获取内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆