shlomikalfa Posted November 14, 2008 Share Posted November 14, 2008 hi, I would like to know how can i verify that the user have clicked "Save As/Open" on that dialogue in order to know if i should increment my counter for that file download.... How do i do that ?! [file downloading incrementation]. header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"SomeFile.txt\""); flush(); $data = "This is sent"; $ret = printf("%s",$data); if ($ret > 0){ .... MY funcs...... } The above seems to always send the date.... no matter what you click on the dialogue .... Link to comment https://forums.phpfreaks.com/topic/132676-save-file-dialogue-interaction-how-to-verify/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.