How to set time execution PHP
Thursday, May 22nd, 2008Some php script need more 30 second for execute you can set limit time using code
set_time_limit(int second ) before php code.
Some php script need more 30 second for execute you can set limit time using code
set_time_limit(int second ) before php code.
Intval() is one of php function that use convert string to int. How to use intval() function
Example:
$string = '010';
$stringtoint = inval($string);
echo $stringtoint;
?>
The result is 10
NuSOAP is a group of PHP classes that allow developers to create and consume SOAP web service. Showing no imagination whatsoever, I used this example to present how to return value is array in nusoap web service. (more…)
The first file I describe in service.php is a service that created in this article describe how to create a client to call service.php . Web service you can call service you must know endpoint of service argument name input parameter not enough you must know the type of input parameter. in service.php that I describe before have one method is “search” input parameter is “keyword”
require_once(’lib\nusoap.php’);
$client = new soapclient(’http://203.157.178.8/hciss/hcissservice/helloservice.php’);
$result = $client->call(’hello’, array(’name’ => ‘Sam’));
printf($result);
?>