Search Posts

Day: March 22, 2019

File_get_contents increases the time limit for timeouts

When using the file_get_contents function, there will often be a timeout situation. Here you should check the error prompt to see what kind of error, the more common is the read timeout. In this case, you can try to avoid it by some means. Or solve it. Here are two simple introductions: First, increase the time limit of timeout Note here that set_time_limit simply sets the timeout for your PHP program, not the timeout for […]