When using json output array in thinkPHP, it is displayed at the bottom of the screen: Do you want to open or save datatest.json from localhost? After selecting to open, it displays again: This file does not have an application associated with it to perform this operation. Please install the application. If the app is already installed, create an association on the "Default App Settings" page. Experts, what is the reason? Thanks
This should be a problem with iE. Change the Content-Type to "text/html;charset=utf-8" and try it