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

php function call

php function call

I have an function in error-status.php like this

function validateHostName($hostName) { if((strpbrk($hostName,'`[email protected]#$^&*()=+.[ ]{}\|;:\'",<>/?')==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; }

View Answers

Ads









Related Tutorials/Questions & Answers:
call function in php
call function in php  What is the call function in PHP please explain
php function call
php function call  I have an function in error-status.php like this function validateHostName($hostName) { if((strpbrk($hostName,'`[email protected]#$^&... to cal this function in my other page which is datetime.php how it is posible
Advertisements
Fatal error: Call to undefined function session_register() in .php file
Fatal error: Call to undefined function session_register() in .php file  I upgraded the PHP and MySQL and in my application following error is coming: Fatal error: Call to undefined function session_register() in ...php file
If function in PHP
If function in PHP  Hi, Provide me the example of If function in PHP. Thanks   Hi, If function is PHP is used to check for some condition and the execute a block of code. He is an example of if() function in PHP
call to a member function
call to a member function  While uploading the data on server i am getting following error... call to a member function children
UIWebView call javascript function
from UIWebView. Please let's know how to call JavaScript function from objective c... to call javascript function: [webView stringByEvaluatingJavaScriptFromString...UIWebView call javascript function  Hi, I am developing web browser
variable function in php
variable function in php  Can any one tell me how to write a variable function in PHP?   Go through the PHP Variable function tutorial ... PHP Variable Function
What is the microtime() Function PHP ?
What is the microtime() Function PHP ?   Hi, What is microtime() Function in PHP? What is the role of Microtime() Function in PHP. Please suggest me any online reference. Thanks
array_merge function in php - PHP
array_merge function in php  What is the best use of array_merge function in php?  Hi Friend, Please visit the following links: http://www.roseindia.net/tutorial/php/phpbasics/PHP-Array-Merge-Recursive.html http
variable function in php
variable function in php  Can any one tell me how to write a variable function in PHP
Eval Function in PHP
Eval Function in PHP  Hello PHP experts, Please tell me about Eval() Function in PHP. How to use Eva() function in PHP? Thanks   Hi, The Eval() function is PHP is very handy. It allows to you store the PHP code
Array Sizeof Function PHP
Array Sizeof Function PHP  Hi, How to count the number of elements in an array using the PHP Array sizeof() function? Please provides me online help links or example of array sizedof() PHP. Thanks
PHP idate() Function
help related to PHP idate() Function. I waiting for your valuable suggestion. Thanks,   Hi, The idate() Function in PHP will returns a string... time if no timestamp is given. Syntax of PHP idate() Function :... int idate
How to use the PHP filetype() Function
How to use the PHP filetype() Function  Hi, What is the use of filetype() Function in php programming. Can anyone give any online example of the PHP filetype() Function. Thanks
PHP file_get_contents() Function
PHP file_get_contents() Function  Hi, How do i read the content of file using PHP program? So kindly provide any example or online help reference for filegetcontents() Function in PHP. Please feel free to suggest. Thanks
error call to undefined function mysql_connect
error call to undefined function mysql_connect  what is error call to undefined function mysql_connect
how to call javascript function from flex
how to call javascript function from flex  how to call javascript function from flex
How to Declare fflush() Function in PHP
How to Declare fflush() Function in PHP  Hi, Can someone give my any online example for write all the buffered data of an open file. Is it appropriate to use the PHP fflush() Function to develop this application? Please suggest
How to call Array Length for loop in PHP
How to call Array Length for loop in PHP  Hello, I am learner in PHP scripting Language. How can I use the array length for loop in PHP programming language? Kindly provides online help guide or reference links. Thanks
What is the use of Print or Echo Function in PHP?
What is the use of Print or Echo Function in PHP?  Hi, Can anyone explain what is the use of print or Echo function in PHP? Please provide online... or Echo Function in PHP are same. But on comparing we can say that echo function
Flex - Call JavaScript Function And Open a Popup Window that Displays Data
Flex - Call JavaScript Function And Open a Popup Window that Displays Data  Flex - Call JavaScript Function And Open a Popup Window that Displays Data
how to call java script function through java class file
how to call java script function through java class file  how to call jframe in java script
Datepicker not getting called through include function of php
handler on the startDate input to call the setReservationDates function...; When I call this datepicker through include function as below...Datepicker not getting called through include function of php  my
how to call the array variable in scriptlet from javascript function
how to call the array variable in scriptlet from javascript function  This is the scriptlet code:- <% String[] abc={"saab","volvo","bmw","Benz... and display them in the dropdown list by using the below function function myFunction
The strlen() function
The strlen() function The strlen() function is used to find the length of a string. Syntax is given below : strlen(string) The below example gives you a clear idea : Example : <?php echo strlen("Welcome
The strpos() function
The strpos() function The strpos() function is used to find the availability of a sub string/string inside a string. This function returns FALSE... : Example : <?php echo strpos("Hello PHP!","PHP"); ?>
The $_Request Function
The $_Request Function The contents of both $_GET, $_POST, and $_COOKIE are contained by the PHP built-in $_REQUEST function. $_REQUEST Method is used...;?php echo $_REQUEST["name"]; ?><br /> Address :<?php echo
The $_POST Function
The $_POST Function The $_POST function in PHP is used to gather data of form... of form as given below : Name :<?php echo $_POST["name"]; ?><br /> Address : <?php echo $_POST["address"]; ?>
The $_GET Function
The $_GET Function The $_GET function in PHP is used to gather data of form... of submitted form in a PHP page using $_GET method as follows : Your Name :<?php echo $_GET["name"]; ?>.<br /> Address :<?php echo $_GET
function
function  difference between function overloading and operator overloading
php
php   what is php   PHP Tutorials

Ads