<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ingmar+Rasmuson</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ingmar+Rasmuson"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Ingmar_Rasmuson"/>
	<updated>2026-07-27T15:07:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official_talk:Registration_API&amp;diff=33877</id>
		<title>Linden Lab Official talk:Registration API</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official_talk:Registration_API&amp;diff=33877"/>
		<updated>2007-10-01T07:27:50Z</updated>

		<summary type="html">&lt;p&gt;Ingmar Rasmuson: /* Refer-A-Friend and referral credit in RegAPI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Post questions about the Registration API here.  If you can answer a question, please do.  If not, Linden Lab will try to provide an answer.&lt;br /&gt;
&lt;br /&gt;
==Intermittent Error messages/outages==&lt;br /&gt;
My call to GetCapabilities is ok, but on an intermittent basis, when I try to get the list of names, this is the result: &amp;quot;An fatal error has occurred (error ticket #19178). Please visit the support section at http://secondlife.com/support/ for further assistance. Note this error ticket code and a description of the problem.&lt;br /&gt;
Error Description: undefined method `permission&#039; for #&amp;lt;User:***********&amp;gt;.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I have noticed that other gateways suffer from the same outage at the same times, while others do not. What can I do to prevent the outages from impacting my gateway?&lt;br /&gt;
&lt;br /&gt;
==RegAPI Capabilities expire==&lt;br /&gt;
* A:  We&#039;ve now set them to not expire for 5 years, so this should not be a problem for now, and we&#039;ll fix this in the next revision of the RegAPI. (Glenn Linden, 5/22/07)&lt;br /&gt;
* As of 5/17/07, all existing capabilities were set to expire in 5 years, so for the near term, you only have to worry about this with new RegAPI accounts. (Glenn Linden 5/17/07)&lt;br /&gt;
&lt;br /&gt;
==Do I need to renew the capability URLs every 30 days?==&lt;br /&gt;
A: No. The need to renew the capability URLs every 30 days or for each session is *no longer necessary* in the current reg API (i.e. the one you are using now). The code was changed so the capability URLs&#039; expiration dates is now &#039;long lived&#039; - i.e. expiration date is 5 years. So the need to renew them (and resubmit your password) is no longer needed.&lt;br /&gt;
&lt;br /&gt;
==When will we get additional capabilities with the RegAPI?==&lt;br /&gt;
*A: &#039;&#039;(Update by Sue Linden 2007.09.21)&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;Timeline:&#039;&#039;&#039; At the moment, we plan to have development and QA work done on the new RegAPI by mid October (target 22 Oct).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Features:&#039;&#039;&#039; With the first release of the new RegAPI, you will be able to:&lt;br /&gt;
* Assign groups. NOTE: Group sign-ups will be automated ... users do not have to &amp;quot;accept&amp;quot; groups. &lt;br /&gt;
* Set an improved start location&lt;br /&gt;
* Register people even if the grid is down (i.e. RegAPI will be up regardless if there is planned or unplanned grid downtime)&lt;br /&gt;
* Set initial inventory.&lt;br /&gt;
* Set initial outfit. Avatars will start wearing the initial outfit (including HUDs) specified in the inventory ... like LL does on our orientation island. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Future Features:&#039;&#039;&#039; The following are being considered for future releases of the new RegAPI:&lt;br /&gt;
* Provide additional avatar choices&lt;br /&gt;
* Flag users as only accessing a specific sim, estate, PG / M, or custom list of locations&lt;br /&gt;
* A Test Production Server&lt;br /&gt;
* Registrar Management API:&lt;br /&gt;
**update the TOS messaging that people see&lt;br /&gt;
**close or transfer accounts (i.e. Create accounts and keep ownership of them for &#039;staff/employment&#039; use)&lt;br /&gt;
**Track HTTP Referrer via regAPI users&lt;br /&gt;
**manage load-balancing start locations&lt;br /&gt;
* Add &amp;quot;Verify Me&amp;quot; functions&lt;br /&gt;
* Enable Flash-based RegAPI use&lt;br /&gt;
&lt;br /&gt;
We &amp;lt;b&amp;gt;strongly recommend&amp;lt;/b&amp;gt; you join the regapi mailing list to share information and send inquiries about the existing and new regAPI to others (regapi@lists.secondlife.com).  To join, go to https://lists.secondlife.com/cgi-bin/mailman/listinfo/regapi.&lt;br /&gt;
&lt;br /&gt;
==Will the new version of the regAPI break old applications that use the original implementation?==&lt;br /&gt;
*A: No, good news, the new version will not break the old applications using the original implementation. Existing applications will continue to run but we will stop granting new access to it. Now, the maybe not so good news, the old version will be considered deprecated and will not be compatible with the new API. When we launch the new API, we will provide transition guidelines and encourage people to move to the new one.&lt;br /&gt;
&lt;br /&gt;
==Are there audit requirements on user acknowledgement of the TOS?==&lt;br /&gt;
*A: Checking with legal on this. (Glenn Linden 5/18/07)&lt;br /&gt;
&lt;br /&gt;
==Are 3rd party registration sites required to provide a security image code confirmation function to prevent automated account registration attempts via their sites?==&lt;br /&gt;
*Not yet but we will be able to require that with the new reg api. (Glenn Linden 5/18/07)&lt;br /&gt;
&lt;br /&gt;
==For purposes of clarification, what is an example of usage that is NOT permitted by the following statement?==&lt;br /&gt;
* &#039;&#039;You may not use the Registration API other than as a means of collecting Account registration information from Your Website.&#039;&#039; (section 2.3.1 of API Terms of Use - http://secondlife.com/developers/api/tos.php) &lt;br /&gt;
* A: The primarly limitation is against using it to create accounts that are used by a single person to get around our other account limitations or for fraud. (Glenn Linden 5/18/07)&lt;br /&gt;
&lt;br /&gt;
==Is there an ID number for the custom name?  It looks like this is required by the API for account creation.==&lt;br /&gt;
*A: You should be able to acquire your custom name in the name queue for last names returned by the RegAPI - and then go into the list of returned names to see the ID number for it. This may take a little coding. (Glenn Linden 06/26/07)&lt;br /&gt;
&lt;br /&gt;
==I get the message &amp;quot;An fatal error has occurred (error ticket #NNNNN). Please visit the support section at http://secondlife.com/support/ for further assistance.  Note this error ticket code and a description of the problem.&amp;quot;==&lt;br /&gt;
*A: Usually you get this because you are providing improperly formatted data in the RegAPI.  RegAPI error codes will tell you if you&#039;ve sent bad data, but not if its misformatted.  For example, using * instead of - to seprate elements of the date will give a server error rather than a RegAPI error. ( For the date example, the data is misformatted since the problem is the separator.  It was neither an invalid date (31 Feb) - error 100(not a valid date) - nor a malformed string (07 instead of 2007) - error 110(Date string is malformed)--both of which report problems with the digits.)&lt;br /&gt;
&lt;br /&gt;
==Can I limit accounts to an Estate (island)?==&lt;br /&gt;
You can limit accounts to an estate using the RegAPI:&lt;br /&gt;
&lt;br /&gt;
create_user (POST)  Creates a new Second Life user&lt;br /&gt;
&lt;br /&gt;
POST to this url a LLSD XML document, representing a hash, containing at least &amp;quot;username&amp;quot; (string), &amp;quot;last_name_id&amp;quot; (integer), &amp;quot;email&amp;quot; (string), &amp;quot;dob&amp;quot; (string in YYYY-MM-DD format), &amp;quot;password&amp;quot; (string)&lt;br /&gt;
&lt;br /&gt;
Optional arguments are &amp;quot;limited_to_estate&amp;quot; (integer), &amp;quot;start_region_name&amp;quot; (string), &amp;quot;start_local_x&amp;quot; (float between 0-128), &amp;quot;start_local_y&amp;quot;, &amp;quot;start_local_z&amp;quot;, &amp;quot;start_look_at_x&amp;quot; (float between 0-1), &amp;quot;start_look_at_y&amp;quot;, &amp;quot;start_look_at_z&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If all is successful, a hash containing the new user&#039;s agent_id will be returned. If there are errors, instead an array containing the applicable error codes will be returned.&lt;br /&gt;
&lt;br /&gt;
Estate number (integer) needs to be provided in the Post.&lt;br /&gt;
&lt;br /&gt;
==How do I close accounts I&#039;ve created with the RegAPI?==&lt;br /&gt;
An employee has left, or you otherwise need to close an account you&#039;ve created with the RegAPI.  To do that, you&#039;ll have to contact the Concierge team and have them either change the password or close the account.&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t resolve host &#039;URI_CREATE_USER&#039;==&lt;br /&gt;
You need to define those in your php file.  Here&#039;s an example:&lt;br /&gt;
&lt;br /&gt;
 // Capability URLs&lt;br /&gt;
 // see https://secure-web3.secondlife.com/developers/third_party_reg/&lt;br /&gt;
 define(&#039;URI_CREATE_USER&#039;, &#039;https://cap.secondlife.com/cap/0/12345678-abcd-ef12-1234567812345&#039;);&lt;br /&gt;
 define(&#039;URI_GET_LAST_NAMES&#039;, &#039;https://cap.secondlife.com/cap/0/12345678-abcd-ef12-12345678a5678&#039;);&lt;br /&gt;
 define(&#039;URI_CHECK_NAME&#039;, &#039;https://cap.secondlife.com/cap/0/12345678-abcd-ef12-12345678b9abc&#039;);&lt;br /&gt;
&lt;br /&gt;
==Is there a way to provide a direct secondlife binary download from my website ?==&lt;br /&gt;
We&#039;ve recently launched a service that I think will help you out. Try going to http://get.secondlife.com. This fetches you the latest version of the client for your operating system, no questions asked. &lt;br /&gt;
&lt;br /&gt;
It guesses your OS based on your user-agent, so if you&#039;re using curl or something that doesn&#039;t have a user-agent, it&#039;ll return an HTTP 400.&lt;br /&gt;
 &lt;br /&gt;
If you&#039;re using a script, though, you can hit a specific OS-version: &lt;br /&gt;
* Windows:&lt;br /&gt;
http://get.secondlife.com/win&lt;br /&gt;
* Mac:&lt;br /&gt;
http://get.secondlife.com/mac&lt;br /&gt;
* Linux:&lt;br /&gt;
http://get.secondlife.com/linux&lt;br /&gt;
* If you input an OS that we don&#039;t support, then it&#039;ll return a 404.&lt;br /&gt;
&lt;br /&gt;
==Can we cache the Last Names list?==&lt;br /&gt;
On secondlife.com we cache the last name list every 12 hours.&lt;br /&gt;
&lt;br /&gt;
==Refer-A-Friend and referral credit in RegAPI==&lt;br /&gt;
When will the referral code be implemented into the RegAPI so that RegAPI partners may benefit from their SL promoting activities? --[[User:Ingmar Rasmuson|Ingmar Rasmuson]] 00:27, 1 October 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
[[Category:RegAPI]]&lt;/div&gt;</summary>
		<author><name>Ingmar Rasmuson</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official:Reg_API_Examples&amp;diff=23872</id>
		<title>Linden Lab Official:Reg API Examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official:Reg_API_Examples&amp;diff=23872"/>
		<updated>2007-06-20T10:46:29Z</updated>

		<summary type="html">&lt;p&gt;Ingmar Rasmuson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[RegAPI | RegAPI Main Page]]&lt;br /&gt;
&lt;br /&gt;
Linden Lab provided sample code is here: &lt;br /&gt;
* [http://secondlife.com/developers/third_party_reg/#examples Examples]&lt;br /&gt;
* [http://secondlife.com/developers/third_party_reg/#downloads Downloads]&lt;br /&gt;
** NOTE- the LLSD library has a bug and a new version will be released on 5/21.&lt;br /&gt;
** Add the following line to the function llsd_post_string().&lt;br /&gt;
 Add: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);&lt;br /&gt;
&lt;br /&gt;
--[[User:Ingmar Rasmuson|Ingmar Rasmuson]] 02:16, 23 May 2007 (PDT): &lt;br /&gt;
In addition to the patch I suggested, have a look at the CURL debug section I proposed. It might come in handy when debugging the SSL communication (citing my email to LLB):&lt;br /&gt;
&lt;br /&gt;
As you know, this took me some time to figure out, so perhaps others could benefit from this solution, too:&lt;br /&gt;
 &lt;br /&gt;
I&#039;ve added a &lt;br /&gt;
 &lt;br /&gt;
 // Enable curl debug messages, off by default&lt;br /&gt;
 define(&amp;quot;CURL_DEBUG&amp;quot;,   FALSE);&lt;br /&gt;
 &lt;br /&gt;
at the beginning of the API library for turning CURL debugging on and off and altered the llsd_post_string() function in this way:&lt;br /&gt;
 &lt;br /&gt;
 function llsd_post_string($url, $str)&lt;br /&gt;
 {&lt;br /&gt;
  $ch = curl_init($url);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_POST, TRUE);&lt;br /&gt;
 //suggested patch - start&lt;br /&gt;
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);&lt;br /&gt;
 //suggested patch - end&lt;br /&gt;
  curl_setopt($ch, CURLOPT_FAILONERROR, 1);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_HTTPHEADER, Array(&amp;quot;Content-Type: application/xml&amp;quot;));&lt;br /&gt;
  curl_setopt($ch, CURLOPT_POSTFIELDS, $str);&lt;br /&gt;
  $doc = curl_exec($ch);&lt;br /&gt;
  $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);&lt;br /&gt;
 //suggested debug section - start&lt;br /&gt;
  if (CURL_DEBUG)&lt;br /&gt;
  {&lt;br /&gt;
   print_r(curl_getinfo($ch),&amp;quot;CURL getinfo()&amp;quot;); &lt;br /&gt;
   echo &amp;quot;URL error number: &amp;quot; .curl_errno($ch); &lt;br /&gt;
   echo &amp;quot;URL error: &amp;quot; . curl_error($ch); &lt;br /&gt;
  }&lt;br /&gt;
 //suggested debug section - end&lt;br /&gt;
 curl_close($ch);&lt;br /&gt;
  &lt;br /&gt;
 return llsd_decode($doc);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:RegAPI]]&lt;/div&gt;</summary>
		<author><name>Ingmar Rasmuson</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Ingmar_Rasmuson&amp;diff=21435</id>
		<title>User:Ingmar Rasmuson</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Ingmar_Rasmuson&amp;diff=21435"/>
		<updated>2007-05-23T11:55:49Z</updated>

		<summary type="html">&lt;p&gt;Ingmar Rasmuson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;... is an employee of Metaversal Media and responsible for Custom Development&lt;/div&gt;</summary>
		<author><name>Ingmar Rasmuson</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Ingmar_Rasmuson&amp;diff=21434</id>
		<title>User:Ingmar Rasmuson</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Ingmar_Rasmuson&amp;diff=21434"/>
		<updated>2007-05-23T11:55:16Z</updated>

		<summary type="html">&lt;p&gt;Ingmar Rasmuson: Added profile info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;... is an employee at Metaversal Media and responsible for Custom Development&lt;/div&gt;</summary>
		<author><name>Ingmar Rasmuson</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official:Reg_API_Examples&amp;diff=21433</id>
		<title>Linden Lab Official:Reg API Examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official:Reg_API_Examples&amp;diff=21433"/>
		<updated>2007-05-23T11:52:45Z</updated>

		<summary type="html">&lt;p&gt;Ingmar Rasmuson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[RegAPI | RegAPI Main Page]]&lt;br /&gt;
&lt;br /&gt;
Linden Lab provided sample code is here: &lt;br /&gt;
* [http://secondlife.com/developers/third_party_reg/#examples Examples]&lt;br /&gt;
* [http://secondlife.com/developers/third_party_reg/#downloads Downloads]&lt;br /&gt;
** NOTE- the LLSD library has a bug and a new version will be released on 5/21.&lt;br /&gt;
** Add the following line to the function llsd_post_string().&lt;br /&gt;
 Add: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);&lt;br /&gt;
&lt;br /&gt;
--[[User:Ingmar Rasmuson|Ingmar Rasmuson]] 02:16, 23 May 2007 (PDT): &lt;br /&gt;
In addition to the patch I suggested, have a look at the CURL debug section I proposed. It might come in handy when debugging the SSL communication (citing my email to LLB):&lt;br /&gt;
&lt;br /&gt;
As you now, this took me some time to figure out, so perhaps others could benefit from this solution, too:&lt;br /&gt;
 &lt;br /&gt;
I&#039;ve added a &lt;br /&gt;
 &lt;br /&gt;
 // Enable curl debug messages, off by default&lt;br /&gt;
 define(&amp;quot;CURL_DEBUG&amp;quot;,   FALSE);&lt;br /&gt;
 &lt;br /&gt;
at the beginning of the API library for turning CURL debugging on and off and altered the llsd_post_string() function in this way:&lt;br /&gt;
 &lt;br /&gt;
 function llsd_post_string($url, $str)&lt;br /&gt;
 {&lt;br /&gt;
  $ch = curl_init($url);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_POST, TRUE);&lt;br /&gt;
 //suggested patch - start&lt;br /&gt;
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);&lt;br /&gt;
 //suggested patch - end&lt;br /&gt;
  curl_setopt($ch, CURLOPT_FAILONERROR, 1);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_HTTPHEADER, Array(&amp;quot;Content-Type: application/xml&amp;quot;));&lt;br /&gt;
  curl_setopt($ch, CURLOPT_POSTFIELDS, $str);&lt;br /&gt;
  $doc = curl_exec($ch);&lt;br /&gt;
  $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);&lt;br /&gt;
 //suggested debug section - start&lt;br /&gt;
  if (CURL_DEBUG)&lt;br /&gt;
  {&lt;br /&gt;
   print_r(curl_getinfo($ch),&amp;quot;CURL getinfo()&amp;quot;); &lt;br /&gt;
   echo &amp;quot;URL error number: &amp;quot; .curl_errno($ch); &lt;br /&gt;
   echo &amp;quot;URL error: &amp;quot; . curl_error($ch); &lt;br /&gt;
  }&lt;br /&gt;
 //suggested debug section - end&lt;br /&gt;
 curl_close($ch);&lt;br /&gt;
  &lt;br /&gt;
 return llsd_decode($doc);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:RegAPI]]&lt;/div&gt;</summary>
		<author><name>Ingmar Rasmuson</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official:Reg_API_Examples&amp;diff=21428</id>
		<title>Linden Lab Official:Reg API Examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Linden_Lab_Official:Reg_API_Examples&amp;diff=21428"/>
		<updated>2007-05-23T09:16:09Z</updated>

		<summary type="html">&lt;p&gt;Ingmar Rasmuson: How to add CURL debug info to API&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Back to [[RegAPI | RegAPI Main Page]]&lt;br /&gt;
&lt;br /&gt;
Linden Lab provided sample code is here: &lt;br /&gt;
* [http://secondlife.com/developers/third_party_reg/#examples Examples]&lt;br /&gt;
* [http://secondlife.com/developers/third_party_reg/#downloads Downloads]&lt;br /&gt;
** NOTE- the LLSD library has a bug and a new version will be released on 5/21.&lt;br /&gt;
** Add the following line to the function llsd_post_string().&lt;br /&gt;
 Add: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);&lt;br /&gt;
&lt;br /&gt;
--[[User:Ingmar Rasmuson|Ingmar Rasmuson]] 02:16, 23 May 2007 (PDT): &lt;br /&gt;
In addition to the patch I suggested, have a look at the CURL debug section I proposed. It might come in handy when debugging the SSL communication (citing my email to LLB):&lt;br /&gt;
&lt;br /&gt;
As you now, this took me some time to figure out, so perhaps others could benefit from this solution, too:&lt;br /&gt;
 &lt;br /&gt;
I&#039;ve added a &lt;br /&gt;
 &lt;br /&gt;
 // Enable curl debug messages, off by default&lt;br /&gt;
 define(&amp;quot;CURL_DEBUG&amp;quot;,   FALSE);&lt;br /&gt;
 &lt;br /&gt;
at the beginning of the API library for turning CURL debugging on and off and altered the llsd_post_string() function in this way:&lt;br /&gt;
 &lt;br /&gt;
 function llsd_post_string($url, $str)&lt;br /&gt;
 {&lt;br /&gt;
  $ch = curl_init($url);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_POST, TRUE);&lt;br /&gt;
 //suggest patch - start&lt;br /&gt;
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);&lt;br /&gt;
 //suggested patch - end&lt;br /&gt;
  curl_setopt($ch, CURLOPT_FAILONERROR, 1);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);&lt;br /&gt;
  curl_setopt($ch, CURLOPT_HTTPHEADER, Array(&amp;quot;Content-Type: application/xml&amp;quot;));&lt;br /&gt;
  curl_setopt($ch, CURLOPT_POSTFIELDS, $str);&lt;br /&gt;
  $doc = curl_exec($ch);&lt;br /&gt;
  $code = curl_getinfo($ch, CURLINFO_HTTP_CODE);&lt;br /&gt;
 //suggested debug section - start&lt;br /&gt;
  if (CURL_DEBUG)&lt;br /&gt;
  {&lt;br /&gt;
   print_r(curl_getinfo($ch),&amp;quot;CURL getinfo()&amp;quot;); &lt;br /&gt;
   echo &amp;quot;URL error number: &amp;quot; .curl_errno($ch); &lt;br /&gt;
   echo &amp;quot;URL error: &amp;quot; . curl_error($ch); &lt;br /&gt;
  }&lt;br /&gt;
 //suggested debug section - end&lt;br /&gt;
 curl_close($ch);&lt;br /&gt;
  &lt;br /&gt;
 return llsd_decode($doc);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:RegAPI]]&lt;/div&gt;</summary>
		<author><name>Ingmar Rasmuson</name></author>
	</entry>
</feed>