0

My problem is that I want to kill the script after 58 seconds. But max_execution_time just tracks the time of the script execution itself, not my curl call. I could get the time in the beginning of the script and the calculate the time, but I can't do that while my curl is executing. Is there any solution that fit my needs? I don't want to start another thread that tracks the time.

Don't Panic
  • 13,965
  • 5
  • 32
  • 51

0 Answers0