Xurion Posted July 3, 2008 Share Posted July 3, 2008 Hi all, I am building a script where the user can import a large amount of records (like 19,000 or more). The script loops until all records are input into the database. It is working with a lesser amount of records (14,000 for example) but when I try 19,000 it doesn't work. Are there any limits to loops? Thanks in advance Xur~ Link to comment https://forums.phpfreaks.com/topic/113090-csv-file-stops-inputting-records/ Share on other sites More sharing options...
TransmogriBenno Posted July 3, 2008 Share Posted July 3, 2008 Perhaps the script is timing out - turn on error reporting and see what you get. Link to comment https://forums.phpfreaks.com/topic/113090-csv-file-stops-inputting-records/#findComment-580902 Share on other sites More sharing options...
PFMaBiSmAd Posted July 3, 2008 Share Posted July 3, 2008 You are likely reaching a resource or execution time limit. Add the following two lines after your first opening <?php tag to get php to tell you what it knows - ini_set ("display_errors", "1"); error_reporting(E_ALL); Link to comment https://forums.phpfreaks.com/topic/113090-csv-file-stops-inputting-records/#findComment-580903 Share on other sites More sharing options...
DarkWater Posted July 3, 2008 Share Posted July 3, 2008 Also, add a set_time_limit(0) and see if that helps you out. Link to comment https://forums.phpfreaks.com/topic/113090-csv-file-stops-inputting-records/#findComment-580904 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.