NetTalk Central

Author Topic: Temporary Files start with $$$  (Read 2547 times)


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10970
    • View Profile
Temporary Files start with $$$
« on: June 26, 2007, 01:27:58 AM »
Hi all,

TIP: If you are generating a temp file, that is created, sent to the browser, and then needs to be deleted (in other words it will only be served _once_) then start the name with $$$. eg

The web server will automatically delete files that start with $$$ as soon as they are served.

This technique is used by the graphing template and the report tempate, so you'll notice that the PDF files generated and the PNG files generated by these templates both start with $$$.