bmdsherman Posted October 9, 2009 Share Posted October 9, 2009 I have a question and I'm not exactly sure which board this should go in. If I navigate to a php file and stop loading the page before the script finishes executing, does the script continue to execute or does it stop? Link to comment https://forums.phpfreaks.com/topic/177041-php-general-question/ Share on other sites More sharing options...
shane18 Posted October 9, 2009 Share Posted October 9, 2009 You make a request.. then the php file runs withen like a mili second then sends the data to your browser... so i doubt it Link to comment https://forums.phpfreaks.com/topic/177041-php-general-question/#findComment-933469 Share on other sites More sharing options...
bmdsherman Posted October 9, 2009 Author Share Posted October 9, 2009 I know that normally, but I have a php file that usually takes around 10 seconds to execute and I was wondering if I have to sit around an wait, or just call the page and close my browser. Link to comment https://forums.phpfreaks.com/topic/177041-php-general-question/#findComment-933478 Share on other sites More sharing options...
trq Posted October 9, 2009 Share Posted October 9, 2009 Take a look at ignore_user_abort(). Link to comment https://forums.phpfreaks.com/topic/177041-php-general-question/#findComment-933481 Share on other sites More sharing options...
bmdsherman Posted October 9, 2009 Author Share Posted October 9, 2009 thanks! Link to comment https://forums.phpfreaks.com/topic/177041-php-general-question/#findComment-933482 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.