Every once in a while I need to process a HUGE file. Though PHP
probably isn't the most efficient way of processing the file, I'll
usually use PHP because it makes coding the processing script much
faster. To prevent the script from timing out, I need to increase the
execution time of the specific processing script. Here's how I do it.
The PHP
copyini_set('max_execution_time', 300); //300 seconds = 5 minutesPlace this at the top of your PHP script and let your script loose!
No comments:
Post a Comment