removed phpinfo and added display error setting
set string to check length of the string