• Hi there,

    i developed a custom form and i used it as a side template with the wordpress ajaxhandler. There are some custom db operations and finally i generate a pdf file to send the file as email attachment.

    My question is: Where (in which directory) is the best place to store these files? In the upload sub directory? The only requirement is, this folder has to be non accessable. Here i want to add a htaccess deny all.

    Thanks a lot.

    • This topic was modified 2 years, 6 months ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • Yes, a separate directory in the uploads directory would be good for this. You can also protect it from access. If you use Apache, then with an .htaccess file.

Viewing 1 replies (of 1 total)
  • The topic ‘Best place to store files from a custom function’ is closed to new replies.