Posted Mon, 05/31/2010 - 21:07 by sheetal
In php, you can use the following script to find the age.
$age = floor((time() - strtotime($dob))/31556926);
where $dob is date in any format.
Posted Mon, 05/31/2010 - 21:05 by sheetal
XMLRPC server gives xml reponse in following way.
<methodResponse>
<fault>
<value>
<struct>
<member>
<name></name>
Posted Mon, 05/31/2010 - 21:04 by sheetal
1. Following is the xml format for sending the request
$xmlrequest= "<?xml version='1.0'?>
<methodCall>
<methodName>myservices.test</methodName>
<params>
Posted Mon, 05/31/2010 - 21:01 by sheetal
1. Download services module from
http://drupal.org/project/Services
2. Unzip the service module directory and copy inside sites/all/modules directory
Posted Mon, 05/31/2010 - 21:00 by admin
1. Read remote url.
var url ='<!--#echo var="REMOTE_HOST"-->';
2. Enter list of additional url
var additional_url = ["http://www.abc.com"];
3. Create a regular expression string.
var handleurl = additional_url.join("|");