I have a dev server that is just a local box here, windows os powered by wamp server. Pretty simple setup. Latest versions of Apache and PHP. My live dedicated server, a unix box, is also running Apache 2.2 and PHP 5.
Here is the code I am having trouble with.
if (preg_match("/^\d{5}$/",$number)) {
On my dev server this works, but on the unix box if $number is any one number, or it's 4 numbers, it will still pass it through. Do I have something with my syntax I am missing or is this a server config issue?