Added license, fixed short open tag & expired resp

PHP short open tags are discouraged because they may not be enabled on all installs. Additionally, PSR-1 coding standards suggest to only use the form: <?php ?>.