This self destruct letter script is fun, fast and mobile friendly. All you have to do is download it and upload it to your server. I created this script a while ago but I made some updates to it. You can see the self destruct letter script in action here. Feel free to use it. Ok, lets go over how it is programmed.
Self Destruct Letter Script
Here are the files. You can copy and paste them into your server. If you do not want to copy and paste all these scripts you can download all the files on the last page.
Database File
Open up your PhpMyAdmin and create a database called selfdestructletters. Click on SQL and insert this code. This will create a table called letters.
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Aug 19, 2022 at 05:26 PM -- Server version: 10.4.16-MariaDB -- PHP Version: 7.4.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `selfdestructletters` -- -- -------------------------------------------------------- -- -- Table structure for table `letters` -- CREATE TABLE `letters` ( `id` int(11) NOT NULL, `long` int(11) NOT NULL, `times` int(11) NOT NULL, `datee` varchar(22) NOT NULL, `letter` text NOT NULL, `ip` varchar(250) NOT NULL, `url` varchar(250) NOT NULL, `timestampp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `letters` -- ALTER TABLE `letters` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `letters` -- ALTER TABLE `letters` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!