PHP Scripts
Website Security Against Hackers
This script is
very simple.
If you haven't experienced someone hacking your website, then that's good.
If you want to know, however, if someone does sneak in and make subtle changes like injecting javascript to change the title and description, or even to use the CPU power of the host to do mass mailouts, here it is ...
1. Connect to the
database
2. Create a table, like "sizes" with one column, default NULL, varchar 250, called "size"
3. Upload the file, run it, and then bookmark it in your browser, to check as often as you like.
<?php // get the size in bytes of your website // connect to your database and add new // or compare, and update website size
|