在“x”之后循环。秒 [英] Loop after "x" seconds

查看:78
本文介绍了在“x”之后循环。秒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个循环,在x之后回显一些文本。时间秒。


任何帮助?

解决方案

Maximus schrieb:

我需要创建一个循环,在x之后回显一些文本。几秒钟的时间。

任何帮助?



sleep();


好吧我试过了这就是问题。


脚本发送短信和循环,只要它将消息发送到

所需的数字。


整个过程需要30秒以上才能完成脚本执行
。以超时原因结束它。


有什么解决办法吗?


Maximus schrieb:< blockquote class =post_quotes>好吧我试过了,这就是问题。

脚本发送短信和循环,只要它发送消息到
所需的号码。

整个过程需要30秒以上才能完成脚本的执行。以超时原因结束它。
输出应该在哪里?
是否有任何解决方案?



将php.ini中的max_execution_time从标准3000设置为永远。


-Kirsten


I need to make a loop that echoes some text after "x" time of seconds.

Any help?

解决方案

Maximus schrieb:

I need to make a loop that echoes some text after "x" time of seconds.

Any help?


sleep();


okay i tried it and here''s the problem.

the script sends SMS and loops for as long as it sends the message to
the required numbers.

This whole process takes more than 30 seconds for the script to finish
executing. which ends it with a timeout reason.

is there any solution for this?


Maximus schrieb:

okay i tried it and here''s the problem.

the script sends SMS and loops for as long as it sends the message to
the required numbers.

This whole process takes more than 30 seconds for the script to finish
executing. which ends it with a timeout reason. Where for should the output?
is there any solution for this?


Set the max_execution_time in php.ini from standard 3000 up to what ever.

-Kirsten


这篇关于在“x”之后循环。秒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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