<?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>International Open Solutions Centre &#187; Programming</title>
	<atom:link href="http://www.iosc.net/blog/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iosc.net/blog</link>
	<description>Share your experience and knowledge computer hardware / software / programming / design / news</description>
	<lastBuildDate>Mon, 19 Dec 2011 07:34:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to Update Millions of MySQL records from Table A to Table B</title>
		<link>http://www.iosc.net/blog/2009/04/17/how-to-update-millions-of-mysql-records-from-table-a-to-table-b/</link>
		<comments>http://www.iosc.net/blog/2009/04/17/how-to-update-millions-of-mysql-records-from-table-a-to-table-b/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:04:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[hundred thousand records]]></category>
		<category><![CDATA[millions records]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[update table]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/?p=65</guid>
		<description><![CDATA[Recently I am working on a project where I will need to convert client&#8217;s database with millions of old Paradox/Foxpro records to MySQL and then I have to create a new Web App based on PHP/MySQL to deal with all this old records plus new way of database structuring. When I am trying to update [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I am working on a project where I will need to convert client&#8217;s database with millions of old Paradox/Foxpro records to MySQL and then I have to create a new Web App based on PHP/MySQL to deal with all this old records plus new way of database structuring.</p>
<p>When I am trying to update a customer ID from a table A to table B, I always need to wait for few hours for the server to process it. This is so annoying and waste of time.</p>
<p>Finally I found the answer today where actually I need to INDEX the customer ID before doing the updates. The difference is just so BIG.</p>
<p>With the same command issue at the following, without INDEX it will takes hours to complete BUT after INDEXING then it just need 1.45 sec for 19,638 records!!!</p>
<blockquote><p>UPDATE tel AS t INNER JOIN contact AS c  SET t.cid = c.cid WHERE t.addr_id = c.addr_id AND t.cid = 0;<br />
Query OK, 19638 rows affected (1.45 sec)<br />
Rows matched: 19638  Changed: 19638  Warnings: 0</p></blockquote>
<p>So, now I just perform the update again for full data and let&#8217;s see the results <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<blockquote><p>UPDATE tel AS t INNER JOIN contact AS c  SET t.cid = c.cid WHERE t.addr_id = c.addr_id;<br />
Query OK, 0 rows affected (3.55 sec)<br />
Rows matched: 103484  Changed: 0  Warnings: 0</p></blockquote>
<p>That&#8217;s why I say it&#8217;s fun to play with web programming now a days <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  lol</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2009/04/17/how-to-update-millions-of-mysql-records-from-table-a-to-table-b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The missing 5th parameter for PHP Mail()</title>
		<link>http://www.iosc.net/blog/2008/11/06/the-missing-5th-parameter-for-php-mail/</link>
		<comments>http://www.iosc.net/blog/2008/11/06/the-missing-5th-parameter-for-php-mail/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 13:28:34 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[php mail]]></category>
		<category><![CDATA[return-path]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/?p=61</guid>
		<description><![CDATA[So happy!!! Finally I solved my php email script problem for sending emails to server with SPF record!!! There is a missing 5th parameter for PHP Mail() which I never know (eventhough on php.net mail() function did show up 5th parameter). My problems is no matter on which site I setup mail scripts, the Return-path [...]]]></description>
			<content:encoded><![CDATA[<p>So happy!!! Finally I solved my php email script problem for sending emails to server with SPF record!!!</p>
<p>There is a missing 5th parameter for PHP Mail() which I never know (eventhough on php.net mail() function did show up 5th parameter).</p>
<p>My problems is no matter on which site I setup mail scripts, the Return-path always showing the main server url which most of the time causing problem for sending email to some protected email server. No matter how I set the headers to include Reurn-path to any email address, it will never show up the correct one. At last now I have the solution,</p>
<p>mail($to, $subject, $bodymessage, $headers, &#8220;-fnoreply@domain.com&#8221;)</p>
<p>noreply@domain.com is the address I sepcified, there must be a -f in front of the address.</p>
<p>Hope this will be helpful <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2008/11/06/the-missing-5th-parameter-for-php-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS z-index trick for IE6 and IE7</title>
		<link>http://www.iosc.net/blog/2008/10/17/css-z-index-trick-for-ie6-and-ie7/</link>
		<comments>http://www.iosc.net/blog/2008/10/17/css-z-index-trick-for-ie6-and-ie7/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 22:11:45 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/?p=58</guid>
		<description><![CDATA[Just found out that if you have sort of CSS drop down menu, sometime when the menu drop and touch the bottom DIV, the menu will be cut off. The solution is very simple, let say your drop down menu #menu is within #header part, you just need to set the #header with z-index:2; then [...]]]></description>
			<content:encoded><![CDATA[<p>Just found out that if you have sort of CSS drop down menu, sometime when the menu drop and touch the bottom DIV, the menu will be cut off.</p>
<p>The solution is very simple, let say your drop down menu #menu is within #header part, you just need to set the #header with z-index:2;</p>
<p>then your next part maybe #contents, this should be set to z-index:1;</p>
<p>Hope you got it <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2008/10/17/css-z-index-trick-for-ie6-and-ie7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>is your Web Server hacked to be a SPAM server?</title>
		<link>http://www.iosc.net/blog/2008/06/16/is-your-web-server-hacked-to-be-a-spam-server/</link>
		<comments>http://www.iosc.net/blog/2008/06/16/is-your-web-server-hacked-to-be-a-spam-server/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 10:04:39 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[data_.php]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spammer]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/?p=48</guid>
		<description><![CDATA[This morning I just found that my cPanel server sent me a notice by email saying there is a new uploaded CGI/script file trying to use the sendmail function. The file is data_.php This related to one of my website that I have not been updating recently, so I quickly ftp into my server and [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I just found that my cPanel server sent me a notice by email saying there is a new uploaded CGI/script file trying to use the sendmail function. The file is data_.php</p>
<p>This related to one of my website that I have not been updating recently, so I quickly ftp into my server and check it.</p>
<p>I found that this data_.php script is use for GETTING HTTP POSTS from some where and then it will MAIL it out, so, my server will become the email server for the SPAMMER. Luckily I notice about it earlier now and saw this stupid spammer write different php style than me, so I can sure this is not the script that I wrote for myself (lol, I have to deal with thousand of scripts always)</p>
<p>I have report this to the datacentre admin, they are checking for me now that whether where is the security hole. Stay tuned!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2008/06/16/is-your-web-server-hacked-to-be-a-spam-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Access denied for user to database?</title>
		<link>http://www.iosc.net/blog/2008/05/06/access-denied-for-user-to-database/</link>
		<comments>http://www.iosc.net/blog/2008/05/06/access-denied-for-user-to-database/#comments</comments>
		<pubDate>Tue, 06 May 2008 09:58:38 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/?p=32</guid>
		<description><![CDATA[Now I am dealing with a weird problem met on my client server where some of the PHP/MySQL codes seems not running correctly. Is it the version problem? I am still searching for the solution. It seems that the codes runing perfectly on my local server and the servers in datacentre. Why don&#8217;t those software [...]]]></description>
			<content:encoded><![CDATA[<p>Now I am dealing with a weird problem met on my client server where some of the PHP/MySQL codes seems not running correctly. Is it the version problem? I am still searching for the solution. It seems that the codes runing perfectly on my local server and the servers in datacentre. Why don&#8217;t those software keep standardized? This is why also I trust the web applications more than a typical software, at least I can keep cross-platform easy and simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2008/05/06/access-denied-for-user-to-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MotorZon.com &#8211; Online Car Trading</title>
		<link>http://www.iosc.net/blog/2007/10/08/motorzoncom-online-car-trading/</link>
		<comments>http://www.iosc.net/blog/2007/10/08/motorzoncom-online-car-trading/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 18:31:48 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/2007/10/08/news/Boyd/motorzoncom-online-car-trading/</guid>
		<description><![CDATA[MotorZon.com &#8211;&#62; One of the hottest Malaysian online car trading website brought to you by iosc.NET. This site has been optimized by using the latest Web 2.0 technology, mainly using jQuery. The site owner aim to make the site become the No.1 Online Car Trading website in the Malaysia then to Asia. Check it out [...]]]></description>
			<content:encoded><![CDATA[<p>MotorZon.com &#8211;&gt; One of the hottest Malaysian online car trading website brought to you by iosc.NET. This site has been optimized by using the latest Web 2.0 technology, mainly using jQuery. The site owner aim to make the site become the No.1 Online Car Trading website in the Malaysia then to Asia.</p>
<p>Check it out at www.MotorZon.com</p>
<p><img id="image37" title="motorzon.png" src="http://www.iosc.net/blog/wp-content/uploads/2007/10/motorzon.png" alt="motorzon.png" width="500" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2007/10/08/motorzoncom-online-car-trading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yahoo! Pipes &#8211; another great web tools</title>
		<link>http://www.iosc.net/blog/2007/05/04/yahoo-pipes-another-great-web-tools/</link>
		<comments>http://www.iosc.net/blog/2007/05/04/yahoo-pipes-another-great-web-tools/#comments</comments>
		<pubDate>Fri, 04 May 2007 12:35:26 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/2007/05/04/news/Boyd/yahoo-pipes-another-great-web-tools/</guid>
		<description><![CDATA[I signed up the Yahoo! Pipes for quite some while but never got time to really experience it. Today I just come across it again fater yesterday my visit to Internet World 2007 exhibition in Earls Court Centre, London, UK. In the exhibition I met with a guy in a stand selling his piece of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iosc.net/blog/wp-content/uploads/2008/05/yahoopipes.gif"><img class="alignnone size-full wp-image-30" title="yahoopipes" src="http://www.iosc.net/blog/wp-content/uploads/2008/05/yahoopipes.gif" alt="" width="119" height="45" /></a></p>
<p>I signed up the Yahoo! Pipes for quite some while but never got time to really experience it. Today I just come across it again fater yesterday my visit to Internet World 2007 exhibition in Earls Court Centre, London, UK. In the exhibition I met with a guy in a stand selling his piece of software which works like that Yahoo! Pipes but he is going to sell it for €50,000.00!!! So I just politely tell him that his should do so to sell at that price because it&#8217;s new technology <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  (I remember it called MASHUP SERVER technology).</p>
<p>Back to the topic here, I just try to make a TEST pipe here (<a href="http://pipes.yahoo.com/pipes/person.info?eyuid=lSogDpswo2uqNu9J6AYp">http://pipes.yahoo.com/pipes/person.info?eyuid=lSogDpswo2uqNu9J6AYp</a>), and then the result is cool <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I can combine two RSS feeds together. If you have good imagination and cretiave mind, maybe you can create some cool pipes???</p>
<p>Try it out mate, it&#8217;s worth a try. Great tools for researching&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2007/05/04/yahoo-pipes-another-great-web-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Apollo + Adobe Flex</title>
		<link>http://www.iosc.net/blog/2007/03/19/adobe-apollo-adobe-flex/</link>
		<comments>http://www.iosc.net/blog/2007/03/19/adobe-apollo-adobe-flex/#comments</comments>
		<pubDate>Mon, 19 Mar 2007 20:09:20 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/2007/03/19/software/Boyd/adobe-apollo-adobe-flex/</guid>
		<description><![CDATA[Currently I am testing on this 2 latest products from Adobe. Both of them will be the next generation of development tools which enable user can create an application very easy, fast and pretty (good looking interface). Is that means I will lost my job soon?]]></description>
			<content:encoded><![CDATA[<p>Currently I am testing on this 2 latest products from Adobe. Both of them will be the next generation of development tools which enable user can create an application very easy, fast and pretty (good looking interface). Is that means I will lost my job soon? <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2007/03/19/adobe-apollo-adobe-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good place to learn CSS</title>
		<link>http://www.iosc.net/blog/2006/09/30/good-place-to-learn-css/</link>
		<comments>http://www.iosc.net/blog/2006/09/30/good-place-to-learn-css/#comments</comments>
		<pubDate>Sat, 30 Sep 2006 12:36:24 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/news/2006/09/30/design/Boyd/good-place-to-learn-css/</guid>
		<description><![CDATA[Wish to share with you all about a site I always visit to learn more about CSS, this is a quickway to learn instead of starting from scratch&#8230;that is why I am not expert&#8230;lol http://www.cssplay.co.uk If you want to learn more as web designer, you should click the learn now (By the way, I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postbody">Wish to share with you all about a site I always visit to learn more about CSS, this is a quickway to learn instead of starting from scratch&#8230;that is why I am not expert&#8230;lol</span></p>
<p><a href="http://www.cssplay.co.uk/" target="_blank">http://www.cssplay.co.uk</a></p>
<p>If you want to learn more as web designer, you should click the learn now <img src="http://www.itpsg.net/forum/images/smiles/icon_wink.gif" border="0" alt="Wink" /></p>
<p>(By the way, I don&#8217;t know that site author at all, not advertisement mate)</p>
<p><img id="image19" src="http://www.iosc.net/blog/wp-content/uploads/2006/09/cssplay.jpg" alt="www.cssplay.co.uk" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2006/09/30/good-place-to-learn-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web 2.0 again &#8211; FakeTown.com</title>
		<link>http://www.iosc.net/blog/2006/09/26/web-20-again-faketowncom/</link>
		<comments>http://www.iosc.net/blog/2006/09/26/web-20-again-faketowncom/#comments</comments>
		<pubDate>Tue, 26 Sep 2006 10:45:37 +0000</pubDate>
		<dc:creator>boyd</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.iosc.net/blog/2006/09/26/news/Boyd/web-20-again-faketowncom/</guid>
		<description><![CDATA[Just came across this sit &#8211; faketown.com and found it so cool. The very retro feel back to the Sinclair machine time If you wish to check it out and learn more on the structure, just click on this link http://www.faketown.com/?referralId=22398]]></description>
			<content:encoded><![CDATA[<p>Just came across this sit &#8211; faketown.com and found it so cool. The very retro feel back to the Sinclair machine time <img src='http://www.iosc.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you wish to check it out and learn more on the structure, just click on this link</p>
<p><a href="http://www.faketown.com/?referralId=22398" target="_blank">http://www.faketown.com/?referralId=22398</a></p>
<p><img id="image17" src="http://www.iosc.net/blog/wp-content/uploads/2006/09/faketown.jpg" alt="faketown.com screenshot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosc.net/blog/2006/09/26/web-20-again-faketowncom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

