<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>system reboot! &#187; xmlapi</title>
	<atom:link href="http://ibnuyahya.com/tag/xmlapi/feed/" rel="self" type="application/rss+xml" />
	<link>http://ibnuyahya.com</link>
	<description>echo help::answer($question)</description>
	<lastBuildDate>Tue, 21 Feb 2012 09:26:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Codeigniter cPanel / WHM XMLAPI Library</title>
		<link>http://ibnuyahya.com/codeigniter-cpanel-whm-xmlapi-library/</link>
		<comments>http://ibnuyahya.com/codeigniter-cpanel-whm-xmlapi-library/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 03:20:24 +0000</pubDate>
		<dc:creator>ibnuyahya</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[whm]]></category>
		<category><![CDATA[xmlapi]]></category>

		<guid isPermaLink="false">http://ibnuyahya.com/?p=679</guid>
		<description><![CDATA[In the past post, http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/ I&#8217;ve shared how to use cpanel xmlapi in codeigniter. However, since CI 2.x.. plugins have been removed. But don&#8217;t worry, you still can use helper to import external php class. Download xmlapi class from the following url https://github.com/CpanelInc/xmlapi-php Rename the file as xmlapi_helper.php and put in your helpers directory application\helpers\xmlapi_helper.php [...]]]></description>
			<content:encoded><![CDATA[<div class="simplesocialbuttons">
<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><div class="g-plusone" data-size="medium" data-href="http://ibnuyahya.com/codeigniter-cpanel-whm-xmlapi-library/"></div></div>
<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div class="fb-like" data-href="http://ibnuyahya.com/codeigniter-cpanel-whm-xmlapi-library/" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div></div>
<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a href="https://twitter.com/share" class="twitter-share-button" data-text="Codeigniter cPanel / WHM XMLAPI Library" data-url="http://ibnuyahya.com/codeigniter-cpanel-whm-xmlapi-library/" rel="nofollow"></a></div>
</div>
<p>In the past post, <a href="http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/">http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/</a> I&#8217;ve shared how to use cpanel xmlapi in codeigniter. However, since CI 2.x.. plugins have been removed. But don&#8217;t worry, you still can use helper to import external php class.</p>
<ol>
<li>Download xmlapi class from the following url <a href="https://github.com/CpanelInc/xmlapi-php" target="_blank">https://github.com/CpanelInc/xmlapi-php</a></li>
<li>Rename the file as xmlapi_helper.php and put in your helpers directory <strong>application\helpers\xmlapi_helper.php</strong></li>
<li>Done. you can call your xmlapi class as the following example</li>
</ol>
<pre class="brush:php">
$this->load->helper('xmlapi');
$xmlapi = new xmlapi($ip);
$xmlapi->password_auth($cpanelUser,$cpanelPwd);
$xmlapi->set_port(2083);
$xmlapi->set_debug(1);
</pre>]]></content:encoded>
			<wfw:commentRss>http://ibnuyahya.com/codeigniter-cpanel-whm-xmlapi-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cpanel xmlapi with codeigniter</title>
		<link>http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/</link>
		<comments>http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 04:25:48 +0000</pubDate>
		<dc:creator>ibnuyahya</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[cpanel api]]></category>
		<category><![CDATA[whm api]]></category>
		<category><![CDATA[xmlapi]]></category>

		<guid isPermaLink="false">http://ibnuyahya.com/?p=158</guid>
		<description><![CDATA[You can download cpanel xmlapi php wrapper from this link http://forums.cpanel.net/f42/xml-api-php-class-version-1-0-a-136449.html to integrate with codeigniter, you can put xmlapi.php file inside your plugins folder. If that folder is not exist.. you need to create yourself. make sure you rename it into xmlapi_pi.php. systemapplicationpluginsxmlapi.php after that.. you can use it in your controller like this $this-&#62;load-&#62;plugin('xmlapi'); [...]]]></description>
			<content:encoded><![CDATA[<div class="simplesocialbuttons">
<div class="simplesocialbutton ssb-button-googleplus"><!-- Google Plus One--><div class="g-plusone" data-size="medium" data-href="http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/"></div></div>
<div class="simplesocialbutton ssb-button-fblike"><!-- Facebook like--><div class="fb-like" data-href="http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div></div>
<div class="simplesocialbutton ssb-buttom-twitter"><!-- Twitter--><a href="https://twitter.com/share" class="twitter-share-button" data-text="cpanel xmlapi with codeigniter" data-url="http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/" rel="nofollow"></a></div>
</div>
<p>You can download cpanel xmlapi php wrapper from this link <a href="http://forums.cpanel.net/f42/xml-api-php-class-version-1-0-a-136449.html" target="_blank">http://forums.cpanel.net/f42/xml-api-php-class-version-1-0-a-136449.html</a></p>
<p>to integrate with codeigniter, you can put <strong>xmlapi.php</strong> file inside your plugins folder. If that folder is not exist.. you need to create yourself. make sure you rename it into <strong>xmlapi_pi.php</strong>.</p>
<blockquote><p><strong>systemapplicationpluginsxmlapi.php</strong></p></blockquote>
<p>after that.. you can use it in your controller like this</p>
<pre class="brush:php">    $this-&gt;load-&gt;plugin('xmlapi');
    $xmlapi = new xmlapi($ip);
    $xmlapi-&gt;password_auth($cpanelUser,$cpanelPwd);
    $xmlapi-&gt;set_port(2083);
    $xmlapi-&gt;set_debug(1);</pre>
<p>For more detail about cpanel api, you can read <a href="http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/WebHome" rel="nofollow">http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/WebHome</a> . Do not hesitate to ask me here if you want to know more detail or sample how to use it.</p>]]></content:encoded>
			<wfw:commentRss>http://ibnuyahya.com/cpanel-xmlapi-with-codeigniter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc (Feed is rejected)
Page Caching using apc
Database Caching 16/28 queries in 0.005 seconds using apc
Object Caching 415/433 objects using apc

Served from: _ @ 2012-02-23 10:54:42 -->
