<html>
<head>
<title>Untitled</title>
</head>
<body>
<?php
$in="2344";
if(ereg("^(-{0,1}|\+{0,1})[0-9]+(\.{0,1}[0-9]+)[GV_contentText]quot;,$in)) {
echo "Ok! It is a number, ";
print ((strrpos($in,'-') or strrpos($in,'.'))?"but it is not + int!":"and it is a + int!";
} else echo "Sorry,Please input again!";
?>
</body>
</html>