web services

Fix for XML RPC example for Drupal 6.x Services

  1. <?php
  2.  
  3. /**
  4.  * Function for generating a random string, used for
  5.  * generating a token for the XML-RPC session
  6.  */
  7. function getUniqueCode($length = "") {
  8.   $code = md5(uniqid(rand(), true));
  9.  

Fix for XML RPC example for Drupal 6.x Services

  1. <?php
  2.  
  3. /**
  4.  * Function for generating a random string, used for
  5.  * generating a token for the XML-RPC session
  6.  */
  7. function getUniqueCode($length = "") {
  8.   $code = md5(uniqid(rand(), true));
  9.  

XML RPC example for Drupal 6.x Services

  1. <?php
  2.  
  3. /**
  4.  * Function for generating a random string, used for
  5.  * generating a token for the XML-RPC session
  6.  */
  7. function getUniqueCode($length = "") {
  8.   $code = md5(uniqid(rand(), true));
  9.  
Syndicate content