PHP-Code:
if (is_integer($USR)== 'True' and is_integer($PWD)=='True' ){balalab Code}
if (is_integer($USR)== 'True' and is_integer($PWD)=='True' ){balalab Code}
if (is_integer($USR)== TRUE and is_integer($PWD)==TRUE ){balalab Code}
// bzw:
if ((bool)is_integer($USR)== TRUE and (bool)is_integer($PWD)==TRUE ){balalab Code}
if(preg_match("/^([0-9]+)$/",$PWD))
{
//blah...
}
if(preg_match("/^([0-9]+)$/",$PWD))
{ //blah...}
Kommentar