Altered POST and fixed a PHP typo