<?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>My place to Speak!</title>
	<atom:link href="http://blog.aslingga.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aslingga.com</link>
	<description>… my little house that gave me a place to talk and share what I had seen, heard, and felt.</description>
	<lastBuildDate>Sun, 25 Dec 2011 19:32:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Awal bekerja sebagai Freelancer di oDesk</title>
		<link>http://blog.aslingga.com/2011/04/16/awal-bekerja-sebagai-freelancer-di-odesk/</link>
		<comments>http://blog.aslingga.com/2011/04/16/awal-bekerja-sebagai-freelancer-di-odesk/#comments</comments>
		<pubDate>Sat, 16 Apr 2011 13:45:29 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[odesk]]></category>

		<guid isPermaLink="false">http://blog.aslingga.com/?p=733</guid>
		<description><![CDATA[Mungkin beberapa dari Anda adalah orang yang bekerja di perusahaan kantoran dan sehari-hari harus datang ke kantor untuk bekerja. Suatu keadaan yang membosankan tentunya. Saya juga adalah seorang pegawai kantoran, jadi saya sudah bisa merasakan [...]]]></description>
			<content:encoded><![CDATA[<p>Mungkin beberapa dari Anda adalah orang yang bekerja di perusahaan kantoran dan sehari-hari harus datang ke kantor untuk bekerja. Suatu keadaan yang membosankan tentunya. Saya juga adalah seorang pegawai kantoran, jadi saya sudah bisa merasakan bagaimana rasanya sebagai pegawai kantoran. Apakah Anda sudah mencoba menjadi seorang Freelance? Tentunya beberapa dari Anda adalah seorang freelance juga.</p>
<p>Saya hanya iseng-iseng untuk mendaftar di <a title="oDesk" href="https://www.odesk.com/referrals/track/alingga" target="_blank">oDesk</a> dan coba melakukan bid untuk beberapa pekerjaan yang ditawarkan. Tapi sudah berkali-kali saya mencoba namun belum membuahkan hasil, namun saya tidak begitu cepat putus asa. Hari demi hari saya tetap mencoba untuk bidding disana, akhirnya ada juga yang mau merekrut saya menjadi <a title="Couponic Developer" href="https://www.odesk.com/applications/115230347" target="_blank">Couponic Developer</a> <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Sungguh bahagianya karena mendapatkan pekerjaan pertama ini.</p>
<p>Silakan bergabung jika ingin menambah pundi-pundi Anda. Hehehehehe &#8230;</p>
<p><a href="https://www.odesk.com/referrals/track/alingga?redir=https%3A%2F%2Fwww.odesk.com%2Fusers%2F%7E%7Eea2356073e8e9063"><img class="aligncenter" src="https://www.odesk.com/images/banners/banner_provider_468x60.gif" alt="The On Demand Global Workforce - oDesk" width="468" height="60" /></a></p>
<p style="text-align: center;"><a href="https://www.odesk.com/referrals/track/alingga"><img class="aligncenter" src="https://www.odesk.com/images/banners/banner_buyer_468x60.gif" alt="The On Demand Global Workforce - oDesk" width="468" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2011/04/16/awal-bekerja-sebagai-freelancer-di-odesk/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Ecommerce Website Application</title>
		<link>http://blog.aslingga.com/2011/01/17/ecommerce-website-application/</link>
		<comments>http://blog.aslingga.com/2011/01/17/ecommerce-website-application/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 09:06:17 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ecommerce]]></category>

		<guid isPermaLink="false">http://blog.aslingga.com/?p=701</guid>
		<description><![CDATA[After almost a few months I have never again write a post on my blog this because I am busy is currently developing an e-commerce website. This website is very simple, not too complicated. Using [...]]]></description>
			<content:encoded><![CDATA[<p>After almost a few months I have never again write a post on my blog this because I am busy is currently developing an e-commerce website. This website is very simple, not too complicated. Using PHP and MySQL database.</p>
<p>If there want to try its features please visit the e-commerce website at <a href="http://apps.aslingga.com/store" target="_blank">http://apps.aslingga.com/store</a>.</p>
<p style="text-align: center;"><a href="http://blog.aslingga.com/wp-content/uploads/2011/01/appsstore.png"><img class="aligncenter size-medium wp-image-703" title="aslingga's store" src="http://blog.aslingga.com/wp-content/uploads/2011/01/appsstore-300x179.png" alt="" width="300" height="179" /></a></p>
<p>On this website I make some features:</p>
<ul>
<li>Registration</li>
<li>Login</li>
<li>Order</li>
<li>Comment and Review</li>
<li>Product Label</li>
<li>News, Article, Event</li>
<li>etc.</li>
</ul>
<p>But until now this application still in beta not launched yet, hehehehe &#8230;. but you can try their features if you interested and if anyone among of you who are interested want to create an e-commerce website please contact me on contact page: D. I will make a custom business rules if you want to make some business rules match with your own criteria.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2011/01/17/ecommerce-website-application/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Raisa Andriana dengan suara merdunya</title>
		<link>http://blog.aslingga.com/2010/11/26/raisa-andriana-dengan-suara-merdunya/</link>
		<comments>http://blog.aslingga.com/2010/11/26/raisa-andriana-dengan-suara-merdunya/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 14:55:36 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[raisa adriana]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://blog.aslingga.com/?p=670</guid>
		<description><![CDATA[Mungkin beberapa dari Anda belum mengenal siapa Raisa Andriana. Dia adalah seorang penyanyi yang sekarang belum terkenal, tapi memiliki suara yang sangat bagus menurut saya. Wanita yang dilahirkan pada 6 Juni 1990 ini kelihatannya memang [...]]]></description>
			<content:encoded><![CDATA[<p>Mungkin beberapa dari Anda belum mengenal siapa Raisa Andriana. Dia adalah seorang penyanyi yang sekarang belum terkenal, tapi memiliki suara yang sangat bagus menurut saya.</p>
<p>Wanita yang dilahirkan pada 6 Juni 1990 ini kelihatannya memang sudah senang menyanyi sejak kecil. Setelah beranjak remaja, hobinya ini dia salurkan dengan meng-upload video ke <a title="YouTube" href="http://www.youtube.com" target="_blank">YouTube</a>. Video apa yang dia upload ke YouTube? Kebanyakan video-video yang diuploadnya ke YouTube adalah video dirinya menyanyikan lagu-lagu milik penyanyi ternama. Sebuah kebiasaan yang tidak banyak dilakukan oleh orang-orang pada umumnya. Tapi dengan hobinya yang suka meng-upload video-videonya ke YouTube, dia bisa menunjukkan suara merdunya kepada dunia. Tetap menyanyi ya Raisa, semoga kamu jadi penyanyi yang ngetop selanjutnya <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Mau mendengarkan salah satu video dari Raisa, silakan lihat video lengkapnya dari dengan judul lagunya Serba Salah <a title="Serba Salah - Raisa" href="http://www.youtube.com/watch?v=o10dN1jkMoM" target="_blank">disini</a>.</p>
<p style="text-align: center;"><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/o10dN1jkMoM?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="500" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/o10dN1jkMoM?fs=1&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/11/26/raisa-andriana-dengan-suara-merdunya/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Unlimited from Smart</title>
		<link>http://blog.aslingga.com/2010/11/18/internet-unlimited-from-smart/</link>
		<comments>http://blog.aslingga.com/2010/11/18/internet-unlimited-from-smart/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 15:39:16 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.aslingga.com/?p=570</guid>
		<description><![CDATA[Many of us are looking for unlimited internet service. Why? Because by using the unlimited internet service we can use the Internet as much without any limitation if the quota will be exhausted. However, sometimes a lot of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.aslingga.com/wp-content/uploads/2010/11/1_microsoft-internet-explorer-8.jpg"><img class="alignleft size-full wp-image-573 outline" title="Internet" src="http://blog.aslingga.com/wp-content/uploads/2010/11/1_microsoft-internet-explorer-8.jpg" alt="" width="150" height="150" /></a>Many of us are looking for unlimited internet service. Why? Because by using the unlimited internet service we can use the Internet as much without any limitation if the quota will be exhausted. However, sometimes a lot of Internet providers who say unlimited but there is an asterisk (* <span style="text-decoration: underline;">there must be a frill behind it</span>) behind him. Sperti Three, Telkomsel Flash, AXIS, etc.. So the internet access will be given a quota so many bytes, after the quota runs out then the speed of its Internet will diturukan to about 64 Kbps. It&#8217;s not sneaky internet provider in Indonesia.</p>
<p>As the <a title="Koneksi Internet 3(Three) lambat" href="http://blog.aslingga.com/2010/05/29/koneksi-internet-3three-lambat/comment-page-1/" target="_blank">my bad news of using Three Internet connection</a>, I have ever faced by Internet service from Three. He said the hell speeds up to 1.8 Mbps, but in reality lemotnya apologize: (. So I bought a new modem here we go. I try to buy a modem Smart, said the person does good and does not slow <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I&#8217;ve tried the services of Smart, its Internet service really unlimited with a certain speed limit. So you may choose the types of package, where the type of this package will determine the speed of your Internet access later. I try to use the Silver package with the price of Rp 75,000 to the max speed. 512 Kbps. To try streaming from youtube is a good one, but if it does not rain again and there was no lightning: D.Because if the rain and lightning came down and speed certainly often merely disconnect.</p>
<p><span id="more-570"></span></p>
<p><a title="Smart" href="http://www.smart-telecom.co.id/" target="_blank">Smart</a> does not make restrictions on quota (unlimited), but it has to offer is diversity maximum speed. So if you only want to use the internet limited to read email, send email, chat, facebook, and twitter can choose the package with the appropriate speed for example Silver package. For more information about the terms and conditions please look at this <a title="Syarat dan Ketentuan" href="http://www.smart-telecom.co.id/index.php?module=content&amp;method=detail&amp;id=80" target="_blank">link</a>.</p>
<p>Oh yes one thing to remember, because this Smart Internet service using the CDMA network coverage possibility is very small. For the Greater Jakarta area will probably get the maximum speed but for the outside area can not be certain to get maximum speed <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/11/18/internet-unlimited-from-smart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ask your question at Stackoverflow</title>
		<link>http://blog.aslingga.com/2010/11/05/ask-your-question-at-stackoverflow/</link>
		<comments>http://blog.aslingga.com/2010/11/05/ask-your-question-at-stackoverflow/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 07:09:07 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.aslingga.com/?p=536</guid>
		<description><![CDATA[At my office I build a website using Yii framework. But I am still a newbie user in Yii programming. I have a problem with this query: My question is how to make criteria with [...]]]></description>
			<content:encoded><![CDATA[<p>At my office I build a website using Yii framework. But I am still a newbie user in Yii programming. I have a problem with this query:</p>
<pre class="brush: sql; title: ; notranslate">SELECT * FROM activity
WHERE (((userId = 1 OR userId IN(SELECT userId FROM follower WHERE followerId = 1)
AND activityType IN(1, 2, 3))
OR (targetId = 24 AND aType IN(1, 2, 3, 4, 5)))
ORDER BY id DESC;</pre>
<p>My question is <a title="How to make criteria with complex query in Yii framework?" href="http://stackoverflow.com/questions/4021890/how-to-make-criteria-with-complex-query-in-yii-framework" target="_blank">how to make criteria with complex query in Yii framework?</a></p>
<blockquote><p>I have query like this:</p>
<pre class="brush: sql; title: ; notranslate">SELECT * FROM activity
WHERE (((userId = 1 OR userId IN(SELECT userId FROM follower WHERE followerId = 1)
AND activityType IN(1, 2, 3))
OR (targetId = 24 AND aType IN(1, 2, 3, 4, 5)))
ORDER BY id DESC;</pre>
<p>I have try to use <code>model()-&gt;findAllBySql($sql)</code> and it works. But I want to make it using <code>CDbCriteria</code>, if you have another solutions let me know it <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p></blockquote>
<p>Because I could not find the solution for this problem so I asked it on Stackoverflow and there some people give me the answer. I am quite happy that there are some people who want to provide solutions to those problems. I strongly advise you to ask questions about IT (programming) in <a title="Stackoverflow" href="http://www.stackoverflow.com" target="_blank">Stackoverflow</a>, because there are many people who are willing to provide the answer for you. What is interesting here also you you get some badges if you contribute to the Stackoverflow. This is my profile <a title="Angga Lingga at Stackoverflow" href="http://stackoverflow.com/users/246131/aslingga" target="_blank">link</a> at Stackoverflow.</p>
<p>So let&#8217;s give your contribution there and join a variety of people from different countries in a Stackoverflow&#8217;s community.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/11/05/ask-your-question-at-stackoverflow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google DevFest Jakarta 2010 Invitation</title>
		<link>http://blog.aslingga.com/2010/10/04/google-devfest-jakarta-2010-invitation/</link>
		<comments>http://blog.aslingga.com/2010/10/04/google-devfest-jakarta-2010-invitation/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 14:57:22 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Event]]></category>

		<guid isPermaLink="false">http://blog.aslingga.com/?p=523</guid>
		<description><![CDATA[When I wake up in the morning, I open my Outlook, an email with subject &#8216;DevFest Jakarta Confirmation&#8216; from Google DevFest 2010 (noreply[at]google.com) appear on my Inbox. I am really happy because now I can [...]]]></description>
			<content:encoded><![CDATA[<p>When I wake up in the morning, I open my Outlook, an email with subject &#8216;<strong>DevFest Jakarta Confirmation</strong>&#8216; from Google DevFest 2010 (noreply[at]google.com) appear on my Inbox. I am really happy because now I can see a big company like <a title="Google" href="http://www.google.com" target="_blank">Google</a>. I don&#8217;t believe I will be invited to join this event. Thank you very much Google for your kindness <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>At this Google DevFest 2010 I want to know more about <a title="Android" href="http://www.android.com/" target="_blank">Android</a> (a mobile operating systems). Why I am interested to this technology? Because I want to build some application using Android. Ya just make a simple application like a newbie that want to explore a new technology. <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>This the email confirmation from Google &#8230; <strong>YEAH</strong> &#8230;</p>
<p style="padding-left: 30px;"><img class="size-full wp-image-524 alignnone" title="Google DevFest logo" src="http://blog.aslingga.com/wp-content/uploads/2010/10/Google-DevFest-logo.png" alt="Google DevFest Jakarta 2010" width="300" height="116" /></p>
<pre style="padding-left: 30px;"><span style="font-family: monospace;">Confirmation code / Kode konfirmasi: abcdexxxxxxxx</span></pre>
<pre style="padding-left: 30px;"><span style="font-family: monospace;">Full name / Nama lengkap: Angga Lingga</span></pre>
<pre style="padding-left: 30px;"><code>Email / Alamat email: xxxxxxxxxx</code></pre>
<p style="padding-left: 30px;"><em>(English Version Below)<span id="more-523"></span><br />
</em></p>
<p style="padding-left: 30px;">Halo Angga!</p>
<p style="padding-left: 30px;">Terima kasih atas minat Anda untuk berpartisipasi dalam Google DevFest Jakarta. Email ini mengkonfirmasi pendaftaran Anda. Mohon cetak email ini dengan kode konfirmasinya untuk memperlancar registrasi pada saat acara berlangsung.</p>
<p style="padding-left: 30px;"><strong>Kapan</strong><strong>：</strong><br />
Jumat, 8 Oktober 2010<br />
Registrasi mulai pada pk 8:00 pagi.<br />
Acara akan berlangsung dari pk 9:00 pagi &#8211; 18:00 sore.</p>
<p style="padding-left: 30px;">Karena kampus akan beroperasi normal, Anda sangat disarankan untuk datang antara pk 8 s/d 9 pagi (waktu terbaik) untuk menghindari kemacetan lalu lintas di sekitar kampus.</p>
<p style="padding-left: 30px;"><strong>Tempat</strong><strong>：</strong><br />
Kampus BINUS Anggrek<br />
<a href="http://maps.google.com/?ie=UTF8&amp;ll=-6.193249,106.789856&amp;spn=0.01873,0.027595&amp;z=15&amp;iwloc=A&amp;q=Bina+Nusantara&amp;cid=17967112029550665237">Jl. Kebon Jeruk Raya no.27, located on West Jakarta</a><br />
<a href="http://www.binus.ac.id/Campuses/Anggrek.Campus/Campus.Map/English">Campus Map</a></p>
<p style="padding-left: 30px;">Kami akan memberikan update terbaru mengenai agenda, pembicara, dan sesi-sesi dalam beberapa hari ke depan, jadi ikuti kami di <a href="http://www.google.com/profiles/devfest.apac">Buzz</a> dan <a href="http://www.twitter.com/devfestapac">Twitter</a> untuk perkembangan terakhir.</p>
<p style="padding-left: 30px;">Email yang lebih detil akan kami kirimkan beberapa hari sebelum acara.。</p>
<p style="padding-left: 30px;">Sampai jumpa!</p>
<p style="padding-left: 30px;">Salam,<br />
Tim DevFest Jakarta</p>
<p style="padding-left: 30px;">Hello Angga!</p>
<p style="padding-left: 30px;">Thanks for your interest in Google DevFest Jakarta. This email confirms your registration for the event. Please bring a print out of this email with your confirmation code for faster check-in.</p>
<p style="padding-left: 30px;"><strong>When:</strong><br />
Friday, October 8th, 2010<br />
Check-in begins at 8:00am.<br />
The agenda will run from 9:00am-6:00pm.</p>
<p style="padding-left: 30px;"><strong>Where:</strong><br />
BINUS Anggrek Campus</p>
<p style="padding-left: 30px;"><a href="http://maps.google.com/?ie=UTF8&amp;ll=-6.193249,106.789856&amp;spn=0.01873,0.027595&amp;z=15&amp;iwloc=A&amp;q=Bina+Nusantara&amp;cid=17967112029550665237">Jl. Kebon Jeruk Raya no.27, located on West Jakarta</a></p>
<p style="padding-left: 30px;">We’ll be posting more updates to the agenda, speakers, and sessions in the next few days, so follow us on <a href="http://www.google.com/profiles/devfest.apac">Buzz</a> and <a href="http://www.twitter.com/devfestapac">Twitter</a> for the latest news.</p>
<p style="padding-left: 30px;">A more detailed reminder email will also be sent out a few days before the event.</p>
<p style="padding-left: 30px;">We look forward to seeing you there!</p>
<p style="padding-left: 30px;">Cheers,</p>
<p style="padding-left: 30px;">The DevFest Jakarta Team</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/10/04/google-devfest-jakarta-2010-invitation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>DateTimeDiff in PHP using TimeStamp</title>
		<link>http://blog.aslingga.com/2010/06/29/datetimediff-in-php-using-timestamp/</link>
		<comments>http://blog.aslingga.com/2010/06/29/datetimediff-in-php-using-timestamp/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 14:45:30 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aslingga.com/?p=494</guid>
		<description><![CDATA[In my last post about Converting Your Date from date/time into timestamp using PHP I have make a explanation how to convert from date/time into timestamp format in PHP. Now I will make a post about [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post about <a title="Converting Your Date from date/time into timestamp using PHP" href="http://www.aslingga.com/2010/01/08/converting-your-date-from-datetime-into-timestamp-using-php/" target="_blank">Converting Your Date from date/time into timestamp using PHP</a> I have make a explanation how to convert from date/time into timestamp format in PHP. Now I will make a post about how to make a datetimediff in PHP. I will use TimeStamp format for this example. Let’s see if we can do it. Why to use timestamp format? I think this is the standard format for time formatting. <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  CMIIW</p>
<p>In my time zone, I will set it to Asia/Jakarta because my I live in Jakarta so I will match with it.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
class DateUtil {
	public static function dateDiff($_date) {
		date_default_timezone_set('Asia/Jakarta');

		$today = time();
		$date = strtotime($_date);

		return $today - $date;
	}
}

$myDate = '2010-06-28 12:46:36';
echo DateUtil::dateDiff($myDate) .' seconds';
?&gt;
</pre>
<p>It will return the difference time (now) and your input time.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/06/29/datetimediff-in-php-using-timestamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Koneksi Internet 3(Three) lambat</title>
		<link>http://blog.aslingga.com/2010/05/29/koneksi-internet-3three-lambat/</link>
		<comments>http://blog.aslingga.com/2010/05/29/koneksi-internet-3three-lambat/#comments</comments>
		<pubDate>Sat, 29 May 2010 11:32:23 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.aslingga.com/?p=423</guid>
		<description><![CDATA[Three is one of mobile phone network provider in Indonesia. So I want to use one of their services for my daily activities. I used their Internet Broadband, they call it 3 Broadband (3 Unlimited [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft outline" src="http://blog.aslingga.com/wp-content/uploads/2010/05/logo01.gif" alt="" width="56" height="71" /><a title="Three Indonesia" href="http://www.three.co.id" target="_blank">Three</a> is one of mobile phone network provider in Indonesia. So I want to use one of their services for my daily activities. I used their Internet Broadband, they call it 3 Broadband (3 Unlimited up to 1.8 Mbps). After I buy it and set up 3 Broadband on my O2 (7.2 Mbps) modem, I can use their Internet services with bandwidth up to 1.8 Mbps. But at the third moth the bandwidth speed decreased to 0 KB/s. Hahaha &#8230; It&#8217;s so amazing. <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  For for the continuation of this post I will use Indonesian language because some of my readers will come from Indonesia. So I hope you can understand what I mean. Because I don&#8217;t want to make my readers complicated when they read this article. <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Nah kali ini saya akan menceritakan pengalaman saya selama menggunakan koneksi dari <a title="Three" href="http://www.three.co.id" target="_blank">3 Broadband</a>. Wah pengalaman saya selama menggunakan layanan Internet banyak cerita sedihnya daripada cerita bahagianya. Mengapa tidak, memang untuk bulan pertama memang layanan Internet dari Three ini cukup memuaskan. Saya hampir bisa mendapatkan kecepatan Downlink sampai 1.8 Mbps (di test dengan menggunakan <a title="SpeedTest.net" href="http://www.speedtest.net" target="_blank">SpeedTest.net</a>). Kecepatan segitu mah sudah cukup-cukup kencang untuk koneksi Internet dengan menggunakan modem wireless. Sebagai informasi saya mengakses layanan Three ini didaerah Karet, Sudirman, Jakarta Selatan. Taulah kan kalo daerah Sudirman itu daerah kantoran dan pastinya mereka harus menyediakan jaringan koneksi Internet yang bagus, buktinya ???</p>
<p>Nah sebelum saya lanjut saya mau ceritakan kenapa saya mau bukan tertarik memakai layanan Three. Dari dulu saya nggak pernah yakin dengan layanan dari Three (ini menurut pendapat saya) karena jaringannya yang belum luas dan koneksi yang masih belum dapat dipercaya. Saya lebih percaya dengan jaringan dari <a title="Telkomsel" href="http://www.telkomsel.com" target="_blank">Telkomsel</a>. Iya kenapa saya mau menggunakan Three karena tulisan Unlimited dan biaya penggunaanya yang cukup murah kemarin 85 ribu + PPn. Itu saja sih kenapa saya mau menggunakan layanan Three, selebihnya saya tidak akan mau menggunakan layanan dari Three.</p>
<p>Waktu saya beli kemarin isi brosurnya (brosur yang ada tulisan Play-nya itu loh bukan brosur yang sekarangnya) menarik sekali. Jaringan HSDPA dan kecepatannya up to 1.8 Mbps. Jangankan 0.5 Mbps 56 Kbps aja nggak sampe. Bisa lebih enak menggunakan dial up-nya <a title="Tarif Merdeka dari Telkomnet Instant" href="http://www.aslingga.com/2008/08/27/tarif-merdeka-dari-telkomnet-instan/" target="_blank">Telkomnet Instan</a> dari Telkom. Kejam nggak loe bayangkan dengan keadaan dari Three itu. Mau lihat screenshotnya kalo aku nggak bohong.</p>
<p><img class="aligncenter" src="http://www.speedtest.net/result/860288126.png" alt="" width="300" height="135" /></p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-424" title="Koneksi Internet 3 (Three)" src="http://blog.aslingga.com/wp-content/uploads/2010/05/Koneksi_Internet_3-300x227.jpg" alt="" /></p>
<p><span id="more-423"></span>Percaya nggak dengan yang aku bilang? Nah itu dia kecepatan dari Internet 3. Hahaha &#8230; 1.8 Mbps ??? 0 Mbps kali &#8230; Kasus itu saya alami bulan ketiga sejak saya beli kartu perdananya Three dengan harga yang cukup-cukup mahal Rp 280.000,- (katanya gratis 3 bulan pemakaian Internet Unlimited). Menarik bukan ??? Nah karena itu saya pengen nyobain barang dia itu <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (jangan kotor ya pikirannya.) Pada saat bulan ketiga Internet saya sering sekali dapat koneksi yang sangat-sangat lemot (0 KB/s).</p>
<p>Bukan hanya kecepatan koneksi aja yang ) KB/s tapi seringnya putus koneksi. Wah ini yang paling kesalnya aku. Karena sering terjadinya masalah dengan koneksi Internet saya, maka saya mengajukan keluhan saya ke pihak Three. Saya mengirimkan email keluhan saya ke 3care@three.co.id. Saya kirim tanggal 25 Mei 2010 malam hari, nah saya cukup acungkan jempollah ama mereka karena pada tanggal 26 Mei 2010 dini hari email balasannya sudah datang. Cepat bukan ??? <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Ini dia email balasannya:</p>
<blockquote><p><em><strong>Sent at 4:51 AM (GMT+07:00)</strong></em></p>
<p>Kepada Yth.<br />
Bapak Angga Sanjaya Lingga,</p>
<p>Terima Kasih atas email yang telah dikirimkan.</p>
<p>Berkenan dengan keluhan Bapak Angga mengenai kualitas akses 3Broadband dari kartu 3, kami mohon maaf atas ketidaknyamannya. Kiranya Bapak dapat menginformasikan nomor 3 yang digunakan dan nomor lain yang dapat kami hubungi untuk investigasi lebih lanjut.</p>
<p>Demikian informasi yang dapat kami sampaikan.</p>
<p>Hormat Kami,</p>
<p><strong>Ade</strong></p>
<p>3Care<br />
100 dari kartu 3paskabayar Anda (Bebas pulsa)<br />
200 dari kartu 3prabayar Anda (Berbayar)<br />
0896-44000-123 /100/200 dari nomor lainnya</p>
<p><a href="http://www.three.co.id/" target="_blank">www.three.co.id</a></p></blockquote>
<p>Nah kemudian saya kirim lagi email saya kepada mereka. Tentunya saya harus kasih balasannya dong ada dua email saya kirim tapi satu sajapun tidak ada balasannya. Saking kesalnya saya dengan kinerja CS-nya Three ini saya buat tambahan seperti yang tertera diemail saya ini.</p>
<blockquote><p><strong><em>Sent at 10:54 PM (GMT+07:00)</em></strong></p>
<p>Dear 3Care,</p>
<p>&#8230;.</p>
<p>Apa saya perlu buat di Suara Pembaca <strong>Kompas.com</strong> ato <strong>Detik.com</strong> ya supaya pihak dari Three memberikan respon yang lebih baik dan cepat untuk masalah saya ini. Mungkin kalo hanya dari email seperti ini bisa Anda undur2. Saya tunggu secepatnya dari Three.</p>
<p>&#8211;<br />
Regards,</p>
<p>Angga Sanjaya Lingga</p></blockquote>
<p>Nah saya nggak main-main dengan perkataan saya, sayapun menuliskan kekesalan saya terhadap Three disurat pembaca Kompas.com supaya mereka membalas keluhan saya. Ini dia linknya &#8220;<a title="Pelayanan Buruk dari 3Care" href="http://www1.kompas.com/suratpembaca/read/14040" target="_blank">Pelayanan Buruk dari 3Care</a>&#8220;. Cukup disini dulu saya menyampaikan unek-unek saya terhadap Three. Jadi Anda bisa mengambil keputusan mau menggunakan layanan Three atau tidak dari pengalaman saya ini.</p>
<p>Tambahan : Surat Pembaca di <a title="Koneksi Internet Unlimited Kartu 3 Lambat Padahal Sinyal Penuh" href="http://suarapembaca.detik.com/read/2010/03/15/115229/1318366/283/koneksi-internet-unlimited-kartu-3-lambat-padahal-sinyal-penuh" target="_blank">Detik.com</a> oleh pengguna lainnya.</p>
<p><em>PS: Komentar-komentar yang berasal dari pembaca yang juga mengalami masalah dengan koneksi Internet 3. Komentar dibawah ini bukan bermaksud untuk menjelekkan namun hanya keluhan dari para pembaca. [<strong>Updated</strong>]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/05/29/koneksi-internet-3three-lambat/feed/</wfw:commentRss>
		<slash:comments>123</slash:comments>
		</item>
		<item>
		<title>Send email using PHP and CodeIgniter Framework</title>
		<link>http://blog.aslingga.com/2010/05/28/send-email-using-php-and-codeigniter-framework/</link>
		<comments>http://blog.aslingga.com/2010/05/28/send-email-using-php-and-codeigniter-framework/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:57:42 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.aslingga.com/?p=408</guid>
		<description><![CDATA[Now I will explain how to send email using PHP and CodeIgniter Framework. In my last post(Send email using PHP Mailer and Yii Framework) I have try send and email using Yii Framework and using [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-442 outline" title="CodeIgniter" src="http://www.aslingga.com/wp-content/uploads/2010/05/ci_logo2-150x73.gif" alt="" width="150" height="73" />Now I will explain how to send email using PHP and CodeIgniter Framework. In my last post(<a title="http://www.aslingga.com/2010/05/27/send-email-using-php-mailer-and-yii-framework/" href="http://www.aslingga.com/2010/05/27/send-email-using-php-mailer-and-yii-framework/" target="_blank">Send email using PHP Mailer and Yii Framework</a>) I have try send and email using Yii Framework and using PHPMailer(<a title="Send SMTP email using PHP (PHP Mailer)" href="http://www.aslingga.com/2010/03/08/send-smtp-email-using-php-php-mailer/" target="_blank">Send SMTP email using PHP (PHP Mailer)</a>). I don&#8217;t want to compare among <a title="Yii Framework" href="http://www.yiiframework.com" target="_blank">Yii Framework</a>, PHPMailer, and CodeIgniter while sending email. I just want to share my skill in programming.</p>
<p>On this post, I assume that you have understood in MVC(Modeler Viwer Controller) concept. So I will not explain what is MVC and its meaning. If you want to read more about MVC concept just visit the <a title="CodeIgniter" href="http://codeigniter.com/" target="_blank">CodeIgniter website</a>.<span id="more-408"></span></p>
<p>This script will send your email using GMail mail server. For the authentication I will use an account from my <a title="Using Google Apps as your Mail Server" href="http://blog.aslingga.com/2010/03/09/using-google-apps-as-your-mail-server/" target="_blank">Google Apps</a>. You can use this account if you want to try send your email using a GMail mail server. Here is the code to send email using CodeIgniter:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
/*****************************
 ** Class name: Emailer
 ** Description: Send an email to user
 ** Date: 2010-05-28
 ** Author: Angga Lingga
 ** Email: aslingga@gmail.com
*****************************/

class Emailer extends Controller {
	// contructor
	public function Emailler() {}

	public function sendEmail() {
		// parameters of your mail server and how to send your email
		$config = array(
			'protocol' =&gt; 'smtp',
 			'smtp_host' =&gt; 'ssl://smtp.googlemail.com',
 			'smtp_port' =&gt; 465,
 			'smtp_user' =&gt; 'test@aslingga.com',
 			'smtp_pass' =&gt; 'testpasswdxxx',
			'mailtype' =&gt; 'html'
		);

		// recipient, sender, subject, and you message
		$to = &quot;someone@example.com&quot;;
		$from = &quot;test@aslingga.com&quot;;
		$subject = &quot;Test sending email using CodeIgniter Framework&quot;;
		$message = &quot;This is a test email using CodeIgniter. If you can view this email, it means you have successfully send an email using CodeIgniter.&quot;;

		// load the email library that provided by CI
		$this-&gt;load-&gt;library('email', $config);
		// this will bind your attributes to email library
 		$this-&gt;email-&gt;set_newline(&quot;\r\n&quot;);
		$this-&gt;email-&gt;from($from, 'Your Company');
		$this-&gt;email-&gt;to($to);
		$this-&gt;email-&gt;subject($subject);
		$this-&gt;email-&gt;message($message);

		// send your email. if it produce an error it will print 'Fail to send your message!' for you
		if($this-&gt;email-&gt;send()) {
			echo &quot;Message sent successfully!&quot;;
		}
		else {
			echo &quot;Fail to send your message!&quot;;
		}
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/05/28/send-email-using-php-and-codeigniter-framework/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Send email using PHP Mailer and Yii Framework</title>
		<link>http://blog.aslingga.com/2010/05/27/send-email-using-php-mailer-and-yii-framework/</link>
		<comments>http://blog.aslingga.com/2010/05/27/send-email-using-php-mailer-and-yii-framework/#comments</comments>
		<pubDate>Thu, 27 May 2010 11:53:11 +0000</pubDate>
		<dc:creator>Angga Lingga</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Yii]]></category>
		<category><![CDATA[Yii Framework]]></category>

		<guid isPermaLink="false">http://www.aslingga.com/?p=394</guid>
		<description><![CDATA[How to send an email using PHP Mailer and Yii Framework? This is the question for this topic right now. Now I will tell you how to send an email using PHP Mailer and Yii [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://blog.aslingga.com/wp-content/uploads/2010/05/Yii-logo-transparent.png"><img class="aligncenter size-full wp-image-792" title="Yii-logo-transparent" src="http://blog.aslingga.com/wp-content/uploads/2010/05/Yii-logo-transparent.png" alt="" width="725" height="157" /></a></p>
<p>How to send an email using PHP Mailer and <a title="Yii Framework" href="http://www.yiiframework.com/" target="_blank">Yii Framework</a>? This is the question for this topic right now. Now I will tell you how to send an email using PHP Mailer and Yii Framework. In my last post(<a title="Send SMTP email using PHP (PHP Mailer)" href="http://www.aslingga.com/2010/03/08/send-smtp-email-using-php-php-mailer/" target="_blank">Send SMTP email using PHP (PHPMailer)</a>) I have told how to send an email using PHP Mailer but I did&#8217;nt explain how to send an email using Yii Framework.</p>
<p>Basically both of them using the PHPMailer library and use OOP concept when access the <code>$mailer</code> object. But in Yii Framework we must put this library in the extension directory.</p>
<ol>
<li>Download the PHPMailer extension for Yii Framework from this <a title="Yii Framework Mailer" href="http://www.yiiframework.com/extension/mailer/" target="_blank">link</a>.</li>
<li>Create &#8216;<strong>extensions</strong>&#8216; directory under &#8216;<strong>protected</strong>&#8216; directory. (Optional if you have created it before)</li>
<li>Extract the compressed files into extensions directory.</li>
<li>Now created a new controller and make a function <code>actionSendEmail()</code>.</li>
<li>Put the codes into the <code>actionSendMail()</code> body.</li>
<li>Call the action request to your controller and wait until your web server finish processing your request.</li>
<li>If the your mail sent successfully it will display result &#8216;<em>Message sent successfully!</em>&#8216; either it will display &#8216;<em>Fail to send your message!</em>&#8216;<span id="more-394"></span></li>
</ol>
<pre class="brush: php; title: ; notranslate">
IsSMTP();
     $mailer-&gt;IsHTML(true);
     $mailer-&gt;SMTPAuth = true;
     $mailer-&gt;SMTPSecure = &quot;ssl&quot;;
     $mailer-&gt;Host = &quot;smtp.gmail.com&quot;;
     $mailer-&gt;Port = 465;
     $mailer-&gt;Username = &quot;test@aslingga.com&quot;;
     $mailer-&gt;Password = &quot;testpasswdxxx&quot;;
     $mailer-&gt;From = &quot;test@aslingga.com&quot;;
     $mailer-&gt;FromName = &quot;Test&quot;;
     $mailer-&gt;AddAddress(&quot;user@example.com&quot;);
     $mailer-&gt;Subject = &quot;Someone sent you an email.&quot;;
     $mailer-&gt;Body = &quot;Hi, This is just a test email using PHP Mailer and Yii Framework.&quot;;
     if(!$mailer-&gt;Send()) {
          echo &quot;Message sent successfully!&quot;;
     }
     else {
          echo &quot;Fail to send your message!&quot;;
     }
}
?&gt;
</pre>
<p>Try on your own site, let see if you can send an email using PHPMailer and Yii Framework. Hehehehe &#8230; <img src='http://blog.aslingga.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aslingga.com/2010/05/27/send-email-using-php-mailer-and-yii-framework/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

