add charset and upload file
mv code from markdown to php file