php and mysql script timeout with no errors? -
Below is my code, it's a script that I need to run just 1 time to update a new MySQL table I have 60,000 users and added 268 rows and added, it showed no errors or nothing, it was not yet left and I do not know why?
& lt; Php require_once "../config/functions.inc.php"; // Get users $ sql = 'Select * from friend_login'; $ Result = executable ($ sql); ($ Line = mysql_fetch_assoc ($ result)) {// states in accordance with RAND () range from $ sql = 'SELECT * to order 1); $ State = getSecillegalRsult ($ sql); Convert // latitude and long $ geo = get_geo ($ state); $ Lat = $ geo ['latitude']; $ Long = $ geo ['longitude']; // Enter in place / Long time log in table $ insert = "buddy_position (user_id, latitude,` tall`) values ('$ line [auto_id]', '$ lat', '$ long') "; ExecuteQuery (insert $); Echo 'update with user' $ State '& lt; BR & gt; UserID = '. $ Line [auto_id] '& Lt; BR & gt; & Lt; BR & gt; & Lt; BR & gt; '; }? & Gt; Try setting the maximum script execution time to 0 (infinite):
ini_set ('max_execution_time', 0);
If you have display_errors or error_reporting turned off, you will not see a serious error generated by the timeout.
Comments
Post a Comment