Included in the current Web-Engine:
-A complete maintenance variable. I've created a variable on every page with PHP that i can go into the engine, change my $complete_maintenance equal to true and bam, the entire website is under maintenance. The variable sends every page to a maintenance page that says:
This website is under construction
Please come back in: 45 minutes
now don't make the same mistake i almost did, i created a maintenance variable for just the homepage, thinking that when people go to my website, they will be directed to the maintenance page above. BUT they can simply go to another page and access everything but the homepage. So make sure you create the variable on EVERY page. When the website is not under construction, the variable is equal to false. In just 10 seconds you can down the whole website, and the beauty of it is that no one can see your code if they right click on your web pages and do "view source code" because PHP doesn't show up so they wont know your secrets and how you run your websites. Now the "website is under construction" and the time that is displayed is completely customizable to say whatever you want and set whatever time you want to show. Every website should have an engine and one that is created JUST for your website is the perfect kind.
No comments:
Post a Comment