How to remove time out? PHP

Asked

Viewed 432 times

1

I’m using a cron to run a script that reads a txt file of 18 thousand lines and goes inserting in the bank, but is running at most a thousand lines, from nothing to, did not fall into any of the errors that could be. There’s another way to do it?

  • Can’t get a direct link through the bank with a csv or something like that?

  • It would be very tiring, so I want to automate, I’m picking straight from an ftp.

1 answer

4


Include this line at the beginning of your php file, or in php.ini

ini_set('max_execution_time', 0); 

Browser other questions tagged

You are not signed in. Login or sign up in order to post.