<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Wanhen's project log</title>
	<atom:link href="http://wanhen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wanhen.wordpress.com</link>
	<description>just another blog of my project</description>
	<lastBuildDate>Tue, 12 Aug 2008 05:35:58 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>id</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='wanhen.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b407124bff28a79ec49f4fafe879053a?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Wanhen's project log</title>
		<link>http://wanhen.wordpress.com</link>
	</image>
			<item>
		<title>Ganti Port Zimbra Web Service</title>
		<link>http://wanhen.wordpress.com/2008/08/12/ganti-port-zimbra-web-service/</link>
		<comments>http://wanhen.wordpress.com/2008/08/12/ganti-port-zimbra-web-service/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 05:35:58 +0000</pubDate>
		<dc:creator>wanhen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wanhen.wordpress.com/2008/08/12/ganti-port-zimbra-web-service/</guid>
		<description><![CDATA[Cara merubah default http &#38; https port untuk layanan zimbra webmail sbb :
zmprov ms  zimbraMailPort  zimbraMailSSLPort  
Setelah selesai coba restart Zimbra dgn zmcontrol stop / zmcontrol start
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=9&subd=wanhen&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Cara merubah default http &amp; https port untuk layanan zimbra webmail sbb :<br />
zmprov ms  zimbraMailPort  zimbraMailSSLPort  </p>
<p>Setelah selesai coba restart Zimbra dgn zmcontrol stop / zmcontrol start</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wanhen.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wanhen.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wanhen.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wanhen.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wanhen.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wanhen.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wanhen.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wanhen.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wanhen.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wanhen.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wanhen.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wanhen.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=9&subd=wanhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wanhen.wordpress.com/2008/08/12/ganti-port-zimbra-web-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9a5ba81f585c00d16583ed0c0d25c40?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wanhen</media:title>
		</media:content>
	</item>
		<item>
		<title>Sharing : Table dan CSS</title>
		<link>http://wanhen.wordpress.com/2008/07/03/sharing-table-dan-css/</link>
		<comments>http://wanhen.wordpress.com/2008/07/03/sharing-table-dan-css/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 06:34:26 +0000</pubDate>
		<dc:creator>wanhen</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://wanhen.wordpress.com/?p=8</guid>
		<description><![CDATA[Di beberapa artikel saya membaca seperti ada kecenderungan rekayasa layout web dengan  penggunaan div layer di combine dengan CSS dari pada menggunakan Table layout, Adakah teman &#8211; teman yang ingin berbagi di sini ?
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=8&subd=wanhen&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Di beberapa artikel saya membaca seperti ada kecenderungan rekayasa layout web dengan  penggunaan div layer di combine dengan CSS dari pada menggunakan Table layout, Adakah teman &#8211; teman yang ingin berbagi di sini ?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wanhen.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wanhen.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wanhen.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wanhen.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wanhen.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wanhen.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wanhen.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wanhen.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wanhen.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wanhen.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wanhen.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wanhen.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=8&subd=wanhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wanhen.wordpress.com/2008/07/03/sharing-table-dan-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9a5ba81f585c00d16583ed0c0d25c40?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wanhen</media:title>
		</media:content>
	</item>
		<item>
		<title>Turn your PC into a Mac</title>
		<link>http://wanhen.wordpress.com/2007/11/02/turn-your-pc-into-a-mac/</link>
		<comments>http://wanhen.wordpress.com/2007/11/02/turn-your-pc-into-a-mac/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 02:47:11 +0000</pubDate>
		<dc:creator>wanhen</dc:creator>
				<category><![CDATA[Desktop]]></category>

		<guid isPermaLink="false">http://wanhen.wordpress.com/2007/11/02/turn-your-pc-into-a-mac/</guid>
		<description><![CDATA[Posted Jun 9th 2004 2:34PM by Peter Rojas
Filed under: Desktops, Features, Laptops
We&#8217;ve got a bonus how-to for you this week. After becoming obsessed with a story on Wired News from last month about people getting their Windows PCs to have the same look and feel of Mac OS X, we convinced Aqua-Soft.org staff member Kurt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=7&subd=wanhen&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="byline">Posted Jun 9th 2004 2:34PM by <a href="http://features.engadget.com/bloggers/peter-rojas">Peter Rojas</a><br />
Filed under: <a href="http://desktops.engadget.com/">Desktops</a>, <a href="http://features.engadget.com/">Features</a>, <a href="http://laptops.engadget.com/">Laptops</a></p>
<p><em>We&#8217;ve got a bonus how-to for you this week. After becoming obsessed with a story on Wired News from last month about people getting their Windows PCs to have the same look and feel of Mac OS X, we convinced Aqua-Soft.org staff member Kurt Williams to give us the lowdown on how we could do it ourselves</em>:</p>
<p>So, you wanna make your ugly Windows XP interface look like Mac OS X, huh? It&#8217;s really not all that difficult to do, and with a little luck, you&#8217;ll be able to convince all but the most die-hard Mac users that you run an Apple computer. First, here&#8217;s a list of the programs you&#8217;ll need:</p>
<ul>
<li><a href="http://www.tgtsoft.com/prod_sxp.php">StyleXP</a> or   <a href="http://www.stardock.com/products/windowblinds/">WindowBlinds</a> (skins the Graphical User Interface of your   operating system)</li>
<li><a href="http://www.stardock.com/products/objectbar/">ObjectBar</a> (the white Finder bar on the top of Macs; has   File, Edit, View, etc. on it.)</li>
<li><a href="http://www.stardock.com/products/objectdock/">ObjectDock</a>, YzDock (discontinued), or   <a href="http://www.mobydock.com/">MobyDock</a> (The dock on the bottom of a Mac that contains icons and shortcuts to   programs)</li>
<li><a href="http://www.trillian.cc/">Trillian</a> (chat program that can be skinned to resemble iChat)</li>
<li>YzToolbar (skins the toolbar icons in your Windows windows)</li>
<li><a href="http://www.osx-e.com/downloads/utilities/yzshadow.html">YzShadow</a> (puts a lovely drop shadow under   your windows á la Mac OS X)</li>
<li><a href="http://www.ipi.fi/%7Erainy/index.php?pn=projects&amp;project=rainlendar">Rainlendar</a> (popular   skinable desktop calendar)</li>
<li><a href="http://www.ipi.fi/%7Erainy/index.php?pn=skins&amp;project=rainmeter&amp;seite=1">Rainmeter</a>   (skinnable desktop system statistics)</li>
<li><a href="http://www.samurize.com/modules/news/">Samurize</a> (like Konfabulator for the Mac; can display just   about anything, such as clocks, uptime, and the weather)</li>
<li><a href="http://www.apple.com/itunes/">iTunes for Windows</a> (self-explanatory)</li>
<li><a href="http://www.osx-e.com/downloads/icons/panther_icons.html">Icons</a> (The pretty little pictures on your   desktop that point you somewhere. There are millions out there, but try the link provided for over a 1,000 lifted   from Mac OS X 10.3 aka Panther)</li>
</ul>
<p>That&#8217;s pretty much what you&#8217;ll want for starters. You don&#8217;t need all of these, and in fact, you really only need a few to get a reasonably good looking OS X facsimile, but if you&#8217;re gonna do this you might as well do it right. Now on to the guide.</p>
<p>This guide assumes that you have either downloaded/purchased the programs listed and 0that you know your way around a computer, at least to a reasonable extent.</p>
<p>1) I use StyleXP for my visual style, so that&#8217;s what I&#8217;ll detail here. WindowBlinds isn&#8217;t that different, but if you prefer it, be my guest. The first thing you&#8217;ll need to do is download a skin. I recommend Kol&#8217;s website, <a href="http://www.studiotwentyeight.com/">StudioTwentyEight</a> for some excellent skins, but feel free to look around for any others that might interest you. Download your ZIP, and extract it to C:\WINDOWS\Resources\Themes. Open up StyleXP and load up that baby. Your windows should now look like the skin you downloaded. If you chose Panther (an excellent choice) then they should look somewhat like this:</p>
<p><img src="http://www.weblogsinc.com/common/images/3868654775464166.JPG.3778833777895201" alt="OS X" align="top" border="1" height="30" hspace="4" vspace="4" width="425" /></p>
<p>2) Time to find a good ObjectBar skin. I&#8217;d suggest crni&#8217;s website for some excellent themes. Download the one you like best and extract it to your ObjectBar folder. Open the new folder in there (named something like the theme you downloaded) and double-click the .OBTHEME icon. The top of your screen should now look something like this, depending on your theme (Milk for me):<br />
<img src="http://www.weblogsinc.com/common/images/2634286874230508.JPG?0.24465534162768343" alt="OS X" align="top" border="1" height="35" hspace="4" vspace="4" width="425" /></p>
<p>3) Next up is the dock. Open up whichever version you settled on downloading. This is pretty easy to set up. Basically all you need to do is drag shortcuts or executables to the dock and ta da, you have a shortcut. To change it&#8217;s icon, right-click and select &#8220;change icon&#8221; or some variation. To get new icons to select, make sure you put them in the icons subfolder (for YzDock) or the main dock folder (for ObjectDock). Easy as pie. When you have the icons and programs you like, it should look something like this:</p>
<p><img src="http://www.weblogsinc.com/common/images/5326667344599756.JPG?0.04072697027112804" alt="OS X" align="top" border="1" height="33" hspace="4" vspace="4" width="425" /></p>
<p><img src="http://www.weblogsinc.com/common/images/9772335133489767.JPG?0.6729285068373276" alt="trillian" align="right" border="1" height="203" hspace="4" vspace="0" width="120" /> 4) For those that don&#8217;t know, Trillian is a nifty chat program that sticks AIM, MSN, ICQ, and IRC into one program. If you don&#8217;t use it, you should if for no other reason that it can look a lot like iChat. You may or may not need the Pro version to get the skin to work. I&#8217;ve heard mixed reports, but if it doesn&#8217;t work right, I&#8217;d say you need the Pro version. An excellent choice for skins are <a href="http://www.deviantart.com/view/2781557/">Danimator&#8217;s iChat skins</a>. Extract it to your Trillian skin directory, open up Trillian&#8217;s preferences, go to skins, and select the new skin you want to use. You can follow the readme for some more precise directions to get it looking perfect. When you&#8217;re done, it should look like this:</p>
<p>5) YzToolbar and YzShadow are pretty self-explanatory. Just install &#8216;em and run &#8216;em. You can find good YzToolbar skins on the net: I&#8217;d recommend Aqua-Soft or AquaXP. Depending on skin (Milk, for me) and settings, it should look something like this:</p>
<p style="text-align:center;"><img src="http://www.weblogsinc.com/common/images/5855286752906153.JPG?0.9751376752288435" alt="OS X" align="top" border="1" height="217" hspace="4" vspace="4" width="372" /></p>
<p style="text-align:center;"><img src="http://www.weblogsinc.com/common/images/6833830162873585.JPG?0.5316774861623189" alt="OS X" align="top" border="1" height="88" hspace="4" vspace="4" width="425" /></p>
<p>6) Rainlendar and Rainmeter are also pretty easy to install and set-up. Just run the installer, and find a good skin. Again, there&#8217;s many to choose from. I&#8217;d suggest searching the forums at the aforementioned Aqua-Soft and AquaXP. Here&#8217;s the Rainlender skin I use.</p>
<p style="text-align:center;"><img src="http://www.weblogsinc.com/common/images/8672335244612081.JPG?0.1993236095190627" alt="OS X" align="top" border="1" height="212" hspace="4" vspace="4" width="296" /></p>
<p><img src="http://www.weblogsinc.com/common/images/2116782812491981.JPG?0.095073636904216" alt="OS X" align="right" border="1" height="93" hspace="4" vspace="4" width="231" />7) Samurize is a bit complicated, so if you&#8217;re going to try and use it, be forewarned that it can be a very big hassle, if it works at all. I&#8217;m not even going to try and explain it in this brief overview, but if you are serious about it, check out the Samurize forums at <a href="http://www.aqua-soft.org/">Aqua-Soft</a> and <a href="http://www.aquaxp.com/">AquaXP</a>. Here&#8217;s an example of what it can do:<br />
 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> If you listen to music on your computer, no Aqua-fication can be complete without the authentic iTunes for Windows. Apple provides plenty of documentation on how to install and use it, so I&#8217;ll leave that part to them. If you want to make it look more like iTunes for Macintosh, check out <a href="http://www.aqua-soft.org/board/index.php?showtopic=15308&amp;st=0">localhost&#8217;s multi-plugin</a>.</p>
<p>And the final result:</p>
<p><a href="http://screenshots.haque.net/screenshots/view/16062/screenshot-16062.jpg"><img src="http://www.weblogsinc.com/common/images/1015781691278779.JPG?0.6789959009055541" alt="Mac OS X" align="top" border="1" height="340" hspace="4" vspace="0" width="425" /></a></p>
<p>So that&#8217;s pretty much all there is to it. Good luck!</p>
<p><a href="mailto:kurt_12@hotmail.com">Kurt Williams</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wanhen.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wanhen.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wanhen.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wanhen.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wanhen.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wanhen.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wanhen.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wanhen.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wanhen.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wanhen.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wanhen.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wanhen.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=7&subd=wanhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wanhen.wordpress.com/2007/11/02/turn-your-pc-into-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9a5ba81f585c00d16583ed0c0d25c40?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wanhen</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/3868654775464166.JPG.3778833777895201" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/2634286874230508.JPG?0.24465534162768343" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/5326667344599756.JPG?0.04072697027112804" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/9772335133489767.JPG?0.6729285068373276" medium="image">
			<media:title type="html">trillian</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/5855286752906153.JPG?0.9751376752288435" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/6833830162873585.JPG?0.5316774861623189" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/8672335244612081.JPG?0.1993236095190627" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/2116782812491981.JPG?0.095073636904216" medium="image">
			<media:title type="html">OS X</media:title>
		</media:content>

		<media:content url="http://www.weblogsinc.com/common/images/1015781691278779.JPG?0.6789959009055541" medium="image">
			<media:title type="html">Mac OS X</media:title>
		</media:content>
	</item>
		<item>
		<title>MedSys Progress Report 31/10/2007</title>
		<link>http://wanhen.wordpress.com/2007/10/31/medsys-progress-report-31102007/</link>
		<comments>http://wanhen.wordpress.com/2007/10/31/medsys-progress-report-31102007/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 05:34:12 +0000</pubDate>
		<dc:creator>wanhen</dc:creator>
				<category><![CDATA[MedSys - Medika Information System]]></category>

		<guid isPermaLink="false">http://wanhen.wordpress.com/2007/10/31/medsys-progress-report-31102007/</guid>
		<description><![CDATA[Proses penginputan hampir rampung, tugas mendatang adalah membuat laporan &#8211; laporan dan pastikan error handler telah ditangani dengan baik utk semua form input
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=6&subd=wanhen&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Proses penginputan hampir rampung, tugas mendatang adalah membuat laporan &#8211; laporan dan pastikan error handler telah ditangani dengan baik utk semua form input</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wanhen.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wanhen.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wanhen.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wanhen.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wanhen.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wanhen.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wanhen.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wanhen.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wanhen.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wanhen.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wanhen.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wanhen.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=6&subd=wanhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wanhen.wordpress.com/2007/10/31/medsys-progress-report-31102007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9a5ba81f585c00d16583ed0c0d25c40?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wanhen</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP Access To An MSSQL Database From Debian Etch With ODBC And FreeTDS</title>
		<link>http://wanhen.wordpress.com/2007/10/31/php-access-to-an-mssql-database-from-debian-etch-with-odbc-and-freetds/</link>
		<comments>http://wanhen.wordpress.com/2007/10/31/php-access-to-an-mssql-database-from-debian-etch-with-odbc-and-freetds/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 05:24:02 +0000</pubDate>
		<dc:creator>wanhen</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wanhen.wordpress.com/2007/10/31/php-access-to-an-mssql-database-from-debian-etch-with-odbc-and-freetds/</guid>
		<description><![CDATA[This assumes you already have Apache2 and PHP5 set up properly on your system. My efforts to get this connection working were compiled from information found at www.unixodbc.org and www.freetds.org. These steps worked for me with an Apache2 web server with php5 running on Debian Etch stable in October of 2007. The SQL server is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=5&subd=wanhen&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="content">This assumes you already have Apache2 and PHP5 set up properly on your system. My efforts to get this connection working were compiled from information found at <a href="http://www.unixodbc.org/" target="_blank">www.unixodbc.org</a> and <a href="http://www.freetds.org/" target="_blank">www.freetds.org</a>. These steps worked for me with an Apache2 web server with php5 running on Debian Etch stable in October of 2007. The SQL server is running Microsoft SQL 2005 on a Windows 2003 Server OS.In these instructions I assume you&#8217;ve su&#8217;d to a root account. I also use joe as my editor so replace that with your editor of choice.</p>
<p>First install the necessary packages:</p>
<p class="command">#apt-get install tdsodbc libct3 unixodbc php5-odbc</p>
<p>This should download and install unixODBC, FreeTDS, and the odbc extentions for php5.</p>
<p>Next we create templates to register the ODBC Driver for FreeTDS and for creating the ODBC DSN for FreeTDS. You can put these files wherever you like as you&#8217;ll be using &#8220;odbcinst&#8221; to actually configure the system. I chose to house them in <span class="system">/etc/freetds</span> where the tds configuration files live.</p>
<p>ODBC Driver registration:</p>
<p class="command">#joe /etc/freetds/tds.driver.template</p>
<p>Then paste this into the editor:</p>
<pre>[TDS]
Description     = FreeTDS Driver for Linux &amp; MSSQL on Win32
Driver          = /usr/lib/odbc/libtdsodbc.so
Setup           = /usr/lib/odbc/libtdsS.so</pre>
<p>Now the DSN:</p>
<p class="command">#joe /etc/freetds/tds.dsn.template</p>
<p>Then paste this into the editor:</p>
<pre>[DSN_NAME]
Description     = Test to freeTDS
Driver          = TDS
Trace           = No
Database        = DefaultDatabase [replace with your database name]
Server          = mysqlserver.inter.net [replace with your SQL server's host]
Port            = 5050 [replace with the port that SQL is listening on]</pre>
<p>Ok, now you need to get these templates inserted into the unixODBC system:</p>
<p class="command">#odbcinst -i -d -f /etc/freetds/tds.driver.template</p>
<p class="command">#odbcinst -i -s -f /etc/freetds/tds.dsn.template</p>
<p> A problem I had at this point is that the DSN got installed to the root account&#8217;s personal odbc settings. Since I can&#8217;t log in as <span class="system">www-data</span> to run the dsn installation command I simply copied the root&#8217;s .odbc file to <span class="system">/etc/odbc.ini</span> which is the system wide DSN file that all users can reference.</p>
<p class="command">#mv /etc/odbc.ini /etc/odbc.ini.bak  [in case you had others]</p>
<p class="command">#cp /root/.odbc.ini /etc/odbc.ini</p>
<p>Now you need to enable the odbc extension in php by editing your <span class="system">php.ini</span> file. Unless you made some sort of custom build or install the php ini file should be in the <span class="system">/etc/php5/apache2/</span> directory, so:</p>
<p class="command">#joe /etc/php5/apache2/php.ini</p>
<p>Best practice is to add this to the extensions section of the php.ini file:</p>
<pre>extension = odbc.so</pre>
<p>Now you need to restart Apache as to get the php changes into the system.</p>
<p class="command">#/etc/init.d/apache2 restart</p>
<p>That should be it. Assuming you have connectivity to the MSSQL machine you should be able to test this setup using isql. Using the above settings and a username of Bob with a password of Marley here&#8217;s the test:</p>
<p class="command">#isql -v DSN_NAME Bob Marley</p>
<p>You should get the <span class="system">SQL&gt;</span> prompt and you can run any select or other commands you like. Now onto the PHP portion. All you need to do (again assuming the above exmamples) is add the conenction info to your php file and get to coding. The following is a basic example that you will of course need to bend to your will.</p>
<pre>&lt;?php

# connect to a DSN "DSN_NAME" with a user "Bob" and password "Marley"
$connect = odbc_connect("DSN_NAME", "Bob", "Marley");

# query the users table for all fields
$query = "SELECT * FROM users";

# perform the query
$result = odbc_exec($connect, $query);

# fetch the data from the database
while(odbc_fetch_row($result)) {
$field1 = odbc_result($result, 1);
$field2 = odbc_result($result, 2);
print("$field1 $field2\n");
}

# close the connection
odbc_close($connect);

?&gt;</pre>
<p>If you have problems start with basic network troubleshooting. Make sure you can ping the server from your debian box. Try telneting to the server and port that MSSQL is listening on. If it&#8217;s working you should get a blank screen that you need to break out of. After that if the isql example works but your php connection doesn&#8217;t, I&#8217;m not sure where to point you.</p>
<p>Good luck!</p>
<p class="copyright-footer">Copyright © 2007 Kevin K<br />
All Rights Reserved.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wanhen.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wanhen.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wanhen.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wanhen.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wanhen.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wanhen.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wanhen.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wanhen.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wanhen.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wanhen.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wanhen.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wanhen.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=5&subd=wanhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wanhen.wordpress.com/2007/10/31/php-access-to-an-mssql-database-from-debian-etch-with-odbc-and-freetds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9a5ba81f585c00d16583ed0c0d25c40?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wanhen</media:title>
		</media:content>
	</item>
		<item>
		<title>Debian Linux as a Microsoft SQL Server client</title>
		<link>http://wanhen.wordpress.com/2007/10/31/debian-linux-as-a-microsoft-sql-server-client-2/</link>
		<comments>http://wanhen.wordpress.com/2007/10/31/debian-linux-as-a-microsoft-sql-server-client-2/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 04:54:35 +0000</pubDate>
		<dc:creator>wanhen</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wanhen.wordpress.com/2007/10/31/debian-linux-as-a-microsoft-sql-server-client-2/</guid>
		<description><![CDATA[&#160;
Par Pierrick, 	lundi 22 octobre 2007 à 22:09	/ categorie: GNU/linux         / tags: 	/ #104 	/ rss
 
We&#8217;re using Debian Etch (with GNU/Linux) as a server at Talend office. We need to reach a remote Microsoft SQL Server database. The first step is to perform a select query [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=4&subd=wanhen&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="post">&nbsp;</p>
<p class="post-info">Par Pierrick, 	lundi 22 octobre 2007 à 22:09	<span>/</span> categorie: <a href="http://www.le-gall.net/pierrick/blog/index.php/Linux">GNU/linux</a>         <span>/</span> tags: 	<span>/</span> <a href="http://www.le-gall.net/pierrick/blog/index.php/2007/10/22/104-debian-linux-as-a-microsoft-sql-server-client" title="Debian Linux as a Microsoft SQL Server client">#104</a> 	<span>/</span> <a href="http://www.le-gall.net/pierrick/blog/rss.php?type=co&amp;post=104" title="Debian Linux as a Microsoft SQL Server client">rss</a></p>
<p class="post-chapo"><img src="http://www.le-gall.net/pierrick/blog/images/post_104/debian.png" alt="Debian logo" style="float:left;margin:0 1em 1em 0;" /> <img src="http://www.le-gall.net/pierrick/blog/images/post_104/mssql.jpg" alt="Microsoft SQL Server" style="float:right;margin:0 0 1em 1em;" /></p>
<p>We&#8217;re using Debian Etch (with GNU/Linux) as a server at Talend office. We need to reach a remote Microsoft SQL Server database. The first step is to perform a select query in the command line.</p>
<p>We need to install FreeTDS: <q>FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases.</q>. We have to define an &#8220;interface&#8221; for the Microsoft SQL Server in the FreeTDS &#8220;interfaces&#8221; file. At the end of the line,w use sqsh, a command line client for Sybase and Microsoft SQL Server.</p>
<p class="post-content">&nbsp;</p>
<pre>$ sudo apt-get install freetds-dev sqsh
$ vi /etc/freetds/freetds.conf</pre>
<pre> # talend alias is bound to a MS SQL Server 2000
 [talend]
        host = talend-dbms
        port = 1433
        tds version = 8.0</pre>
<pre>$ sqsh -Uroot -P******* -Stalend
<span style="color:#66cc66;">[</span>...<span style="color:#66cc66;">]</span>
<span style="color:#cc66cc;">1</span>&gt; <span style="color:#b1b100;">select</span> count<span style="color:#66cc66;">(</span>*<span style="color:#66cc66;">)</span> from sales;
<span style="color:#cc66cc;">2</span>&gt; \go

 -----------
        <span style="color:#cc66cc;">1000</span>

<span style="color:#66cc66;">(</span><span style="color:#cc66cc;">1</span> row affected<span style="color:#66cc66;">)</span>
<span style="color:#cc66cc;">1</span>&gt; quit</pre>
<ul>
<li><a href="http://www.freetds.org/">FreeTDS</a></li>
<li><a href="http://www.sqsh.org/">SQSH</a></li>
</ul>
<h3>Trackbacks</h3>
<p>Aucun trackback.</p>
<p>Les trackbacks pour ce billet sont fermés.</p>
<h3>Commentaires</h3>
<p>Aucun commentaire pour le moment.</p>
<h3>Ajouter un commentaire</h3>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/wanhen.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/wanhen.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wanhen.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wanhen.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wanhen.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wanhen.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wanhen.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wanhen.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wanhen.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wanhen.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wanhen.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wanhen.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wanhen.wordpress.com&blog=2024349&post=4&subd=wanhen&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://wanhen.wordpress.com/2007/10/31/debian-linux-as-a-microsoft-sql-server-client-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c9a5ba81f585c00d16583ed0c0d25c40?s=96&#38;d=identicon" medium="image">
			<media:title type="html">wanhen</media:title>
		</media:content>

		<media:content url="http://www.le-gall.net/pierrick/blog/images/post_104/debian.png" medium="image">
			<media:title type="html">Debian logo</media:title>
		</media:content>

		<media:content url="http://www.le-gall.net/pierrick/blog/images/post_104/mssql.jpg" medium="image">
			<media:title type="html">Microsoft SQL Server</media:title>
		</media:content>
	</item>
	</channel>
</rss>