Is it possible to create a temporary directory on a hosting server with the same functionality as the tmp folder in the root directory?
I need a second tmp folder to temporary store files that I’m uploading to another web service. I want to avoid unlink() functions or cron jobs for deleting files.
Yes you can …. using System::mktemp
Or you can run the command using exec