Added MA4 versions of PHP files

Added the MA4 versions of common.php, index.php, and result.php to the repository.