Hi,
Its been 3-4 days posting here,due to some work on the construction of some AutoBot Servers.At last ,it finally came to a stable end.Will soon be disclosed to you.
Introduction
Today i am gonna help some PHP developers want to run their server tireless with a PHP script.Its just an easy work around,so that the script will work out forever until a Fatal error or something happened.
What will you face without using this work around?
Yes it's simple.You will just get an error stating.
The php's default maximum execution time is 30 seconds.
How to bypass the time restriction with just a single line of code or a function call?
That's it you can make your php script run forever or for a limited amount of time.
Here is an advise,please code your script properly.So that it may end in an unwanted end loop.
For ever PHP scripts are mostly used in realtime web applications.
Enjoy coding...
Its been 3-4 days posting here,due to some work on the construction of some AutoBot Servers.At last ,it finally came to a stable end.Will soon be disclosed to you.
Introduction
Today i am gonna help some PHP developers want to run their server tireless with a PHP script.Its just an easy work around,so that the script will work out forever until a Fatal error or something happened.
What will you face without using this work around?
Yes it's simple.You will just get an error stating.
Fatal error : Maximum execution of 30 seconds exceeded.
The php's default maximum execution time is 30 seconds.
How to bypass the time restriction with just a single line of code or a function call?
<?php
ini_set('set_time_limit', 0);//Time limit is set to zero.That means infinite.
//OR
ini_set('set_time_limit',1800);//Time limit is set to 1800 seconds ie,30 minutes.
?>
That's it you can make your php script run forever or for a limited amount of time.
Here is an advise,please code your script properly.So that it may end in an unwanted end loop.
For ever PHP scripts are mostly used in realtime web applications.
Enjoy coding...
I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing.สล็อตแตกง่าย
BalasHapusThis is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.บา คา ร่า วอ เลท
BalasHapusThanks for taking the time to discuss that, I feel strongly about this and so really like getting to know more on this kind of field. Do you mind updating your blog post with additional insight? It should be really useful for all of us.บา คา ร่า วอ เลท
BalasHapusNice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.สล็อตxo
BalasHapusGreat article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information..เว็บ ตรง
BalasHapus