I'm new to php and I'm trying to figure out how to export my file to a different directory. So far I have..
header("Content-Type: application/json");
header("Content-Disposition attachment; filename=\"test.text\"");
I export my file, but they all go to Downloads, how can I make it go to my /Desktop?
Thanks in advance.
You can't change that with code. You need to change that setting in your browser.