<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>PostIT</title>
	<atom:link href="http://situsnya.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://situsnya.wordpress.com</link>
	<description>while scratching my head...</description>
	<lastBuildDate>Fri, 06 Jan 2012 10:43:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='situsnya.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/b42cfcda652ce7a8d46859864db745b5?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>PostIT</title>
		<link>http://situsnya.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://situsnya.wordpress.com/osd.xml" title="PostIT" />
	<atom:link rel='hub' href='http://situsnya.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Windows &#8211; Set JAVA_HOME</title>
		<link>http://situsnya.wordpress.com/2011/12/28/windows-set-java_home/</link>
		<comments>http://situsnya.wordpress.com/2011/12/28/windows-set-java_home/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 00:52:06 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java_home]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=529</guid>
		<description><![CDATA[Stage 1. Locate the JRE Installation Directory If you already know the installation path for the Java Runtime Environment, go to Stage 2 below. Otherwise, find the installation path by following these instructions: If you didn&#8217;t change the installation path for the Java Runtime Environment during installation, it will be in a directory under C:\Program Files\Java. Using Explorer, open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=529&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h3 id="SettingtheJAVAHOMEVariableinWindows-Stage1LocatetheJREInstallationDirectory">Stage 1. Locate the JRE Installation Directory</h3>
<p>If you already know the installation path for the Java Runtime Environment, go to <em>Stage 2</em> below. Otherwise, find the installation path by following these instructions:</p>
<ol>
<li>If you didn&#8217;t change the installation path for the Java Runtime Environment during installation, it will be in a directory under <code>C:\Program Files\Java</code>. Using Explorer, open the directory <code>C:\Program Files\Java</code>.</li>
<li>Inside that path will be one or more subdirectories such as <code><code>C:\Program Files\Java\</code>jre6</code>.</li>
</ol>
<h3 id="SettingtheJAVAHOMEVariableinWindows-Stage2SettheJAVAHOMEVariable">Stage 2. Set the JAVA_HOME Variable</h3>
<p>Once you have identified the JRE installation path:</p>
<ol>
<li>Right-click the <strong>My Computer</strong> icon on your desktop and select <strong>Properties</strong>.</li>
<li>Click the <strong>Advanced</strong> tab.</li>
<li>Click the <strong>Environment Variables</strong> button.</li>
<li>Under <strong>System Variables</strong>, click <strong>New</strong>.</li>
<li>Enter the variable name as <code>JAVA_HOME</code>.</li>
<li>Enter the variable value as the installation path for the Java Development Kit.
<ul>
<li>If your Java installation directory has a space in its path name, you should use the shortened path name (e.g. <code>C:\Progra~1\Java\jre6</code>) in the environment variable instead.</li>
</ul>
</li>
<li>Click <strong>OK</strong>.</li>
<li>Click <strong>Apply Changes</strong>.</li>
<li>Restart Windows. (This is not always necessary, but it often prevents problems.)</li>
<li>If you are running the Confluence EAR/WAR distribution, rather than the regular Confluence distribution, you may need to restart your application server.</li>
</ol>
<p>&nbsp;</p>
<p>source:</p>
<p><a href="http://confluence.atlassian.com/display/DOC/Setting+the+JAVA_HOME+Variable+in+Windows">http://confluence.atlassian.com/display/DOC/Setting+the+JAVA_HOME+Variable+in+Windows</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/529/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=529&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/12/28/windows-set-java_home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server &#8211; LIMIT Clause</title>
		<link>http://situsnya.wordpress.com/2011/12/28/sql-server-limit-clause/</link>
		<comments>http://situsnya.wordpress.com/2011/12/28/sql-server-limit-clause/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 00:17:54 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlserver]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=527</guid>
		<description><![CDATA[Yes, SQL Server does not support LIMIT clause as you usually does with MySQL&#8230; SELECT TOP 10 * FROM (SELECT TOP 20 FROM Table ORDER BY Id) ORDER BY Id DESC &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=527&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, SQL Server does not support LIMIT clause as you usually does with MySQL&#8230;</p>
<pre><code>SELECT TOP 10 * FROM (SELECT TOP 20 FROM Table ORDER BY Id) ORDER BY Id DESC</code></pre>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/527/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=527&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/12/28/sql-server-limit-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server &#8211; Auto Increment</title>
		<link>http://situsnya.wordpress.com/2011/12/15/sql-server-auto-increment/</link>
		<comments>http://situsnya.wordpress.com/2011/12/15/sql-server-auto-increment/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 06:42:20 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[autoincrement]]></category>
		<category><![CDATA[increment]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=524</guid>
		<description><![CDATA[Add IDENTITY property on selected field IDENTITY property requires two parameters Seed (value for first record in the table) Increment (incremental value) &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=524&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<ul>
<li>Add IDENTITY property on selected field</li>
<li>IDENTITY property requires two parameters</li>
</ul>
<ol>
<li>Seed (value for first record in the table)</li>
<li>Increment (incremental value)</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/524/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=524&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/12/15/sql-server-auto-increment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP &#8211; Run PHP Script in The Background on Windows Box</title>
		<link>http://situsnya.wordpress.com/2011/12/13/php-run-php-script-in-the-background-on-windows-box/</link>
		<comments>http://situsnya.wordpress.com/2011/12/13/php-run-php-script-in-the-background-on-windows-box/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 11:27:11 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[run]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=522</guid>
		<description><![CDATA[&#60;?php $runCommand = &#8216;php -q FULLPATH/FILE.php&#8217;; $WshShell = new COM(&#8220;WScript.Shell&#8221;); $oExec = $WshShell-&#62;Run($runCommand, 7, false); ?&#62; &#160; source: http://php.net/manual/en/function.shell-exec.php<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=522&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?php<br />
$runCommand = &#8216;php -q FULLPATH/FILE.php&#8217;;<br />
$WshShell = new COM(&#8220;WScript.Shell&#8221;);<br />
$oExec = $WshShell-&gt;Run($runCommand, 7, false);<br />
?&gt;</p>
<p>&nbsp;</p>
<p>source:</p>
<p><a href="http://php.net/manual/en/function.shell-exec.php">http://php.net/manual/en/function.shell-exec.php</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/522/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/522/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/522/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=522&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/12/13/php-run-php-script-in-the-background-on-windows-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP &#8211; Shutdown Windows</title>
		<link>http://situsnya.wordpress.com/2011/12/13/php-shutdown-windows/</link>
		<comments>http://situsnya.wordpress.com/2011/12/13/php-shutdown-windows/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 11:15:20 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[shutdown]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=519</guid>
		<description><![CDATA[&#60;?php $runCommand = &#8221;C:\\WINDOWS\\system32\\shutdown.exe -t:30&#8243;; //Wrong on purpose to get some good output $WshShell = new COM(&#8220;WScript.Shell&#8221;); $output = $WshShell-&#62;Exec($runCommand)-&#62;StdOut-&#62;ReadAll; echo &#8221;&#60;p&#62;$output&#60;/p&#62;&#8221;; ?&#62; &#160; source: http://php.net/manual/en/function.shell-exec.php<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=519&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?php<br />
$runCommand = &#8221;C:\\WINDOWS\\system32\\shutdown.exe -t:30&#8243;; //Wrong on purpose to get some good output<br />
$WshShell = new COM(&#8220;WScript.Shell&#8221;);<br />
$output = $WshShell-&gt;Exec($runCommand)-&gt;StdOut-&gt;ReadAll;<br />
echo &#8221;&lt;p&gt;$output&lt;/p&gt;&#8221;;<br />
?&gt;</p>
<p>&nbsp;</p>
<p>source:</p>
<p><a href="http://php.net/manual/en/function.shell-exec.php">http://php.net/manual/en/function.shell-exec.php</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/519/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/519/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/519/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=519&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/12/13/php-shutdown-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP &#8211; Connecting to SQL Server with Windows Authentication</title>
		<link>http://situsnya.wordpress.com/2011/12/09/php-connecting-to-sql-server-with-windows-authentication/</link>
		<comments>http://situsnya.wordpress.com/2011/12/09/php-connecting-to-sql-server-with-windows-authentication/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 08:52:28 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[sqlserver]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=515</guid>
		<description><![CDATA[&#60;?php $serverName      = &#8220;(local)&#8221;; $databaseName = &#8220;TEST&#8221;; $connectionOptions = array(&#8220;Database&#8221;=&#62;$databaseName); $conn = mssql_connect($serverName, $connectionOptions); if ($conn === false){ die(FormatErrors(mssql_errors())); } echo &#8216;connection succeed!&#8217;; ?&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=515&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?php<br />
$serverName      = &#8220;(local)&#8221;;<br />
$databaseName = &#8220;TEST&#8221;;<br />
$connectionOptions = array(&#8220;Database&#8221;=&gt;$databaseName);</p>
<p>$conn = mssql_connect($serverName, $connectionOptions);</p>
<p>if ($conn === false){<br />
die(FormatErrors(mssql_errors()));<br />
}</p>
<p>echo &#8216;connection succeed!&#8217;;<br />
?&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/515/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/515/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/515/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=515&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/12/09/php-connecting-to-sql-server-with-windows-authentication/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Maps &#8211; Find Nearby Location</title>
		<link>http://situsnya.wordpress.com/2011/11/16/google-maps-find-nearby-location/</link>
		<comments>http://situsnya.wordpress.com/2011/11/16/google-maps-find-nearby-location/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 09:29:31 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[near]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=512</guid>
		<description><![CDATA[To find locations in markers table that are within a certain radius distance of a given latitude/longitude, you can use a SELECT statement based on the Haversine formula. The Haversine formula is used generally for computing great-circle distances between two pairs of coordinates on a sphere. An in-depth mathemetical explanation is given by Wikipedia and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=512&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>To find locations in markers table that are within a certain radius distance of a given latitude/longitude, you can use a SELECT statement based on the Haversine formula. The Haversine formula is used generally for computing great-circle distances between two pairs of coordinates on a sphere. An in-depth mathemetical explanation is given by <a href="http://en.wikipedia.org/wiki/Haversine_formula">Wikipedia</a> and a good discussion of the formula as it relates to programming is <a href="http://www.movable-type.co.uk/scripts/latlong.html">on Movable Type&#8217;s site</a>.Here&#8217;s the SQL statement that will find the closest 20 locations that are within a radius of 25 miles to the 37, -122 coordinate. It calculates the distance based on the latitude/longitude of that row and the target latitude/longitude, and then asks for only rows where the distance value is less than 25, orders the whole query by distance, and limits it to 20 results. To search by kilometers instead of miles, replace 3959 with 6371.</p>
<p>SELECT id, ( 3959 * acos( cos( radians(37) ) * cos( radians( lat ) ) * cos( radians( lng ) &#8211; radians(-122) ) + sin( radians(37) ) * sin( radians( lat ) ) ) ) AS distance FROM markers HAVING distance &lt; 25 ORDER BY distance LIMIT 0 , 20;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div>source:</div>
<div><a href="http://code.google.com/apis/maps/articles/phpsqlsearch.html">http://code.google.com/apis/maps/articles/phpsqlsearch.html</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/512/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/512/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/512/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=512&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/11/16/google-maps-find-nearby-location/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>Code Igniter: Find Version Number</title>
		<link>http://situsnya.wordpress.com/2011/11/14/code-igniter-find-version-number/</link>
		<comments>http://situsnya.wordpress.com/2011/11/14/code-igniter-find-version-number/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 04:30:47 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[Code Igniter]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=508</guid>
		<description><![CDATA[function get_version() {     echo CI_VERSION; // echoes something like 1.7.1 } this constant can be found on: /system/codeigniter/CodeIgniter.php (old) /system/core/CodeIgniter.php (new) source: http://stackoverflow.com/questions/2196799/which-version-of-codeigniter-am-i-currently-using<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=508&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre><code>function get_version() {
    echo CI_VERSION; // echoes something like 1.7.1
}</code>
<span style="font-family:monospace;">this constant can be found on:</span>
<span style="font-family:monospace;">/system/codeigniter/CodeIgniter.php (old)
</span>
<span style="font-family:monospace;">/system/core/CodeIgniter.php (new)<del>
</del></span>
<span style="font-family:monospace;">source:</span>
<span style="font-family:monospace;"><a href="http://stackoverflow.com/questions/2196799/which-version-of-codeigniter-am-i-currently-using">http://stackoverflow.com/questions/2196799/which-version-of-codeigniter-am-i-currently-using</a>
</span></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/508/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/508/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/508/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=508&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/11/14/code-igniter-find-version-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL &#8211; Reset Root Password</title>
		<link>http://situsnya.wordpress.com/2011/10/29/mysql-reset-root-password/</link>
		<comments>http://situsnya.wordpress.com/2011/10/29/mysql-reset-root-password/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 04:07:28 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysl]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=506</guid>
		<description><![CDATA[viral patel has described in a short , simple and clear explanation on the steps needed to accomplish this, see it here http://viralpatel.net/blogs/2008/12/how-to-reset-mysql-root-password.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=506&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>viral patel has described in a short , simple and clear explanation on the steps needed to accomplish this, see it here <a href="http://viralpatel.net/blogs/2008/12/how-to-reset-mysql-root-password.html">http://viralpatel.net/blogs/2008/12/how-to-reset-mysql-root-password.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/506/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/506/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/506/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=506&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/10/29/mysql-reset-root-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
		<item>
		<title>Code Igniter: Enable GET</title>
		<link>http://situsnya.wordpress.com/2011/10/13/code-igniter-enable-get/</link>
		<comments>http://situsnya.wordpress.com/2011/10/13/code-igniter-enable-get/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 03:56:09 +0000</pubDate>
		<dc:creator>Remo</dc:creator>
				<category><![CDATA[Code Igniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[enable]]></category>
		<category><![CDATA[get]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://situsnya.wordpress.com/?p=504</guid>
		<description><![CDATA[1. edit config.php $config['uri_protocol'] = &#8221;PATH_INFO&#8221;; 2. add this to your controller parse_str($_SERVER['QUERY_STRING'], $_GET); &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=504&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. edit config.php</p>
<p>$config['uri_protocol'] = &#8221;PATH_INFO&#8221;;</p>
<p>2. add this to your controller</p>
<p>parse_str($_SERVER['QUERY_STRING'], $_GET);</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/situsnya.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/situsnya.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/situsnya.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/situsnya.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/situsnya.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/situsnya.wordpress.com/504/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/situsnya.wordpress.com/504/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/situsnya.wordpress.com/504/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=situsnya.wordpress.com&amp;blog=3941794&amp;post=504&amp;subd=situsnya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://situsnya.wordpress.com/2011/10/13/code-igniter-enable-get/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbca15aa4763c5ad6834a9a6e77ab20f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zeus</media:title>
		</media:content>
	</item>
	</channel>
</rss>
