When I moved my sites to a dedicated server from HostGator, several things were broken and all are broken involving type coercion. If $_POST['var'] is 0, it is not considered to be an integer and fails a comparison with another integer.
I went through and forced int types on all of those broken places on the site I found, but I'm sure there are more I didn't find. I'm not crazy familiar with PHP.ini configuration, but perhaps you are and can tell me how I can fix this?
Thanks