| Author: Padroni | Language: php |
| Description: Self Destructing PHP File | Timestamp: 2015-02-11 04:38:14 -0500 |
| View raw paste | Reply |
- <?php class Delete
- {
- function __destruct()
- {
- }
- }
- $g_delete_on_exit = new Delete();
- ?>
- Add this code to the end of any PHP file to make it self-destruct either on Refresh or exit (browser/tab close)
- Useful if you’re using custom shell / mailer scripts.
| View raw paste | Reply |
