dhillarun Posted March 8, 2007 Share Posted March 8, 2007 I am displaying "Save-As dialogue box" using "header()" function. How to know user has clicked "Save" or "Cancel" button in "Save-As dialogue box"? [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/41737-how-to-know-user-has-clicked-save-or-cancel-button-in-save-as-dialogue-box/ Share on other sites More sharing options...
skali Posted March 8, 2007 Share Posted March 8, 2007 This is a client side action, You php code has already processed the request at this point and sent to client browser. So now you cannot determine what button user pressed. Link to comment https://forums.phpfreaks.com/topic/41737-how-to-know-user-has-clicked-save-or-cancel-button-in-save-as-dialogue-box/#findComment-202432 Share on other sites More sharing options...
dhillarun Posted March 8, 2007 Author Share Posted March 8, 2007 Thanx for ur reply.... Actually I am sending a download notification mail to the user who is downloading a file. So, I should not send any mail if the user have not received the file completely. (like incomplete download, hitting "cancel" button...) Is there any other way to achieve this download delivery confirmation? Link to comment https://forums.phpfreaks.com/topic/41737-how-to-know-user-has-clicked-save-or-cancel-button-in-save-as-dialogue-box/#findComment-202513 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.