/?')==FALSE) && !ctype_di" name="description">

I have an function in error-status.php like this
function validateHostName($hostName) { if((strpbrk($hostName,'`~!@#$^&*()=+.[ ]{}\|;:\'",<>/?')==FALSE) &&
!ctype_digit($hostName) && eregi("^([a-z0-9-]+)$",$hostName) &&
ereg("^[^-]",$hostName) && ereg("[^-]$",$hostName)) { return true; } else return false; }
now i want to cal this function in my other page which is datetime.php how it is
posible plz plz help me its serious
if($addntp=="") { seterror("0:|: :|: Add NTP server");
//$error_text="NTP server already
added"."\n"."Exiting ..."; //AddLog("timeconfig.php",$errortext,ERRINFO);
header("Location: datetime.php"); exit; }
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.