compatiblei to php5.4 more
add validation of php upload error
Merge pull request #29 from eru/php54compatible

compatiblei to php5.4 more
Merge pull request #30 from eru/validatePhpError

add validation of php upload error