How to call another PHP script from a PHP script?
- by Jagira
Hello,
I have a PHP script that has a runtime of 34 seconds. But it dies after 30 seconds. I guess my webhost a time limit of 30 seconds.
I am thinking of splitting the script into two parts say PHP-1 and PHP-2.
Can I call PHP-2 from PHP-1 and kill PHP-1?
Both scripts have to run in sequence, so calling both of them using cron is not possible. [ My host provides cron with interval 5 mins and does not allow to change the start time]
-Will this circumvent the time limit set by host?