Html Input Type File Javascript Substring Function In Mysql