1) Cleaner & smarter code. 2) Form changed to explicit GET. 3) Removal of for-loop for POST. 4) Script auto-detects name, thus removing the hardcoded "awstats.php" and allows renaming. 5) Better and more robust cURL error reporting. 6) Image handling! It will now use cURL to load the images directly from CPanel, thus removing the requirement of installing the images locally. 7) Switched to explicit usage of $_SERVER. 8) Enjoy!