<?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>貳夢の弦 &#187; WHM</title>
	<atom:link href="http://blog.frost.tw/tag/whm/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.frost.tw</link>
	<description>夢醒之時，驚覺一切都是虛幻。前行吧！迷途者。</description>
	<lastBuildDate>Wed, 26 Oct 2011 13:28:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.frost.tw/?pushpress=hub'/>
		<item>
		<title>萬念俱灰的感覺……</title>
		<link>http://blog.frost.tw/life/poston-2010-07-05/postid-574</link>
		<comments>http://blog.frost.tw/life/poston-2010-07-05/postid-574#comments</comments>
		<pubDate>Mon, 05 Jul 2010 11:24:40 +0000</pubDate>
		<dc:creator>蒼時弦や</dc:creator>
				<category><![CDATA[生活雜記]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://blog.frost.tw/?p=574</guid>
		<description><![CDATA[上次有提到取得 WHM/cPanel 帳號一組～ 之後我又去搞了很多組（誤 總之，現在身上有四組，一組是朋友租VPS開給我的。 不過，殘念的事情就要發生啦！ 一開始拿到的那一組，再某主機上。 而開放給會員試用後，會員便開始抱怨了！ 「為什麼RVSkin會顯示404錯誤？」 接著我打開檢查…… 「無法連線……」 唔…… 這開始讓我想要換台主機了！ 於是，我開始尋找其他Free Reseller Plan&#8230; *此時已經取得第二組帳號，而伺服器竟然同一台！ 於是，我就選了一直不想使用的那一台…… 「好阿！」 「嗯，那帳號就***」 「嗯！」 「&#8212;帳號資訊&#8212;」 我一看伺服器IP&#8230; (我可以退貨嗎-口-&#124;&#124;&#124;) 竟然又是同一台，而我又不想說出來（囧 *畢竟這……多少不用放廣告代碼！ 這下其實我頭疼了～～ 不過看在這次管理員說「可能會換主機」的情況上…… 我就暫時觀察吧！ 不過，殘念的體驗我就無法行容啦……<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">取得 WHM/cPanel 帳號一組～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WHM/cPanel for DiscuzX 的插件～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用 PHP 對 cPanel/WHM 下達新增帳號指令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2009-09-10%2Fpostid-23&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">與時間賽跑的生活</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>上次有提到取得 WHM/cPanel 帳號一組～<br />
之後我又去搞了很多組（誤</p>
<p>總之，現在身上有四組，一組是朋友租VPS開給我的。<br />
不過，殘念的事情就要發生啦！<br />
<span id="more-574"></span><br />
一開始拿到的那一組，再某主機上。<br />
而開放給會員試用後，會員便開始抱怨了！<br />
「為什麼RVSkin會顯示404錯誤？」<br />
接著我打開檢查……<br />
「無法連線……」</p>
<p>唔……<br />
這開始讓我想要換台主機了！<br />
於是，我開始尋找其他Free Reseller Plan&#8230;<br />
*此時已經取得第二組帳號，而伺服器竟然同一台！</p>
<p>於是，我就選了一直不想使用的那一台……<br />
「好阿！」<br />
「嗯，那帳號就***」<br />
「嗯！」<br />
「&#8212;帳號資訊&#8212;」<br />
我一看伺服器IP&#8230;<br />
(我可以退貨嗎-口-|||)</p>
<p>竟然又是同一台，而我又不想說出來（囧<br />
*畢竟這……多少不用放廣告代碼！</p>
<p>這下其實我頭疼了～～<br />
不過看在這次管理員說「可能會換主機」的情況上……<br />
我就暫時觀察吧！</p>
<p>不過，殘念的體驗我就無法行容啦……</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">取得 WHM/cPanel 帳號一組～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WHM/cPanel for DiscuzX 的插件～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用 PHP 對 cPanel/WHM 下達新增帳號指令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2009-09-10%2Fpostid-23&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">與時間賽跑的生活</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.frost.tw/life/poston-2010-07-05/postid-574/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WHM/cPanel for DiscuzX 的插件～</title>
		<link>http://blog.frost.tw/life/poston-2010-07-04/postid-572</link>
		<comments>http://blog.frost.tw/life/poston-2010-07-04/postid-572#comments</comments>
		<pubDate>Sun, 04 Jul 2010 11:26:01 +0000</pubDate>
		<dc:creator>蒼時弦や</dc:creator>
				<category><![CDATA[生活雜記]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://blog.frost.tw/?p=572</guid>
		<description><![CDATA[呼呼～ 今天總算是把WHM/cPanel用API弄在 cPanel 上了！ 不過發生了一些小插曲呢！ 總之，現在大概是可以使用的狀態了～ 當我完成之後，我便很高興到 7DPS 上面發佈。 不過卻被版主說了：「我昏！這種東西就別放上來！」 不過我想版主這樣說也是有理由的，畢竟他自己做的那個強大很多。 （似乎是 DA 用的） 不過我是不在意這點啦！ 因為我這個是雛型，根本就還沒深入製作呢！ 能變多強大我自己不知道，但是我知道我肯定會做到「非常多功能」的程度。 雖然現在只能設定一台Server, 一個Package和開通/停用/刪除帳號而已。 不過我的目標可遠大呢！ 我要做到什麼程度呢？ 1. 用論壇幣收費，而且自動扣除 2. 可以設定多台 Server 3. 可以即時管理Package 4. 用戶可以自己選Server和Package 5. 使用特殊主題達成 6. 可以找回密碼 7. 可以批次管理 等等…… 總之，我也不想屈就在這種程度的插件呢！ 希望下次我發佈時，那位版主不會在說話了！ 雖然下次發怖可能要等好一陣子了！ &#8230; <a href="http://blog.frost.tw/life/poston-2010-07-04/postid-572">Continue reading <span class="meta-nav">&#8594;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">取得 WHM/cPanel 帳號一組～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用 PHP 對 cPanel/WHM 下達新增帳號指令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">萬念俱灰的感覺……</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-02-11%2Fpostid-384&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Discuz 多用戶論壇開發 – 啟動</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>呼呼～<br />
今天總算是把WHM/cPanel用API弄在 cPanel 上了！<br />
不過發生了一些小插曲呢！<br />
總之，現在大概是可以使用的狀態了～<br />
<span id="more-572"></span><br />
當我完成之後，我便很高興到 7DPS 上面發佈。<br />
不過卻被版主說了：「我昏！這種東西就別放上來！」<br />
不過我想版主這樣說也是有理由的，畢竟他自己做的那個強大很多。<br />
（似乎是 DA 用的）</p>
<p>不過我是不在意這點啦！<br />
因為我這個是雛型，根本就還沒深入製作呢！<br />
能變多強大我自己不知道，但是我知道我肯定會做到「非常多功能」的程度。<br />
雖然現在只能設定一台Server, 一個Package和開通/停用/刪除帳號而已。</p>
<p>不過我的目標可遠大呢！<br />
我要做到什麼程度呢？<br />
1. 用論壇幣收費，而且自動扣除<br />
2. 可以設定多台 Server<br />
3. 可以即時管理Package<br />
4. 用戶可以自己選Server和Package<br />
5. 使用特殊主題達成<br />
6. 可以找回密碼<br />
7. 可以批次管理<br />
等等……</p>
<p>總之，我也不想屈就在這種程度的插件呢！<br />
希望下次我發佈時，那位版主不會在說話了！</p>
<p>雖然下次發怖可能要等好一陣子了！<br />
（畢竟我要強化更多功能～）</p>
<p>總之，想參觀的請到 Fate of Eternity 站上喔！<br />
（只有前五位可以享受到所謂的「被開通」）</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">取得 WHM/cPanel 帳號一組～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用 PHP 對 cPanel/WHM 下達新增帳號指令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">萬念俱灰的感覺……</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-02-11%2Fpostid-384&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Discuz 多用戶論壇開發 – 啟動</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.frost.tw/life/poston-2010-07-04/postid-572/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>取得 WHM/cPanel 帳號一組～</title>
		<link>http://blog.frost.tw/life/poston-2010-06-27/postid-562</link>
		<comments>http://blog.frost.tw/life/poston-2010-06-27/postid-562#comments</comments>
		<pubDate>Sun, 27 Jun 2010 11:03:39 +0000</pubDate>
		<dc:creator>蒼時弦や</dc:creator>
				<category><![CDATA[生活雜記]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://blog.frost.tw/?p=562</guid>
		<description><![CDATA[因為 Foe (Fate of Eternity) 的關係，我還是去找了 Free Reseller 的帳號來用。 不過域名處理方式目前還沒決定，不過目前是可以開設帳號了！ 既然有了 WHM 那麼我最喜歡的「程式開發」又能動起來摟！ 以前網誌有寫過一篇利用 cPanel API 新增帳戶的技術，這次也會用這個「延伸」喔！ 其實在我尋找 Free Reseller 的過程中，我看到了很妙的「資訊」 那就是竟然有人將「容量和流量」的使用量顯示出來，我就想，是程式？還是人工呢？ 當然，這些東西我不可能無聊到「手動」去計算。 所以我猜測是「程式」所為，因此我開始了 Google 之旅！ 沒想到，真的被我找到了一篇文章可以取得使用者容量和流量使用的文章。 身為一位「程式設計師」當然會馬上動腦，完成自己的「目標功能」 我根據 cPanel 的API文件，以及該文章的原始碼。 經過幾分鐘的「思考」已經完成所謂的「總計」版本拉！ 也許暑假的某一天，永恆命運的插件會突然多出一個，然後顯示著用戶消耗多少資源呢！ 既然現在取得 WHM/cPanel 的帳號，我就會開始準備所謂的特殊主題！ 大致上會是一個架構，申請者如平常一般發文章，並且填寫上附加資訊。 接著，有權限「審核」的人就可以進行審核拉！ 點選通過，就會發出短訊和開通帳號，這樣很方便吧？ 得知這種做法，是我從 &#8230; <a href="http://blog.frost.tw/life/poston-2010-06-27/postid-562">Continue reading <span class="meta-nav">&#8594;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WHM/cPanel for DiscuzX 的插件～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用 PHP 對 cPanel/WHM 下達新增帳號指令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">萬念俱灰的感覺……</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-08-21%2Fpostid-661&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">田園生活（亂入</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>因為 Foe (Fate of Eternity) 的關係，我還是去找了 Free Reseller 的帳號來用。<br />
不過域名處理方式目前還沒決定，不過目前是可以開設帳號了！<br />
既然有了 WHM 那麼我最喜歡的「程式開發」又能動起來摟！<br />
以前網誌有寫過一篇利用 cPanel API 新增帳戶的技術，這次也會用這個「延伸」喔！<br />
<span id="more-562"></span><br />
其實在我尋找 Free Reseller 的過程中，我看到了很妙的「資訊」<br />
那就是竟然有人將「容量和流量」的使用量顯示出來，我就想，是程式？還是人工呢？<br />
當然，這些東西我不可能無聊到「手動」去計算。<br />
所以我猜測是「程式」所為，因此我開始了 Google 之旅！<br />
沒想到，真的被我找到了一篇文章可以取得使用者容量和流量使用的文章。</p>
<p>身為一位「程式設計師」當然會馬上動腦，完成自己的「目標功能」<br />
我根據 cPanel 的API文件，以及該文章的原始碼。<br />
經過幾分鐘的「思考」已經完成所謂的「總計」版本拉！</p>
<p>也許暑假的某一天，永恆命運的插件會突然多出一個，然後顯示著用戶消耗多少資源呢！</p>
<p>既然現在取得 WHM/cPanel 的帳號，我就會開始準備所謂的特殊主題！<br />
大致上會是一個架構，申請者如平常一般發文章，並且填寫上附加資訊。</p>
<p>接著，有權限「審核」的人就可以進行審核拉！<br />
點選通過，就會發出短訊和開通帳號，這樣很方便吧？<br />
得知這種做法，是我從 iPanel 和 WHMCS 上發現的。<br />
當然，也是發現 cPanel 有 API 之後的事情。</p>
<p>那麼，請各位期待我的「新插件」喔！</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WHM/cPanel for DiscuzX 的插件～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">用 PHP 對 cPanel/WHM 下達新增帳號指令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-05%2Fpostid-574&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">萬念俱灰的感覺……</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-08-21%2Fpostid-661&from=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">田園生活（亂入</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.frost.tw/life/poston-2010-06-27/postid-562/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>用 PHP 對 cPanel/WHM 下達新增帳號指令</title>
		<link>http://blog.frost.tw/code/poston-2009-12-26/postid-283</link>
		<comments>http://blog.frost.tw/code/poston-2009-12-26/postid-283#comments</comments>
		<pubDate>Sat, 26 Dec 2009 10:52:43 +0000</pubDate>
		<dc:creator>蒼時弦や</dc:creator>
				<category><![CDATA[程式語言]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[網站]]></category>
		<category><![CDATA[開發]]></category>

		<guid isPermaLink="false">http://blog.frost.tw/?p=283</guid>
		<description><![CDATA[前幾天，我意外取得 iPanel 的 Nulled 版本。 因此詢問初心者站長的管理員興趣，並且嘗試整合到 Discuz 論壇幣系統。 經過幾天調查，發現不適用之後又轉向 WHMCS 研究。 而這兩款都使用特殊的加密（Zend的擴充套件，還未完全破解） 因此我無法理解原理，也無法做其他處理。 而在使用MSN對談過程中，我獲得了一個啟發「Access Key」與 cPanel 關係。 因此著手蒐集資料，最後在 cPanel Wiki 發現我的答案。 這是cPanel的一個API能夠控制 WHM 在 Wiki 顯示為 XmlApi 支援格式有 JSON 和 XML 兩種。 官方也公佈了一套範例 PHP 檔案，此篇文章則以其中核心部份 xmlapi.php.inc 做說明。 1.  到 cPanel &#8230; <a href="http://blog.frost.tw/code/poston-2009-12-26/postid-283">Continue reading <span class="meta-nav">&#8594;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">取得 WHM/cPanel 帳號一組～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WHM/cPanel for DiscuzX 的插件～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-09-06%2Fpostid-13&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">PHP5比PHP4好用！</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fweb-project%2Fposton-2010-03-10%2Fpostid-444&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DIY一個PHP留言板之反思(一)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>前幾天，我意外取得 iPanel 的 Nulled 版本。<br />
因此詢問初心者站長的管理員興趣，並且嘗試整合到 Discuz 論壇幣系統。<br />
經過幾天調查，發現不適用之後又轉向 WHMCS 研究。<br />
<span id="more-283"></span><br />
而這兩款都使用特殊的加密（Zend的擴充套件，還未完全破解）<br />
因此我無法理解原理，也無法做其他處理。</p>
<p>而在使用MSN對談過程中，我獲得了一個啟發「Access Key」與 cPanel 關係。<br />
因此著手蒐集資料，最後在 cPanel Wiki 發現我的答案。</p>
<p>這是cPanel的一個API能夠控制 WHM 在 Wiki 顯示為 XmlApi<br />
支援格式有 JSON 和 XML 兩種。</p>
<p>官方也公佈了一套範例 PHP 檔案，此篇文章則以其中核心部份 xmlapi.php.inc 做說明。</p>
<p>1.  到<a href="http://sdk.cpanel.net/lib/xmlapi/php/cp_xmlapi_php_v.0.1.tar.gz" target="_blank"> cPanel Wiki </a>下載範例壓縮檔，並且把 xmlapi.php.inc 複製到要製作的目錄。</p>
<p>2. 新增一個 PHP 檔案，內容參考 範例壓縮檔 任一檔案撰寫。</p>
<pre class="brush:php">include('xmlapi.php.inc'); //讀入程式庫

$server = 'domain.com'; //主機域名
$user = 'username'; //登入帳號（某些指令需要root帳號）
$accesskey = ''; //Access Key 可到 WHM 控制台複製（直接貼上即可，無須理會斷行）

//cPanel API Object
$cpapi = new xmlapi($server); //建立物件並連接主機
$cpapi-&gt;hash_auth($user, $accesskey); //進行登入（另一個方法是輸入帳號密碼）

//Create Account
$account_info = array(
  'username' =&gt; 'testuser', //使用者帳號
  'password' =&gt; 'p123456', //使用者密碼
  'domain' =&gt; 'testuser.domain.com', //使用者域名
  'email' =&gt; 'test@domain.com', //使用者信箱
  'plan' =&gt; 'basic' //主機方案
);
$return = $cpapi-&gt;createacct($account_info); //下達指令，並且把傳回的XML儲存
</pre>
<p>3. 接著到 cPanel 控制台觀看，就會發現新帳號出現了！</p>
<p>如果想要把回傳資訊顯示出來，可以利用PHP5的simplexml讀取。</p>
<pre class="brush:php">$xmlobj = simplexml_load_string($return);
foreach($xmlobj as $key =&gt; $arr){
  echo "{$key} - {$arr}
";
}
</pre>
<p>如果想要知道更多資訊，可以到 <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/XmlApi" target="_blank">cPanel Wiki</a> 查詢。</p>
<p>經過這次的吸收知識，可是讓我了解WHMCS這類軟體原來是這樣控制主機控制台。<br />
大家也試試看吧！</p>
<p>現在台灣很多人都提供cPanel免空，有租 Reseller 的朋友可以利用這個API做出一套簡易申請系統喔！<br />
不但方便，還能夠順便儲存一些資訊以後調出來查詢呢！</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-06-27%2Fpostid-562&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">取得 WHM/cPanel 帳號一組～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-07-04%2Fpostid-572&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WHM/cPanel for DiscuzX 的插件～</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-09-06%2Fpostid-13&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">PHP5比PHP4好用！</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fweb-project%2Fposton-2010-03-10%2Fpostid-444&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2009-12-26%2Fpostid-283">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DIY一個PHP留言板之反思(一)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.frost.tw/code/poston-2009-12-26/postid-283/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

