<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6381991185474129325</id><updated>2011-09-28T14:26:51.868-07:00</updated><category term='mobile'/><category term='whiterussian'/><category term='jdbc'/><category term='pentaho'/><category term='IT'/><category term='network search'/><category term='SME'/><category term='search engine'/><category term='small business'/><category term='fedora'/><category term='home office'/><category term='open source'/><category term='syntax'/><category term='inurl'/><category term='query'/><category term='GNOME'/><category term='small medium enterprises'/><category term='wireless routers'/><category term='OHA'/><category term='redhat'/><category term='jquery checkbox'/><category term='ldap'/><category term='html dom parser'/><category term='link'/><category term='eclipse'/><category term='Pagination'/><category term='Operating System'/><category term='Cloud'/><category term='bind'/><category term='database'/><category term='windows phone 7 application deployment XAP'/><category term='half life'/><category term='linux'/><category term='driver'/><category term='Installing software on ubunto'/><category term='change password of mysql root'/><category term='openbravo'/><category term='Microsoft Office'/><category term='intitle'/><category term='mysql'/><category term='java'/><category term='kamikaze'/><category term='OpenOffice'/><category term='template design'/><category term='website'/><category term='Browser OS'/><category term='game'/><category term='SOAP'/><category term='Drupal'/><category term='Net_GameServerQuery'/><category term='android'/><category term='gogole'/><category term='integration'/><category term='Joomla'/><category term='openid authentication'/><category term='software'/><category term='search'/><category term='openwrt'/><category term='Php'/><category term='index'/><category term='pear'/><category term='change password'/><category term='boolean operator'/><category term='ubuntu'/><category term='Online OS'/><category term='BI server'/><category term='password'/><category term='google'/><title type='text'>Small Business IT</title><subtitle type='html'>Small businesses can immensely benefit from the use of latest software technologies including web portals, ERP, CRM and other online collaboration tools.

This blog evaluates various technologies and trends that can help small businesses do more with limited resources.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Khurram Ali</name><uri>http://www.blogger.com/profile/16678936262901347238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>67</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4239663522760800260</id><published>2011-05-24T03:49:00.000-07:00</published><updated>2011-05-24T04:16:11.351-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows phone 7 application deployment XAP'/><title type='text'>Deploying a Windows Phone 7 (WP7) app on a phone without using windows phone marketplace</title><content type='html'>During the development of an application it is mostly required at a certain point to test the application in question, on the target platform. Since, this is most certainly desirable before the app is published to the marketplace, it needs to be deployed without using windows market place.&lt;br /&gt;&lt;br /&gt;Here is how it can be done in 4 simple steps:&lt;br /&gt;&lt;br /&gt;1. .XAP file which is produced as a result of the build and should be available in Bin/Debug or Bin/Release (we used Visual Studio 2010 to build our app) &lt;a href="http://weblogs.asp.net/pabloperalta/archive/2011/02/24/how-to-deploy-and-test-a-windows-phone-7-application-into-the-phone.aspx"&gt;[1]&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://msdn.microsoft.com/en-us/library/ff402530%28v=vs.92%29.aspx"&gt;Install Windows Phone Developer Tools&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://zune.net/en-US/products/software/download/default.htm"&gt;Install Zune Client Software&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Register the device using the Windows Phone Developer Registration Tool that is included in the Windows Phone Developer Tools. &lt;a href="http://www.toddbaginski.com/blog/archive/2010/03/25/Fixing-Windows-Phone-Developer-Registration-Tool-Errors.aspx"&gt;[2]&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4239663522760800260?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4239663522760800260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4239663522760800260' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4239663522760800260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4239663522760800260'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2011/05/deploying-windows-phone-7-wp7-app-to.html' title='Deploying a Windows Phone 7 (WP7) app on a phone without using windows phone marketplace'/><author><name>Ozair Kafray</name><uri>http://www.blogger.com/profile/14746967409000273644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6506618804928454549</id><published>2010-12-05T22:16:00.000-08:00</published><updated>2010-12-05T22:34:25.007-08:00</updated><title type='text'>Conference on Corporate Innovation &amp; Entrepreneurship 2010</title><content type='html'>Dear All,&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Please Join us at the CCIE ‘10 – Conference on Corporate Innovation &amp; Entrepreneurship 2010 and Finals of BAP-2010 on 11th December 2010 at Pearl Continental Hotel, Karachi. We would also request that you forward this invitation to to your email list and post it on your blogs/websites.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Dr. Zahir Ali Syed&lt;br /&gt;Co-Chair MITEFP&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Wq934XDQRMM/TPyAlTrh2uI/AAAAAAAACPw/a0M3r4NfT2s/s1600/image004.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 143px;" src="http://1.bp.blogspot.com/_Wq934XDQRMM/TPyAlTrh2uI/AAAAAAAACPw/a0M3r4NfT2s/s320/image004.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5547450219439971042" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;CCIE ‘10 – Conference on Corporate Innovation &amp; Entrepreneurship 2010&lt;br /&gt;&lt;br /&gt;Fostering Innovation in The Pakistan Entrepreneurial Ecosystem&lt;br /&gt;&lt;br /&gt;December 11th, 2010 | Pearl Continental Hotel, Karachi | 09:00 am to 06:00 pm&lt;br /&gt;&lt;br /&gt;Overview&lt;br /&gt;&lt;br /&gt;For Pakistan to scale the ladder of development and be counted among the developed nations, it is vital that it has a thriving Entrepreneurial Eco-system. We at MIT Enterprise Forum of Pakistan (MITEFP: http://www.mitef-pakistan.org), over the past four years, have been working towards building this eco-system on a brick by brick basis. One of the activities towards this aim that we have been undertaking, for the past four years, is the Business Acceleration Plan (BAP) competition. Last year we expanded the scope of this activity by organizing a Conference on Corporate Innovation &amp; Entrepreneurship (CCIE-2009) along with the competition. We are continuing this trend this year also and are organizing CCIE-2010 along with BAP -2010.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;MITEFP is working with OPEN (Organization of Pakistani Entrepreneurs of North America) and Terrabiz for conducting the History Making MITEFP-OPEN Business Acceleration Program BAP-2010 &amp; CCIE 2010. We are being provided guidance and leadership by Mr. Ken Morse, Founding MD, MIT Entrepreneurship Center &amp; Mr. Bill Aulet, MD, MIT Entrepreneurship Center and Mr. Imran Sayeed, Chairman OPEN Global. We are also being supported by a number of other organizations.&lt;br /&gt;&lt;br /&gt;MITEFP-OPEN BAP now in its fourth year has become one of the best programs of its kind in the world (as declared by Mr. Ken Morse, Founding MD, MIT Entrepreneurship Center). This history making initiative has the potential of having significant impact on the economic growth of Pakistan. The participating teams have reported that they benefited tremendously from participating in BAP-2007, BAP-2008 and BAP-2009. Similarly, CCIE-2009  Conference on Corporate Innovation &amp; Entrepreneurship (CCIE 2009) was a huge success and now we are holding the second conference CCIE-2010 along with the fourth BAP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Topics to be discussed:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;·        Culture of Creativity, Innovation, and Entrepreneurship&lt;br /&gt;&lt;br /&gt;·        Inevitable Journey: Trend-setting Enterprises journey from mid to large size&lt;br /&gt;&lt;br /&gt;·        Entrepreneurship &amp; Incubation Centers and Entrepreneurship Education&lt;br /&gt;&lt;br /&gt;·        Fostering Innovation in The Pakistan Entrepreneurial Ecosystem&lt;br /&gt;&lt;br /&gt;·        Passing on the Baton: How Pakistani family businesses are Increasingly relying on professional managers to scale-up and modernize their businesses&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;C  o  n  f  e  r  e  n  c  e     S  p  o  t  l  I  g  h  t&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Kenneth P. Morse&lt;/span&gt;, Founding Managing Director, MIT Entrepreneurship Center&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Dr. Ishrat Husain&lt;/span&gt;, Dean &amp; Director, Institute of Business&lt;br /&gt;&lt;br /&gt;Administration&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Hussain Dawood&lt;/span&gt;, Chairman, Karachi Education Initiative,&lt;br /&gt;&lt;br /&gt;Engro Corp &amp; The Dawood Group&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Prof. Dr. S. Sohail H. Naqvi&lt;/span&gt;, Executive Director, Higher Education Commission&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Imran Sayeed&lt;/span&gt;, Vice President, Keane, USA&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Carlos Cashman&lt;/span&gt;, CEO, Constellation Inc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Other Confirmed Judges, Speakers and Panelists:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Aftab Tapal&lt;/span&gt;, Owner &amp; CEO, Tapal Tea (Private) Limited&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Ali Jameel&lt;/span&gt;, CEO, Trakker Group &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Ali Jehangir Siddiqui&lt;/span&gt;, Managing Partner, JS Private Equity&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Aziz Memon&lt;/span&gt;, Chairman, Kings Group&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Rear Amiral (R) M. Mushtaq&lt;/span&gt;, Pro-Rector Innovation &amp; Entrepreneurship, NUST&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Mohammad Sajid&lt;/span&gt;, Partner, JS Private Equity&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Monis Rahman&lt;/span&gt;, Chairman &amp; CEO, Naseeb Networks&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Osman Saifullah&lt;/span&gt;, CEO, Saif Textile&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Samad Dawood&lt;/span&gt;, CEO, Dawood Group&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Scott Briggs&lt;/span&gt;, COO, Constellation&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Seema Aziz&lt;/span&gt;, CEO, CARE and Bareeze&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Sohail Naqvi&lt;/span&gt;, Exective Director, HEC&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Zafar Khan&lt;/span&gt;, CEO, Sofizar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Zafar Siddiqui&lt;/span&gt;, Director, IBA-CED&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;“Showcasing Research at Pakistani Universities that are ready for Commercialization”&lt;br /&gt;&lt;br /&gt;Session Chair:&lt;br /&gt;&lt;br /&gt;Dr. Sohail Naqvi – Executive Director, HEC&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Registration Fee:&lt;/span&gt;&lt;br /&gt;Rs. 6,000/- per participant&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Discounts for 2 or more participants from&lt;br /&gt;&lt;br /&gt;the same organization with increasing discount % as participants increase&lt;br /&gt;&lt;br /&gt;Includes Lunch, Refreshments and Business Networking &amp; MITEFP Certificate, signed by&lt;br /&gt;&lt;br /&gt;Kenneth P. Morse&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;TO REGISTER CONTACT:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;TERRABIZ&lt;br /&gt;&lt;br /&gt;Mohammed Phaysal&lt;br /&gt;&lt;br /&gt;E-mail: phaysal@terrabizgroup.com&lt;br /&gt;&lt;br /&gt;register@terrabizgroup.com&lt;br /&gt;&lt;br /&gt;Mobile: +92 300 213 38 49  &amp; +92 345 303 7045&lt;br /&gt;&lt;br /&gt;Fax: +92 21 3455 7264&lt;br /&gt;&lt;br /&gt;Phones: +92 21 3455 8539 &amp; 3455 0431&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6506618804928454549?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6506618804928454549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6506618804928454549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6506618804928454549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6506618804928454549'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/12/conference-on-corporate-innovation.html' title='Conference on Corporate Innovation &amp; Entrepreneurship 2010'/><author><name>Ozair Kafray</name><uri>http://www.blogger.com/profile/14746967409000273644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Wq934XDQRMM/TPyAlTrh2uI/AAAAAAAACPw/a0M3r4NfT2s/s72-c/image004.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3902676120876325277</id><published>2010-12-02T07:38:00.000-08:00</published><updated>2010-12-02T07:41:52.290-08:00</updated><title type='text'>Startup Sunday @ T2F</title><content type='html'>Startup Sunday @ T2F (Karachi)&lt;br /&gt;http://www.facebook.com/home.php?#!/event.php?eid=127561320638546&lt;br /&gt;If one does not use facebook, you can find the event here:&lt;br /&gt;http://www.t2f.biz/category/events/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3902676120876325277?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3902676120876325277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3902676120876325277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3902676120876325277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3902676120876325277'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/12/startup-sunday-t2f.html' title='Startup Sunday @ T2F'/><author><name>Ozair Kafray</name><uri>http://www.blogger.com/profile/14746967409000273644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7090842481030655598</id><published>2010-07-15T02:35:00.000-07:00</published><updated>2010-07-15T02:37:37.925-07:00</updated><title type='text'>MIT Enterprise Forum, Pakistan - Business Acceleration Program 2010</title><content type='html'>MIT Enterprise Forum, Pakistan - Business Acceleration Program 2010&lt;br /&gt;&lt;br /&gt;The program is in its 4th year. The &lt;a href="http://mitef-pakistan.org/news3.htm"&gt;introductory sessions&lt;/a&gt; are already over. Nonetheless, one can still &lt;a href="http://mitef-pakistan.org/bapsubmission.htm"&gt;apply&lt;/a&gt; if one qualifies.&lt;br /&gt;&lt;br /&gt;The success story which they often refer to is that of Sofizar (a Lahore based software company), whose revenues before the program were USD 800 K in 2007 and were USD 30 M in 2009.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7090842481030655598?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7090842481030655598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7090842481030655598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7090842481030655598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7090842481030655598'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/07/mit-enterprise-forum-pakistan-business.html' title='MIT Enterprise Forum, Pakistan - Business Acceleration Program 2010'/><author><name>Ozair Kafray</name><uri>http://www.blogger.com/profile/14746967409000273644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7019226947159502576</id><published>2010-06-28T01:13:00.000-07:00</published><updated>2010-06-28T01:39:28.276-07:00</updated><title type='text'>Launchpad by P@SHA in Karachi on 27 June 2010</title><content type='html'>I attended the launchpad event arranged by P@SHA, yesterday. PSEB and Microsoft were two of the main sponsors.&lt;br /&gt;&lt;br /&gt;P@SHA and PSEB are displaying the sort of public private partnership that we need in many other strata of our society. It is heartening to see that events for the promotion of entrepreneurship are taking place in Pakistan. We at RIKSOF, believe that entrepreneurs are an essential asset to society, as they cause creative destruction of its status quo. Even more encouraging was the fact that most of the presentations were either from final year students or fresh out of college grads. And keeping in mind the limitations of startups, P@SHA had arranged one in Lahore on Saturday too.&lt;br /&gt;&lt;br /&gt;Without keeping you too bogged down in the spiral of my thoughts, following is the list of presented:&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://www.arzirehaish.pk/"&gt;Arzi Rehaish&lt;/a&gt; - In comparison to &lt;a href="http://bastee.pk/"&gt;bastee.pk&lt;/a&gt; and other such real-estate websites, the niche here is arzi or temporary accommodation specifically for bachelors. According to the conceiver's market research there is a greater need for that in Islamabad and Pindi followed by Lahore and then Karachi.&lt;br /&gt;&lt;br /&gt;2. H2O or HR2O, presented by Asim Naseem Siddiqui, was an idea to build an eco-system for HR Consultants. The most interesting part for one of the judges was that data from the jobs posted would be used to analyze/suggest salary ranges for that job in the industry. What I found interesting was also the fact that he wanted to build a network for HR consultants, so that referrals from former employers could be shared as well. Mr. Siddiqui himself has been a HR consultant himself for 3 years. This should help cover the trust deficit while hiring in our society.&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://www.kitabain.com/"&gt;Kitabain&lt;/a&gt; - is a sister of the successful business venture of &lt;a href="http://thereadersclub.com/default.php"&gt;thereadersclub&lt;/a&gt; , by Usman Siddiqui, who took the first prize for kitabain this year and thereadersclub in last year's launchpad.&lt;br /&gt;&lt;br /&gt;4. Foot Mouse - presented by Muhammad Ahsan from NED University was having the mouse in your feet, so that you can have your hands free for the keyboard, should be good for disabled people and as one of the judges said, could be used to produce an exhilarating game with 2 in the feet and 2 in the hands. Interestingly this young lad had also done sort of a market research, even though this was his final year project. According to that, a Foot Mouse currently available is at the cost of 359 USD. He built one in 700 PKR. A question from the judge, how long would it take and how much would it cost/unit to manufacture 100,000 units, couldn't be answered. Shared the second prize with tagit.   &lt;br /&gt;&lt;br /&gt;May be it would be good for you to somehow get in touch with Mr. Sheryar Hydri of Trango Interactive. Last time I &lt;a href="http://jehanara.wordpress.com/2010/06/08/a-conversation-with-shehryar-hydri-coo-of-trango-interactive/"&gt;heard&lt;/a&gt; him, he seemed to be passionate about development in general, with his current focus on game development.&lt;br /&gt;&lt;br /&gt;5. Pakpolling - by Syed Ali Naqi - presented the idea of using the already available databases of NADRA and PTA for voting either through fingerprints or SMS. As judges pointed out that this should greatly increase the voter turn-out. However, as soon as one claims that his main customer would be the government, the difficult question to answer is "How would you sell?" Another important question from the judges was how much should a voting unit based on finger-print recognition cost. A judge also asked them to refer to UNI voting system being implemented in India.&lt;br /&gt;&lt;br /&gt;6. Rensoy - by Adnan Muzaffar - presented a search tool/assistant - As I commented yesterday, you probably haven't done much research on "semantic search engines". And I think Google's wonder wheel is already a step in that direction, with a much simpler interface than Rensoy's. I think you should restart your market survey from here:&lt;br /&gt;i.  &lt;a href="http://www.searchenginejournal.com/semantic-search-engines/9832/"&gt;Semantic Search Engines&lt;/a&gt;&lt;br /&gt;ii. &lt;a href="http://www.powersearchtool.com/"&gt;Power Search Tool&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. Reflex 360 IDRH - Internet Development and Research Center - presented by a couple of students who had graduated from NED University. The idea is to have a software development center which actually funds a research and development center. They needed a seed money of 2.5 million to raise awareness about "how important is the research/thinking culture in a society". Most of the time was spent explaining just what would be done with the money earned from the software house. What you need to explain to get money from an investor is that how do you plan to generate money from the software house.&lt;br /&gt;&lt;br /&gt;8. GSM/GPRS based tracking tool - A software service for companies to track their assets/personnel. They are probably already collaborating with an ambulance service. The advantage that they have over uTrack and other such tracking services is of course that this tool is Telco independent.&lt;br /&gt;&lt;br /&gt;9. SEO Analysis Tool - presented by Sadia Allauddin - An automated tool to analyze why a web page won't show up in Google's search results, built by 2 ladies as a final year project in NED University. They were already invited by one of the judges for a talk. Congratulations and Good luck, an investor's time is as important as his/her money.&lt;br /&gt;&lt;br /&gt;10. Dhaba - A food ordering service. An already existing service was mentioned by the judges, which I cannot recall now.&lt;br /&gt;&lt;br /&gt;11. Global Learning - presented by Subhan Gillani of Gillani Soft - The idea is to have an online learning tools/lectures resource.&lt;br /&gt;&lt;br /&gt;12. FYDEST - Find Your Destination - An SMS based tool to find the shortest, easiest and fastest path from tagged points in a city. The most important question How do you get runtime traffic information? There are a lot of stake-holders/risk involved here&lt;br /&gt;&lt;br /&gt;13. &lt;a href="http://shahzebsaeed.com/"&gt;Shahzebsaeed.com&lt;/a&gt; - Selling high-quality shirts without a retail outlet. Is still a student at IBA. Setup the company with a 15,000 savings from his internship.&lt;br /&gt;&lt;br /&gt;14. &lt;a href="http://www.pakipay.com/"&gt;Pakipay&lt;/a&gt; - A mobile payment service similar to Telenor's Easy paisa but telco independent. Comment from the judges is to go back and get some feedback from a finance specialist. There is State Bank involved wherever there are financial transactions, and that is probably why &lt;a href="http://www.easypaisa.com.pk/"&gt;Telenor's Easy paisa&lt;/a&gt; has &lt;a href="http://www.tameerbank.com/"&gt;Tameer Bank&lt;/a&gt; involved. I, personally think that you do need to get a bank involved in between.&lt;br /&gt;&lt;br /&gt;15. Telecom Clicking GE - built and presented by two ladies in their final year at NED University, is a tool to assist RF planners inside Telcos. The idea is to have information about 3D buildings etc on mapinfo. Currently, the RF planners use &lt;a href="http://earth.google.com/"&gt;Google Earth&lt;/a&gt; to get information about construction(s) in a location and terrain info from &lt;a href="http://www.pbinsight.com/products/location-intelligence/applications/mapping-analytical/mapinfo-professional/"&gt;mapinfo&lt;/a&gt;. Switching between tools is a hassle which they are attempting to target.&lt;br /&gt;&lt;br /&gt;16. &lt;a href="http://h.elp.me/"&gt;Help Me&lt;/a&gt; - presented by Farzal Dojki&lt;br /&gt;A review &lt;a href="http://mobile.venturebeat.com/2010/01/21/pakistani-startup-lets-mobile-developers-outsource-customer-support/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;17. &lt;a href="http://kidsconvent.com/"&gt;Kidsconvent.com&lt;/a&gt; - A school for all ages, lectures audio/animated prepared with experts on different subjects available on DVDs and on line so that anyone can teach children with a unified syllabus. According to them they already have a contract to deploy this material in 40 model schools that CDGK is building.&lt;br /&gt;&lt;br /&gt;18. Tagit - An SMS based tagging service, where for example lipton can be tag and people can subscribe for updates to this tag. They shared the second prize with Foot Mouse, they did have a good presentation, but I personally could not differentiate them from chopaal and pringit combined. More on that combination here: http://www.codeweek.pk/2010/02/chopaal-pringit-social-networking-tide-in-pakistan/&lt;br /&gt;&lt;br /&gt;In the end I would like to apologize if I have misspelled anyone's names. Congratulations and Good luck to all of you in being the cause of the change you want.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7019226947159502576?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7019226947159502576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7019226947159502576' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7019226947159502576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7019226947159502576'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/06/launchpad-by-psha-in-karachi-on-27-june.html' title='Launchpad by P@SHA in Karachi on 27 June 2010'/><author><name>Ozair Kafray</name><uri>http://www.blogger.com/profile/14746967409000273644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2542176650667859873</id><published>2010-05-01T12:30:00.000-07:00</published><updated>2010-05-01T12:39:04.380-07:00</updated><title type='text'>Send email with attachment.</title><content type='html'>If you want to send email with attachment in PHP then just copy the code from the below link, paste it to your myfile.php &amp;amp; upload to your server &amp;amp; see its magic.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.daniweb.com/forums/thread60795.html#"&gt;http://www.daniweb.com/forums/thread60795.html#&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span"   style="  color: rgb(68, 68, 68); line-height: 20px; font-family:verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;font-size:12px;"&gt;&lt;h1 style="font-family: arial, helvetica, sans-serif; font-size: 25px; line-height: 30px; font-weight: bold; color: rgb(51, 102, 153); margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 15px; "&gt;&lt;br /&gt;&lt;/h1&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2542176650667859873?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2542176650667859873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2542176650667859873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2542176650667859873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2542176650667859873'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/05/send-email-with-attachment.html' title='Send email with attachment.'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4622952624266900186</id><published>2010-04-15T01:24:00.001-07:00</published><updated>2010-04-15T01:51:33.739-07:00</updated><title type='text'>Generating a MySQL database alter script using MySQLWorkbench</title><content type='html'>MySQL Workbench facilitates in generating mysql database &lt;span style="font-style: italic;"&gt;creation&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;alteration&lt;/span&gt; scripts. Though the &lt;span style="font-style: italic;"&gt;creation&lt;/span&gt; is straighforward, (File &gt; Export &gt; Forward Engineer SQL Create Script), a correct &lt;span style="font-style: italic;"&gt;alteration&lt;/span&gt; script isn't simply generated.&lt;br /&gt;&lt;br /&gt;One more thing about &lt;span style="font-style: italic;"&gt;creation&lt;/span&gt;, before I can delve into the work around required for generating &lt;span style="font-style: italic;"&gt;alteration&lt;/span&gt; script using MySQL Workbench is that, when we generate the &lt;span style="font-style: italic;"&gt;create&lt;/span&gt; script, the tool adds the db qualifier mydb by default. And, there is no way I could find to change that. So, I remove the qualifier manually whenever I generate the script.&lt;br /&gt;&lt;br /&gt;Now, if we have a working database, for which a mysql &lt;span style="font-style: italic;"&gt;creation&lt;/span&gt; script does not exist or even if it does, it most probably won't contain the &lt;span style="font-style: italic;"&gt;mydb&lt;/span&gt; qualifier, without which the MySQL Workbench does not generate a correct &lt;span style="font-style: italic;"&gt;alteration&lt;/span&gt; script. So, for the &lt;span style="font-style: italic;"&gt;alter &lt;/span&gt;script generation  to work correctly:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Export the existing database structure using any mysql client as a script.&lt;/li&gt;&lt;li&gt;In MySQL Workbench: File &gt; Import &gt; Reverse Engineer MySQL Create Script&lt;/li&gt;&lt;li&gt;File &gt; Export &gt; Forward Engineer MySQL Create Script, will generate the sql &lt;span style="font-style: italic;"&gt;create&lt;/span&gt; script for the existing database with the mydb qualifier.&lt;/li&gt;&lt;li&gt;File &gt; Export &gt; Forward Engineer MySQL Alter Script. &lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Input File: is the path to the sql script for existing database, with the mydb qualifier (the one that was generated in Step 3).&lt;/li&gt;&lt;li&gt;Output File: is the path to the alteration file, that is &lt;span style="font-style: italic;"&gt;to be&lt;/span&gt; generated.&lt;/li&gt;&lt;li&gt;Select Next&lt;/li&gt;&lt;li&gt;Select Execute&lt;/li&gt;&lt;li&gt;Now, one can remove the mydb qualifier from the generated file (using search/replace in one's favorite editor)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4622952624266900186?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4622952624266900186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4622952624266900186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4622952624266900186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4622952624266900186'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/04/generating-mysql-database-alter-script.html' title='Generating a MySQL database alter script using MySQLWorkbench'/><author><name>Ozair Kafray</name><uri>http://www.blogger.com/profile/14746967409000273644</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7873173808396273518</id><published>2010-01-11T23:40:00.000-08:00</published><updated>2010-01-11T23:55:27.533-08:00</updated><title type='text'>How to format usb flash drive in ubuntu.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WsqHZYYJhTI/S0wpMFJFFfI/AAAAAAAAADE/LnguOZt94ps/s1600-h/usb_ubuntu.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 98px; height: 98px;" src="http://4.bp.blogspot.com/_WsqHZYYJhTI/S0wpMFJFFfI/AAAAAAAAADE/LnguOZt94ps/s320/usb_ubuntu.jpg" alt="" id="BLOGGER_PHOTO_ID_5425756938590033394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:100%;"  &gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Instructions&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol style="color: rgb(0, 0, 153);"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Plug your flash drive into an empty USB port, then back up any data on the drive. Open the main menu, move your cursor over "Accessories," then click on "Terminal." At the terminal prompt type "sudo apt-get install gparted" (without quotes) then hit the "Enter" key on your keyboard.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Enter your Ubuntu administrator password when prompted, then hit the "Enter" key again. This will download and install GParted which is an open source drive partitioning program.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Go to the Ubuntu main menu after the installation is complete, move your cursor over "System," then "Administration," then click on "Partition Editor." Enter your administrator password when prompted, then click "OK."&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Click on "GParted" in the toolbar then hover over "Devices" and select your USB flash drive from the list (dev/sdb1 for example). Right-click on the device in the main GParted window, then click "Unmount." It may take a few minutes for the device to be unmounted.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Right-click on the device again (after it is umnounted) then hover over "Format to." Select the desired file system type (RiserFS, linux-swap, Ext 2/3, or FAT16/32 for example), then click "Apply" in the toolbar. Depending on the size of the flash drive, it will take 3 to 4 minutes or so for GParted to complete the process.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Close GParted after the flash drive is formatted. To mount your USB flash drive, unplug it and then plug it back in. The drive is now ready to store data in the file format you selected.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7873173808396273518?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7873173808396273518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7873173808396273518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7873173808396273518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7873173808396273518'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/01/instructions-plug-your-flash-drive-into.html' title='How to format usb flash drive in ubuntu.'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WsqHZYYJhTI/S0wpMFJFFfI/AAAAAAAAADE/LnguOZt94ps/s72-c/usb_ubuntu.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4606039632524809790</id><published>2010-01-08T03:24:00.000-08:00</published><updated>2010-01-08T03:24:57.058-08:00</updated><title type='text'>How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.(Part 2)</title><content type='html'>How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Simply follow the instructions available on the link as follow:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://hubpages.com/hub/How-to-refund-back-to-your-customer-using-Paypal"&gt;http://hubpages.com/hub/How-to-refund-back-to-your-customer-using-Paypal&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4606039632524809790?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://hubpages.com/hub/How-create-Paypal-Buy-Now-Button-in-Paypal-SandBox-Part-2' title='How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.(Part 2)'/><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4606039632524809790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4606039632524809790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4606039632524809790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4606039632524809790'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2010/01/how-to-create-paypal-buy-now-button-in.html' title='How to create Paypal Buy Now Button in Paypal SandBox - Testing Environment.(Part 2)'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5058506701494776332</id><published>2009-12-31T05:48:00.000-08:00</published><updated>2009-12-31T05:49:31.730-08:00</updated><title type='text'></title><content type='html'>&lt;a href="http://itbux.com/e-books-download/23300-lynda-com-jquery-essential-training.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5058506701494776332?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5058506701494776332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5058506701494776332' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5058506701494776332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5058506701494776332'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/12/lyndacom-jquery-essential-training.html' title=''/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4951058930188159016</id><published>2009-12-31T05:35:00.000-08:00</published><updated>2009-12-31T05:35:18.689-08:00</updated><title type='text'>GeoUrdu Videos Tube - jquery videos</title><content type='html'>&lt;a href="http://videos.geourdu.com/jquery/"&gt;GeoUrdu Videos Tube - jquery videos&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4951058930188159016?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://videos.geourdu.com/jquery/' title='GeoUrdu Videos Tube - jquery videos'/><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4951058930188159016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4951058930188159016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4951058930188159016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4951058930188159016'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/12/geourdu-videos-tube-jquery-videos.html' title='GeoUrdu Videos Tube - jquery videos'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2754028368489551203</id><published>2009-12-19T01:58:00.000-08:00</published><updated>2009-12-19T03:51:26.762-08:00</updated><title type='text'>ALERT</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WsqHZYYJhTI/Syy8IYK75SI/AAAAAAAAAC8/U8HZQSl2-WA/s1600-h/images.jpeg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 111px; height: 98px;" src="http://3.bp.blogspot.com/_WsqHZYYJhTI/Syy8IYK75SI/AAAAAAAAAC8/U8HZQSl2-WA/s320/images.jpeg" alt="" id="BLOGGER_PHOTO_ID_5416911303933158690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A&lt;/span&gt; : &lt;span style="color: rgb(102, 102, 102);"&gt;Attention&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;L&lt;/span&gt; : &lt;span style="color: rgb(102, 102, 102);"&gt;Life&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;E&lt;/span&gt; &lt;/span&gt;: &lt;span style="color: rgb(102, 102, 102);"&gt;Emergency&lt;/span&gt; &lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;&lt;br /&gt;R&lt;/span&gt; : &lt;span style="color: rgb(102, 102, 102);"&gt;Rush up&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;T&lt;/span&gt; :&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102);"&gt;Think about it...!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;Friday, 18-Dec-2009, about 9:00 am,&lt;/span&gt; &lt;span style="color: rgb(153, 0, 0);"&gt;in Rimpa Plaza,&lt;/span&gt; &lt;span style="color: rgb(153, 0, 0);"&gt;Karachi, Pakistan.....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;There was load shedding our laptops bettry became low&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;so we decide to take tea from outside.&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;But when we came out from our office &amp;amp; go towards stairs some peoples were ran upstairs &amp;amp; said there is fire on 6th floor in a store-room exactly next over our office room. Some of our friends immediately rush up out from the plaza &amp;amp; the other were return to office &amp;amp; shift our laptops to our head office.&lt;/span&gt;  &lt;span style="color: rgb(0, 0, 153);"&gt;In th mean time all channels team, police, rescue, ambulance, fire brigade reached &amp;amp; try to stop the fire as soon as possible.&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;Thanks to Allah no one was injered except the 6th floor &amp;amp; the fire became cool after a great efforts.&lt;/span&gt;  &lt;span style="color: rgb(0, 0, 153);"&gt;Then after Jumma pray we deside to go back to our home.&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0); font-weight: bold;"&gt;Conclusion:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;I think that was happened only due to poor security &amp;amp; safty precautions which should be taken by the Plaza owner.&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;And also office owners must have to choose those place to setup their business where all facilities are available like transport should available for (all) employees &amp;amp; similarly other facilities to face such accidents like on Friday.&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0); font-weight: bold;"&gt;Opinion:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;I&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;n Karachi i think the best location to setup once business is from NIPA to Hassan Square because NIPA is the center to all routs.&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 153, 0);"&gt;Excuse:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;There may be some English mistakes so please forgive it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;Thanks.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2754028368489551203?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2754028368489551203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2754028368489551203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2754028368489551203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2754028368489551203'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/12/alert.html' title='ALERT'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_WsqHZYYJhTI/Syy8IYK75SI/AAAAAAAAAC8/U8HZQSl2-WA/s72-c/images.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5349533729806623083</id><published>2009-11-20T22:02:00.000-08:00</published><updated>2009-11-20T22:21:12.026-08:00</updated><title type='text'>Create subdomain on localhost in linux</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Question: &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Let suppose i have a web site www.webspot.com. Now I want to create a subdomain sub.domain.com, and when I enter it in my browser, I want to go to the same web site (www.webspot.com).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Answer:&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;Simply on terminal type&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ul&gt;&lt;li&gt;sudo gedit /etc/apache2/sites-available/your-web-site&lt;/li&gt;&lt;/ul&gt;file will open now make some little changes like this&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;virtualhost&gt;     ServerName webspot.com&lt;br /&gt;&lt;br /&gt;  DocumentRoot /var/www/your-website/public&lt;br /&gt;  ServerAlias sajid.webspot.com&lt;br /&gt;  ServerAlias naveed.webspot.com&lt;br /&gt;  ServerAlias nasir.webspot.com&lt;br /&gt;  ServerAlias ihsan.webspot.com&lt;br /&gt;  ServerAlias zeeshan.webspot.com&lt;br /&gt;      &lt;directory&gt;&lt;br /&gt;               Options FollowSymLinks&lt;br /&gt;               AllowOverride All&lt;br /&gt;      &lt;/directory&gt;&lt;br /&gt;      ErrorLog /var/log/apache2/error.log&lt;br /&gt;      # Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;      # alert, emerg.&lt;br /&gt;      LogLevel warn&lt;br /&gt;      CustomLog /var/log/apache2/access.log combined&lt;br /&gt;&lt;/virtualhost&gt;&lt;/blockquote&gt;&lt;br /&gt;then type:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;gedit /etc/hosts&lt;/li&gt;&lt;/ul&gt;file will open now make some little changes like this&lt;br /&gt;&lt;blockquote&gt;127.0.0.1    localhost&lt;br /&gt;&lt;br /&gt;127.0.0.1       webspot.com&lt;br /&gt;127.0.0.1       sajid.webspot.com&lt;br /&gt;127.0.0.1       naveed.webspot.com&lt;br /&gt;127.0.0.1       nasir.webspot.com&lt;br /&gt;127.0.0.1       ihsan.webspot.com&lt;br /&gt;127.0.0.1       zeeshan.webspot.com&lt;br /&gt;&lt;br /&gt;127.0.1.1    sajid-laptop&lt;/blockquote&gt;&lt;br /&gt;now restart apache2 by using:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;sudo /etc/init.d/apache2 restart&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Enjoy :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5349533729806623083?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5349533729806623083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5349533729806623083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5349533729806623083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5349533729806623083'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/11/create-subdomain-on-localhost-in-linux.html' title='Create subdomain on localhost in linux'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5622156099501280269</id><published>2009-09-14T20:00:00.000-07:00</published><updated>2009-09-15T00:30:43.454-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openid authentication'/><title type='text'>OpenID</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_jcTk1zAKBZo/Sq85NGXP_sI/AAAAAAAAACQ/iWodHMA3fFA/s1600-h/300px-OpenID_logo.svg.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 300px; height: 113px;" src="http://1.bp.blogspot.com/_jcTk1zAKBZo/Sq85NGXP_sI/AAAAAAAAACQ/iWodHMA3fFA/s320/300px-OpenID_logo.svg.png" alt="" id="BLOGGER_PHOTO_ID_5381582976940244674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;OpenID is a standard for user authenti&lt;/span&gt;&lt;span style="font-size:85%;"&gt;cation. OpenID allow users to get access to different web services with the same digital identity. By using one OpenID we does not need to create different accounts for different web services.&lt;br /&gt;&lt;br /&gt;An OpenID is a unique URL and authenticated by user's OpenID provider. The OpenID protocol does not work on a central authority for user's identity authentication.&lt;/span&gt; &lt;span style="font-size:85%;"&gt;OpenID reduce frustration associated with maintaining multiple usernames and passwords and i&lt;/span&gt;&lt;span style="font-size:85%;"&gt;s the safer and easier method to joining new sites.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;How to get OpenID:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:85%;"&gt;You may already have an OpenID. If you are using Google, Yahoo, Facebook etc , you does not need to create a new one. &lt;/span&gt;&lt;span style="font-size:85%;"&gt;OpenID authentication is provided by several large websites. Several organizations either provide or accept OpenIDs, including Google, Facebook, Yahoo!, Microsoft, AOL, MySpace, Sears, etc.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;How to login with OpenID?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;1.&lt;/span&gt; When you visit a site that support OpenID and need authentication, you will see a form like this.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_jcTk1zAKBZo/Sq89JQiSYLI/AAAAAAAAACY/Em9WW1QZOlg/s1600-h/login-form.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 50px;" src="http://1.bp.blogspot.com/_jcTk1zAKBZo/Sq89JQiSYLI/AAAAAAAAACY/Em9WW1QZOlg/s320/login-form.png" alt="" id="BLOGGER_PHOTO_ID_5381587308997927090" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;2.&lt;/span&gt; Enter your OpenID or your OpenID provider URL (for example yahoo.com) into the form.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;3.&lt;/span&gt; Your browser will send you to your OpenID provider login form.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;4.&lt;/span&gt; Login to your OpenID provider site with your username and password.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;5.&lt;/span&gt; &lt;strong style="font-weight: normal;"&gt;Tell your provider that the original web site can use your identity&lt;/strong&gt;. You are then sent back to the original website as authenticated user.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5622156099501280269?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5622156099501280269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5622156099501280269' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5622156099501280269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5622156099501280269'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/09/openid.html' title='OpenID'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jcTk1zAKBZo/Sq85NGXP_sI/AAAAAAAAACQ/iWodHMA3fFA/s72-c/300px-OpenID_logo.svg.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7785252450989189320</id><published>2009-08-21T23:26:00.000-07:00</published><updated>2009-08-21T23:39:42.015-07:00</updated><title type='text'>Goal Setting</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Five Rules to set yourself up for Success&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You think about what you want to be doing in your life? Are you clear about what your main objective at work is at moment? Do you know what you want to achieved by the end of today?&lt;br /&gt;&lt;br /&gt;If you want to succeed, you need to set goals. Without goals you lack of focus and direction. Goal setting allows you to take control of your life direction and it also provides you a benchmark for determining whether you are actually succeeding.&lt;br /&gt;&lt;br /&gt;To achieved your goal, however, you need to know how to set them.&lt;br /&gt;&lt;br /&gt;Here are the &lt;span style="font-weight: bold;"&gt;Five Golden Rules of Goal Setting&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Rule 1: Set Goals that Motivates You.&lt;br /&gt;Rule 2: Set SMART Goals.&lt;br /&gt;Rule3 : Set Goals in Writing.&lt;br /&gt;Rule4 : Make an Action Plan.&lt;br /&gt;Rule5 : stick With it.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7785252450989189320?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7785252450989189320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7785252450989189320' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7785252450989189320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7785252450989189320'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/08/goal-setting.html' title='Goal Setting'/><author><name>Atiq Ur Rehman</name><uri>http://www.blogger.com/profile/16907186490921213046</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1826786583519444210</id><published>2009-08-17T04:17:00.000-07:00</published><updated>2009-08-17T04:19:40.215-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='Installing software on ubunto'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Install Mysql on UBUNTU</title><content type='html'>MySQL Workbench can be easily installed on Ubuntu/Gnome. Just &lt;a class="http" href="http://dev.mysql.com/downloads/workbench/"&gt;download the binary .deb file from the MySQL web site for workbench&lt;/a&gt; (currently named mysql-workbench-oss-5.1.16-1_i386.deb), save it to your home directory. Then run: &lt;span class="anchor" id="line-2"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-3"&gt;&lt;/span&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-4"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-5"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-6"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;sudo apt-get install liblua5.1-0 libzip1&lt;br /&gt;sudo dpkg -i mysql-workbench-oss-5.1.16-1_i386.deb (adapt the name accordingly)&lt;/pre&gt;&lt;span class="anchor" id="line-7"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-8"&gt;&lt;/span&gt;Then, you have MySQL Workbench listed under "Applications &gt; Programming".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1826786583519444210?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1826786583519444210/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1826786583519444210' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1826786583519444210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1826786583519444210'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/08/install-mysql-on-ubuntu.html' title='Install Mysql on UBUNTU'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1153031628397044812</id><published>2009-08-16T23:44:00.000-07:00</published><updated>2009-08-16T23:59:59.956-07:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WsqHZYYJhTI/Soj_SpM65pI/AAAAAAAAACU/AOXvsRo7XSY/s1600-h/Untitled.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 609px; height: 79px;" src="http://3.bp.blogspot.com/_WsqHZYYJhTI/Soj_SpM65pI/AAAAAAAAACU/AOXvsRo7XSY/s320/Untitled.jpg" alt="" id="BLOGGER_PHOTO_ID_5370823251402090130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h1 style="font-weight: bold; text-align: left;"&gt;&lt;br /&gt;&lt;/h1&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Vertical Bar Graphs with CSS and PHP&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;br /&gt;Follow   this link .....&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;http://terrill.ca/design/vertical_bar_graphs/#example&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1153031628397044812?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1153031628397044812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1153031628397044812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1153031628397044812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1153031628397044812'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/08/vertical-bar-graphs-with-css-and-php.html' title=''/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_WsqHZYYJhTI/Soj_SpM65pI/AAAAAAAAACU/AOXvsRo7XSY/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-9013091073005100042</id><published>2009-08-07T23:04:00.000-07:00</published><updated>2009-08-07T23:53:45.500-07:00</updated><title type='text'>Zend Framework on ubuntu</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sn0gettzdLI/AAAAAAAAACM/JykhfMOVtoU/s1600-h/zf.jpeg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 130px; height: 91px;" src="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sn0gettzdLI/AAAAAAAAACM/JykhfMOVtoU/s320/zf.jpeg" alt="" id="BLOGGER_PHOTO_ID_5367482042935375026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Follow me ....&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Download Zend Framework (.rar or .tar) from http://framework.zend.com/&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Un-rar and copy this folder to /var/www/&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Remove version number from that downloaded folder for example,Zend Framework-1.9.0 to Zend Framework.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Goto Terminal type :&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;gedit ~/.profile&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;An editor will open like below image.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WsqHZYYJhTI/Sn0YJICgwyI/AAAAAAAAABk/3ZhTrgyg0DU/s1600-h/gedit1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://4.bp.blogspot.com/_WsqHZYYJhTI/Sn0YJICgwyI/AAAAAAAAABk/3ZhTrgyg0DU/s320/gedit1.png" alt="" id="BLOGGER_PHOTO_ID_5367472875951407906" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;Now type the path where you past Zend Framework but must follow the placement of line, see below image.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WsqHZYYJhTI/Sn0Ywqj5QNI/AAAAAAAAABs/b9_JTmUWE-s/s1600-h/gedit.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_WsqHZYYJhTI/Sn0Ywqj5QNI/AAAAAAAAABs/b9_JTmUWE-s/s320/gedit.png" alt="" id="BLOGGER_PHOTO_ID_5367473555233128658" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;Now save and close this file.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Next in Terminal type :&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;gedit /etc/apache2/httpd.conf&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;An editor will open like below image.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WsqHZYYJhTI/Sn0aaN6y_nI/AAAAAAAAAB0/4HxjCmwPAuc/s1600-h/1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_WsqHZYYJhTI/Sn0aaN6y_nI/AAAAAAAAAB0/4HxjCmwPAuc/s320/1.png" alt="" id="BLOGGER_PHOTO_ID_5367475368610692722" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;Now simply type an ALIAS which you want to reference to your website on  localhost, for instance for my website i write " mywebz ", but must follow the format : Alias /mywebz "/var/www/myweb/public"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;For more help see below image.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WsqHZYYJhTI/Sn0bfyPoa4I/AAAAAAAAAB8/w3UFPj_1c8U/s1600-h/my.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_WsqHZYYJhTI/Sn0bfyPoa4I/AAAAAAAAAB8/w3UFPj_1c8U/s320/my.png" alt="" id="BLOGGER_PHOTO_ID_5367476563772730242" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;Now save and close this file.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Atlast to set the above configuration you must restart the apache server.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;To resatrt apache server, in Terminal type :&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;sudo /etc/init.d/apache2 restart&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;To test your configuration, in Terminal type :&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;echo $PATH&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-style: italic; font-weight: bold;font-size:85%;" &gt;If you see the path like this:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;/var/www/ZendFramework:/var/www/ZendFramework/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&lt;br /&gt;then fine.&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Now type in Terminal :&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;cd /var/www/web_folder&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Finally type :&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;zf.sh&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;A list of Zend Framework eill appear like below image.&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sn0fKhn3XUI/AAAAAAAAACE/NDRQXJhGNUs/s1600-h/dddd.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 200px;" src="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sn0fKhn3XUI/AAAAAAAAACE/NDRQXJhGNUs/s320/dddd.png" alt="" id="BLOGGER_PHOTO_ID_5367480596580228418" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Congratulation ... ! &lt;/span&gt; &lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;You have installed Zend Framework successfully .&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-9013091073005100042?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/9013091073005100042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=9013091073005100042' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/9013091073005100042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/9013091073005100042'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/08/zend-framework-on-ubuntu.html' title='Zend Framework on ubuntu'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_WsqHZYYJhTI/Sn0gettzdLI/AAAAAAAAACM/JykhfMOVtoU/s72-c/zf.jpeg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2729792301276571944</id><published>2009-08-01T20:00:00.000-07:00</published><updated>2009-08-01T20:00:00.467-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery checkbox'/><title type='text'>jQuery: Working with Checkboxes</title><content type='html'>&lt;span style="font-family: arial;"&gt;In jQuery sometime you have to work with checkboxes. Find a checkbox by its attributes, Check a checkbox is checked or not and check a checkbox. Their are some related tricks.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Find checkboxes:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;$('input[type="checkbox"]')   &lt;span style="font-style: italic;"&gt;(get all checkboxes)&lt;/span&gt;&lt;br /&gt;$('input[name="mycb"]')  &lt;span style="font-style: italic;"&gt; (get checkbox named mycb)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Get checkboxes Attributes:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;font-size:85%;" &gt;$(&lt;/span&gt;&lt;span style="font-family: arial;font-size:85%;" &gt;&lt;span class="pun"&gt;&lt;/span&gt;&lt;span class="str"&gt;'#myCheckbox'&lt;/span&gt;&lt;span class="pun"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: arial;font-size:85%;" &gt;).attr('name')&lt;span class="pln"&gt; &lt;span style="font-style: italic;"&gt; (return name of checkbox)&lt;/span&gt;&lt;br /&gt;$&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="str"&gt;'#myCheckbox'&lt;/span&gt;&lt;span class="pun"&gt;).&lt;/span&gt;&lt;span class="pln"&gt;attr&lt;/span&gt;&lt;span class="pun"&gt;(&lt;/span&gt;&lt;span class="str"&gt;'checked'&lt;/span&gt;&lt;span class="pun"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class="pln"&gt;&lt;span style="font-family: arial;font-size:85%;" &gt; &lt;span style="font-style: italic;"&gt; (return true or false)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Checked or Not:&lt;/span&gt;&lt;span class="pln"&gt;&lt;span style="font-family: monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;$('#myCheckbox').is(':checked')  &lt;span style="font-style: italic;"&gt;(return true if checked)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Check/Uncheck a Checkbox:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: arial;"&gt;$('input[name="mycb"]').attr("checked",false);  &lt;span style="font-style: italic;"&gt;(uncheck named mycb)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;$('input[type="checkboxes"]').attr("checked",true);     &lt;span style="font-style: italic;"&gt;(check all)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2729792301276571944?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2729792301276571944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2729792301276571944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2729792301276571944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2729792301276571944'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/08/jquery-working-with-checkboxes.html' title='jQuery: Working with Checkboxes'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1427102444260429349</id><published>2009-07-28T23:14:00.000-07:00</published><updated>2009-07-28T23:59:50.139-07:00</updated><title type='text'>Creating simple form in Zend Framwork</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_FXepR06gBYI/Sm_yrPeMQmI/AAAAAAAAABc/nagZwNq_8vQ/s1600-h/ZendFrameworkRedesign.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 148px;" src="http://2.bp.blogspot.com/_FXepR06gBYI/Sm_yrPeMQmI/AAAAAAAAABc/nagZwNq_8vQ/s200/ZendFrameworkRedesign.jpg" alt="" id="BLOGGER_PHOTO_ID_5363772505923011170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;img src="file:///tmp/moz-screenshot.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;Zend frame work has a component called zend_form used for creating forms.&lt;br /&gt;It simplify the process of form validation, data filtering, and data storage.&lt;br /&gt;To create a simple form in zend follow the steps:&lt;br /&gt;&lt;br /&gt;1- Create a simple form class and place it in application/forms/Simple_Form.&lt;br /&gt;2- Add some element in the Simple_Form class.&lt;br /&gt;3- Create a controller for the Simple_Form using the following command.&lt;br /&gt;                  &lt;br /&gt;     &lt;span style="color: rgb(51, 102, 255);"&gt;(your project path)#zf.sh create controller simple&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It will be created in   application/controllers/mycontroller.php. It will also create&lt;br /&gt;a folder name 'simple' in application/view/scripts/simple/index.phtml&lt;br /&gt;&lt;br /&gt;4- You can also create actions in the controller by using following command.&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: rgb(51, 102, 255);"&gt;(your project path)#zf.sh create action myaction simple&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After creating an action it would place a file name 'myaction.phtml' in&lt;br /&gt;application/view/scripts/simple/myaction.phtml&lt;br /&gt;&lt;br /&gt;Now place an object of your form class in this action.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;public function myaction()&lt;/span&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$form    = new Simple_Form();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;     $this-&gt;view-&gt;form = $form;&lt;/span&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;       &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5- To see the form place the following line in the myaction.phtml file.&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;&lt;br /&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;$echo $this-&gt;form;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1427102444260429349?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1427102444260429349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1427102444260429349' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1427102444260429349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1427102444260429349'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/07/creating-simple-form-in-zend-framwork.html' title='Creating simple form in Zend Framwork'/><author><name>Muhammad Zeeshan</name><uri>http://www.blogger.com/profile/02773785773732964302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_FXepR06gBYI/Sm_yrPeMQmI/AAAAAAAAABc/nagZwNq_8vQ/s72-c/ZendFrameworkRedesign.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2706572627307873621</id><published>2009-05-29T03:57:00.000-07:00</published><updated>2009-05-29T04:07:41.113-07:00</updated><title type='text'>Digital Clock using HTML and CSS</title><content type='html'>&lt;span style="color: rgb(0, 0, 0);"&gt;following is the code that will display digital clock using java script and CSS class&lt;br /&gt;&lt;br /&gt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;br /&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;br /&gt;&lt;title&gt;Simple Javascript Digital Clock&lt;/title&gt;&lt;br /&gt;&lt;style type="text/css" media="all"&gt;&lt;br /&gt;.frm {&lt;br /&gt;    font-family: Verdana, Arial, Helvetica, sans-serif;&lt;br /&gt;    font-size: 11px;&lt;br /&gt;    font-weight: bold;&lt;br /&gt;    color: #164BA0;&lt;br /&gt;    background-color: #D1D1D1;&lt;br /&gt;    border: 1px solid #83AAD3;&lt;br /&gt;}&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;br /&gt;&lt;form name = "clockForm"&gt;&lt;br /&gt;  &lt;input type="text" name = "clock" size = "10" class="frm"&gt;&lt;br /&gt;&lt;/form&gt; &lt;br /&gt;&lt;br /&gt;&lt;script language="JavaScript"&gt;&lt;br /&gt;  &lt;!-- &lt;br /&gt;  &lt;br /&gt;  function display() {&lt;br /&gt;    var Today = new Date();&lt;br /&gt;    var hours = Today.getHours();&lt;br /&gt;    var min = Today.getMinutes();&lt;br /&gt;    var sec = Today.getSeconds();&lt;br /&gt;    var Time = ((hours &gt; 12) ? hours - 12 :(hours == 0) ? 12 :hours);&lt;br /&gt;    Time += ((min &lt; 10) ? ":0" : ":") + min;&lt;br /&gt;    Time += ((sec &lt; 10) ? ":0" : ":") + sec;&lt;br /&gt;    Time += (hours &gt;= 12) ? " PM" : " AM";&lt;br /&gt;    this.clockForm.clock.value = Time;&lt;br /&gt;    setTimeout("display()",1000);&lt;br /&gt;  } &lt;br /&gt;&lt;br /&gt;  display(); &lt;br /&gt;&lt;br /&gt;  --&gt;&lt;br /&gt;&lt;/script&gt; &lt;br /&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;/html&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2706572627307873621?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2706572627307873621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2706572627307873621' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2706572627307873621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2706572627307873621'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/digital-clock-using-html-and-css.html' title='Digital Clock using HTML and CSS'/><author><name>MuhammadSalman</name><uri>http://www.blogger.com/profile/18269926269522300885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5575469655473822399</id><published>2009-05-27T08:00:00.000-07:00</published><updated>2009-05-27T08:00:03.994-07:00</updated><title type='text'>Dynamic PDF files using HTML and PHP</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WsqHZYYJhTI/ShzQS6oGvyI/AAAAAAAAABU/gvp79r04NHk/s1600-h/fd5acd3b91b8eeec.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 170px; height: 119px;" src="http://4.bp.blogspot.com/_WsqHZYYJhTI/ShzQS6oGvyI/AAAAAAAAABU/gvp79r04NHk/s320/fd5acd3b91b8eeec.jpg" alt="" id="BLOGGER_PHOTO_ID_5340372281548259106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;FPDF: The PDF Generator&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:78%;"&gt;The first and the main base for this file conversion is FPDF library. FPDF is a pure PHP class to generate PDF files on the fly. Let us start the PDF generation with a simple Hello world display.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:78%;"&gt;&lt;span class="small_red"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span class="small_red"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span class="small_red"&gt;require('fpdf.php');&lt;br /&gt;$pdf=new FPDF();&lt;br /&gt;   $pdf-&gt;AddPage();&lt;br /&gt;   $pdf-&gt;SetFont('Arial','B',16);&lt;br /&gt;   $pdf-&gt;Cell(40,10,'Hello World!');&lt;br /&gt;   $pdf-&gt;Output();&lt;br /&gt;   ?&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;To generate a pdf file, first we need to include library file fpdf.php. Then we need to create an FPDF object using the default constructor FPDF(). This constructor can be passed three values namely page orientation (portrait or landscape), measure unit, and page size (A4, A5, etc.,). By default pages are in A4 portrait and the measure unit is millimeter. It could have been specified explicitly with:&lt;br /&gt;&lt;br /&gt;&lt;span class="small_red"&gt;$pdf=new FPDF('P','mm','A4');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;It is possible to use landscape (L), other page formats (such as Letter and Legal) and measure units (pt, cm, in).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;Then we have added a page to our pdf document with AddPage(). The origin is at the upper-left corner and the current position is by default placed at 1 cm from the borders; the margins can be changed with the function SetMargins().&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;To print a text, we need to first select a font with SetFont(). Let us select Arial bold 16:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span class="small_red"&gt;$pdf-&gt;SetFont('Arial','B',16);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;We use Cell() function to output a text. A cell is a rectangular area, possibly framed, which contains some text. It is output at the current position. We specify its dimensions, its text (centered or aligned), if borders should be drawn, and where the current position moves after it (to the right, below or to the beginning of the next line). To add a frame, we would do this:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span class="small_red"&gt;$pdf-&gt;Cell(40,10,'Hello World !',1);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;Finally, the document is closed and sent to the browser with Output(). We could have saved it in a file by passing the desired file name.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5575469655473822399?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5575469655473822399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5575469655473822399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5575469655473822399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5575469655473822399'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/dynamic-pdf-files-using-html-and-php.html' title='Dynamic PDF files using HTML and PHP'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WsqHZYYJhTI/ShzQS6oGvyI/AAAAAAAAABU/gvp79r04NHk/s72-c/fd5acd3b91b8eeec.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4739219508114775572</id><published>2009-05-21T00:06:00.000-07:00</published><updated>2009-05-21T00:11:20.581-07:00</updated><title type='text'>Recover a lost Word document</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WsqHZYYJhTI/ShT-a6qWUfI/AAAAAAAAABM/tM7qVLTfdVs/s1600-h/wdoc.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 125px; height: 123px;" src="http://4.bp.blogspot.com/_WsqHZYYJhTI/ShT-a6qWUfI/AAAAAAAAABM/tM7qVLTfdVs/s320/wdoc.jpg" alt="" id="BLOGGER_PHOTO_ID_5338171196717814258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h1 style="text-align: center; font-style: italic;" class="title"&gt;&lt;span style="font-size:85%;"&gt;Recover a lost Word document&lt;/span&gt;&lt;/h1&gt;&lt;span style="font-size:85%;"&gt;Describes several methods to locate and to recover a lost Word &lt;b&gt;document&lt;/b&gt; file. Provides steps for both &lt;b&gt;Windows&lt;/b&gt; Vista and &lt;b&gt;Windows&lt;/b&gt; &lt;b&gt;XP&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;follow this link.&lt;br /&gt;http://support.microsoft.com/kb/316951&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4739219508114775572?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4739219508114775572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4739219508114775572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4739219508114775572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4739219508114775572'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/recover-lost-word-document.html' title='Recover a lost Word document'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WsqHZYYJhTI/ShT-a6qWUfI/AAAAAAAAABM/tM7qVLTfdVs/s72-c/wdoc.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-8341476660980699422</id><published>2009-05-17T21:43:00.000-07:00</published><updated>2009-05-17T21:54:40.881-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='Php'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>MySql Teminal Commands</title><content type='html'>This is a list of handy MySQL commands that I use time and time again. At the bottom are statements, clauses, and functions you can use in MySQL. Below that are PHP and Perl API functions you can use to interface with MySQL. To use those you will need to build PHP with MySQL functionality.&lt;br /&gt;&lt;br /&gt;Below when you see # it means from the unix shell. When you see mysql&gt; it means from a MySQL prompt after logging into MySQL.&lt;br /&gt;To login (from unix shell) use -h only if needed.&lt;br /&gt;&lt;br /&gt;# [mysql dir]/bin/mysql -h hostname -u root -p&lt;br /&gt;Create a database on the sql server.&lt;br /&gt;&lt;br /&gt;mysql&gt; create database [databasename];&lt;br /&gt;List all databases on the sql server.&lt;br /&gt;&lt;br /&gt;mysql&gt; show databases;&lt;br /&gt;Switch to a database.&lt;br /&gt;&lt;br /&gt;mysql&gt; use [db name];&lt;br /&gt;To see all the tables in the db.&lt;br /&gt;&lt;br /&gt;mysql&gt; show tables;&lt;br /&gt;To see database's field formats.&lt;br /&gt;&lt;br /&gt;mysql&gt; describe [table name];&lt;br /&gt;To delete a db.&lt;br /&gt;&lt;br /&gt;mysql&gt; drop database [database name];&lt;br /&gt;To delete a table.&lt;br /&gt;&lt;br /&gt;mysql&gt; drop table [table name];&lt;br /&gt;Show all data in a table.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name];&lt;br /&gt;Returns the columns and column information pertaining to the designated table.&lt;br /&gt;&lt;br /&gt;mysql&gt; show columns from [table name];&lt;br /&gt;Show certain selected rows with the value "whatever".&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name] WHERE [field name] = "whatever";&lt;br /&gt;Show all records containing the name "ihsan" AND the phone number '3444444'.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name] WHERE name = "ihsan" AND phone_number = '3444444';&lt;br /&gt;Show all records not containing the name "ihsan" AND the phone number '3444444' order by the phone_number field.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name] WHERE name != "ihsan" AND phone_number = '3444444' order by phone_number;&lt;br /&gt;Show all records starting with the letters 'ihsan' AND the phone number '3444444'.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name] WHERE name like "ihsan%" AND phone_number = '3444444';&lt;br /&gt;Show all records starting with the letters 'ihsan' AND the phone number '3444444' limit to records 1 through 5.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name] WHERE name like "ihsan%" AND phone_number = '3444444' limit 1,5;&lt;br /&gt;Use a regular expression to find records. Use "REGEXP BINARY" to force case-sensitivity. This finds any record beginning with a.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT * FROM [table name] WHERE rec RLIKE "^a";&lt;br /&gt;Show unique records.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT DISTINCT [column name] FROM [table name];&lt;br /&gt;Show selected records sorted in an ascending (asc) or descending (desc).&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT [col1],[col2] FROM [table name] ORDER BY [col2] DESC;&lt;br /&gt;Return number of rows.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT COUNT(*) FROM [table name];&lt;br /&gt;Sum column.&lt;br /&gt;&lt;br /&gt;mysql&gt; SELECT SUM(*) FROM [table name];&lt;br /&gt;Join tables on common columns.&lt;br /&gt;&lt;br /&gt;mysql&gt; select lookup.illustrationid, lookup.personid,person.birthday from lookup left join person on lookup.personid=person.personid=statement to join birthday in person table with primary illustration id;&lt;br /&gt;Creating a new user. Login as root. Switch to the MySQL db. Make the user. Update privs.&lt;br /&gt;&lt;br /&gt;# mysql -u root -p&lt;br /&gt;mysql&gt; use mysql;&lt;br /&gt;mysql&gt; INSERT INTO user (Host,User,Password) VALUES('%','username',PASSWORD('password'));&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;Change a users password from unix shell.&lt;br /&gt;&lt;br /&gt;# [mysql dir]/bin/mysqladmin -u username -h hostname.blah.org -p password 'new-password'&lt;br /&gt;Change a users password from MySQL prompt. Login as root. Set the password. Update privs.&lt;br /&gt;&lt;br /&gt;# mysql -u root -p&lt;br /&gt;mysql&gt; SET PASSWORD FOR 'user'@'hostname' = PASSWORD('passwordhere');&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;Recover a MySQL root password. Stop the MySQL server process. Start again with no grant tables. Login to MySQL as root. Set new password. Exit MySQL and restart MySQL server.&lt;br /&gt;&lt;br /&gt;# /etc/init.d/mysql stop&lt;br /&gt;# mysqld_safe --skip-grant-tables &amp;amp;&lt;br /&gt;# mysql -u root&lt;br /&gt;mysql&gt; use mysql;&lt;br /&gt;mysql&gt; update user set password=PASSWORD("newrootpassword") where User='root';&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;mysql&gt; quit&lt;br /&gt;# /etc/init.d/mysql stop&lt;br /&gt;# /etc/init.d/mysql start&lt;br /&gt;Set a root password if there is on root password.&lt;br /&gt;&lt;br /&gt;# mysqladmin -u root password newpassword&lt;br /&gt;Update a root password.&lt;br /&gt;&lt;br /&gt;# mysqladmin -u root -p oldpassword newpassword&lt;br /&gt;Allow the user "ihsan" to connect to the server from localhost using the password "passwd". Login as root. Switch to the MySQL db. Give privs. Update privs.&lt;br /&gt;&lt;br /&gt;# mysql -u root -p&lt;br /&gt;mysql&gt; use mysql;&lt;br /&gt;mysql&gt; grant usage on *.* to ihsan@localhost identified by 'passwd';&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;Give user privilages for a db. Login as root. Switch to the MySQL db. Grant privs. Update privs.&lt;br /&gt;&lt;br /&gt;# mysql -u root -p&lt;br /&gt;mysql&gt; use mysql;&lt;br /&gt;mysql&gt; INSERT INTO user (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv) VALUES ('%','databasename','username','Y','Y','Y','Y','Y','N');&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;mysql&gt; grant all privileges on databasename.* to username@localhost;&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;To update info already in a table.&lt;br /&gt;&lt;br /&gt;mysql&gt; UPDATE [table name] SET Select_priv = 'Y',Insert_priv = 'Y',Update_priv = 'Y' where [field name] = 'user';&lt;br /&gt;Delete a row(s) from a table.&lt;br /&gt;&lt;br /&gt;mysql&gt; DELETE from [table name] where [field name] = 'whatever';&lt;br /&gt;Update database permissions/privilages.&lt;br /&gt;&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;Delete a column.&lt;br /&gt;&lt;br /&gt;mysql&gt; alter table [table name] drop column [column name];&lt;br /&gt;Add a new column to db.&lt;br /&gt;&lt;br /&gt;mysql&gt; alter table [table name] add column [new column name] varchar (20);&lt;br /&gt;Change column name.&lt;br /&gt;&lt;br /&gt;mysql&gt; alter table [table name] change [old column name] [new column name] varchar (50);&lt;br /&gt;Make a unique column so you get no dupes.&lt;br /&gt;&lt;br /&gt;mysql&gt; alter table [table name] add unique ([column name]);&lt;br /&gt;Make a column bigger.&lt;br /&gt;&lt;br /&gt;mysql&gt; alter table [table name] modify [column name] VARCHAR(3);&lt;br /&gt;Delete unique from table.&lt;br /&gt;&lt;br /&gt;mysql&gt; alter table [table name] drop index [colmn name];&lt;br /&gt;Load a CSV file into a table.&lt;br /&gt;&lt;br /&gt;mysql&gt; LOAD DATA INFILE '/tmp/filename.csv' replace INTO TABLE [table name] FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' (field1,field2,field3);&lt;br /&gt;Dump all databases for backup. Backup file is sql commands to recreate all db's.&lt;br /&gt;&lt;br /&gt;# [mysql dir]/bin/mysqldump -u root -ppassword --opt &gt;/tmp/alldatabases.sql&lt;br /&gt;Dump one database for backup.&lt;br /&gt;&lt;br /&gt;# [mysql dir]/bin/mysqldump -u username -ppassword --databases databasename &gt;/tmp/databasename.sql&lt;br /&gt;Dump a table from a database.&lt;br /&gt;&lt;br /&gt;# [mysql dir]/bin/mysqldump -c -u username -ppassword databasename tablename &gt; /tmp/databasename.tablename.sql&lt;br /&gt;Restore database (or database table) from backup.&lt;br /&gt;&lt;br /&gt;# [mysql dir]/bin/mysql -u username -ppassword databasename &lt; /tmp/databasename.sql&lt;br /&gt;Create Table Example 1.&lt;br /&gt;&lt;br /&gt;mysql&gt; CREATE TABLE [table name] (firstname VARCHAR(20), middleinitial VARCHAR(3), lastname VARCHAR(35),suffix VARCHAR(3),officeid VARCHAR(10),userid VARCHAR(15),username VARCHAR(8),email VARCHAR(35),phone VARCHAR(25), groups VARCHAR(15),datestamp DATE,timestamp time,pgpemail VARCHAR(255));&lt;br /&gt;Create Table Example 2.&lt;br /&gt;&lt;br /&gt;mysql&gt; create table [table name] (personid int(50) not null auto_increment primary key,firstname varchar(35),middlename varchar(50),lastnamevarchar(50) default 'bato');&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-8341476660980699422?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/8341476660980699422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=8341476660980699422' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8341476660980699422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8341476660980699422'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/mysql-teminal-commands.html' title='MySql Teminal Commands'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4081128924533515682</id><published>2009-05-14T21:02:00.000-07:00</published><updated>2009-05-14T21:06:10.388-07:00</updated><title type='text'>You cannot modify the Hosts file or the Lmhosts file in Windows Vista</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sgzp7mVsMjI/AAAAAAAAABE/WMbi1japVbs/s1600-h/local.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 100px; height: 57px;" src="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sgzp7mVsMjI/AAAAAAAAABE/WMbi1japVbs/s320/local.jpg" alt="" id="BLOGGER_PHOTO_ID_5335896868640272946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h1 style="text-align: left; font-weight: normal;" class="title"&gt;&lt;span style="font-size:85%;"&gt;You cannot modify the Hosts file or the Lmhosts file in Windows Vista&lt;/span&gt;&lt;/h1&gt;Follow this link&lt;br /&gt;&lt;ol&gt;&lt;li&gt;http://support.microsoft.com/kb/923947&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4081128924533515682?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4081128924533515682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4081128924533515682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4081128924533515682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4081128924533515682'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/you-cannot-modify-hosts-file-or-lmhosts.html' title='You cannot modify the Hosts file or the Lmhosts file in Windows Vista'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_WsqHZYYJhTI/Sgzp7mVsMjI/AAAAAAAAABE/WMbi1japVbs/s72-c/local.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7327661192040202512</id><published>2009-05-06T20:40:00.000-07:00</published><updated>2009-05-06T21:06:35.495-07:00</updated><title type='text'>Usefull Links</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WsqHZYYJhTI/SgJeRS9RquI/AAAAAAAAAA8/K7h2wAmLCoI/s1600-h/link.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 129px; height: 97px;" src="http://3.bp.blogspot.com/_WsqHZYYJhTI/SgJeRS9RquI/AAAAAAAAAA8/K7h2wAmLCoI/s320/link.jpg" alt="" id="BLOGGER_PHOTO_ID_5332928559999724258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Salam to all Muslims &amp;amp; hello to others.&lt;br /&gt;        Some times many people become worry and confuse when their Blog posting day come nearer. And the reason of their worried is " what will be the topic of my coming blog . . . . ?".&lt;br /&gt;        But i think blog topic is nothing a big issue &amp;amp; we can publish any information related to any field of life.&lt;br /&gt;        So today i publish some useful links which i am using &amp;amp; i am sure these will also helpful to you.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;PHP links&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;http://www.daniweb.com/forums/solved17.html&lt;/li&gt;&lt;li&gt;http://www.htmlgoodies.com/beyond/javascript/article.php/3471121&lt;/li&gt;&lt;li&gt;http://www.javascriptkit.com/howto/newtech2.shtml&lt;/li&gt;&lt;li&gt;http://www.phpro.org/tutorials/Creating-A-PHP-Application.html&lt;/li&gt;&lt;li&gt;http://www.tutorialized.com/tutorials/PHP/1&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;Manul Books&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;itsstudy8.com&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;BreadCrumbs&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ol&gt;&lt;li&gt;http://www.roscripts.com/PHP_breadcrumbs-118.html&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;jQuery Link&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;http://tablesorter.com/docs/&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;PHP Plugins&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;http://www.blueshoes.org/en/plugins/&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Image Reviewer In PHP&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ol&gt;&lt;li&gt;http://www.wellho.net/resources/ex.php4?item=h112/imap.php&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Image Maping in PHP&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ol&gt;&lt;li&gt;http://www.htmlgoodies.com/tutorials/image_maps/article.php/3479741&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Image Galler&lt;/span&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;http://www.lateralcode.com/2009/03/create-a-simple-picture-gallery-using-php/&lt;/li&gt;&lt;li&gt;http://www.ricocheting.com/scripts/gallery.html&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;MySql Book&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ol&gt;&lt;li&gt;http://www.php.net/mysql_field_name&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;Pear Log&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;http://pear.php.net/package/Log/docs/1.11.4/Log/Log_error_log.html&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: center; font-weight: bold;"&gt;PHP Classes&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;http://www.phpclasses.org/browse/package/3165.html&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7327661192040202512?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7327661192040202512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7327661192040202512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7327661192040202512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7327661192040202512'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/usefull-links.html' title='Usefull Links'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_WsqHZYYJhTI/SgJeRS9RquI/AAAAAAAAAA8/K7h2wAmLCoI/s72-c/link.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1878435280367661619</id><published>2009-05-01T23:44:00.000-07:00</published><updated>2009-05-01T23:50:27.477-07:00</updated><title type='text'>XML-based RSS parser in PHP</title><content type='html'>MagpieRSS provides an XML-based RSS parser in PHP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Link:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://magpierss.sourceforge.net/"&gt;http://magpierss.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Download:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/project/showfiles.php?group_id=55691"&gt;http://sourceforge.net/project/showfiles.php?group_id=55691&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How to Use:&lt;/span&gt;&lt;br /&gt;- Download magpierss-version.tar.gz file&lt;br /&gt;- Extract downloaded file.&lt;br /&gt;- include magpierss-version/rss_fetch.inc file in your php file.&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: rgb(51, 102, 255);"&gt;require('rss_fetch.inc');&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;   $rss = fetch_rss($url);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;- ready to parse RSS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A Simple Example:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;require_once 'rss_fetch.inc';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$url = 'http://www.example.com/rss/today.xml';&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;$rss = fetch_rss($url);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;echo "Site: ", $rss-&gt;channel['title'];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;foreach ($rss-&gt;items as $item ) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;   $title = $item[title];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;   $url   = $item[link];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;   echo  $title . "," . $url ;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1878435280367661619?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1878435280367661619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1878435280367661619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1878435280367661619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1878435280367661619'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/05/xml-based-rss-parser-in-php.html' title='XML-based RSS parser in PHP'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-674132718499833620</id><published>2009-04-24T23:25:00.000-07:00</published><updated>2009-04-24T23:46:56.557-07:00</updated><title type='text'>Problems In Smarty Template</title><content type='html'>some times i found a problem in smarty template that whenever i do some changes in my template coding  and refresh html page the changes do not applied.i was wondering what is the problem in it.after having so much research i found that smarty creates obj templates every time you do some changes in template.&lt;br /&gt;then i delete all obj templates and then refresh the page.the changes are now applied in the page&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-674132718499833620?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/674132718499833620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=674132718499833620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/674132718499833620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/674132718499833620'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/problems-in-smarty-template.html' title='Problems In Smarty Template'/><author><name>MuhammadSalman</name><uri>http://www.blogger.com/profile/18269926269522300885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6044131431548694295</id><published>2009-04-24T02:53:00.000-07:00</published><updated>2009-04-24T05:31:09.123-07:00</updated><title type='text'>Preg_Match PHP Function</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FXepR06gBYI/SfGv7rve1uI/AAAAAAAAAA4/gtdmCV9JRxM/s1600-h/php_logo.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 420px; height: 200px;" src="http://4.bp.blogspot.com/_FXepR06gBYI/SfGv7rve1uI/AAAAAAAAAA4/gtdmCV9JRxM/s200/php_logo.png" alt="" id="BLOGGER_PHOTO_ID_5328233274045028066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;img src="file:///tmp/moz-screenshot.jpg" alt="" /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The &lt;/span&gt;&lt;i style="font-family: arial;"&gt;Preg_Match&lt;/i&gt;&lt;span style="font-family:arial;"&gt; PHP function is used to search a string, and return a 1 or 0. If the search was successful a 1 will be returned, and if it was not found a 0 will be returned. Although other variables can be added, it is most simply phrased as:     &lt;/span&gt;&lt;b style="font-family: arial;"&gt;preg_match(search_pattern, your_string).&lt;br /&gt;&lt;/b&gt;&lt;p style="font-family: arial;"&gt;There are two scripts which validates the format of a url text string and domain. It might be used to check the url submitted from a form. The format of the url is expected to be of the form: &lt;b&gt;domain-name.co.uk&lt;/b&gt; for example.&lt;/p&gt;&lt;blockquote style="font-family: arial;"&gt;&lt;/blockquote&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;First script validates a url. This make use of regular expression pattern matching.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;?php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;//url validation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;$url = 'teSTgjhgj.co.uk';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;if (preg_match ("/^[a-z0-9][a-z0-9\-]+[a-z0-9](\.[a-z]{2,4})+$/i", $url)) {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    print "$url url OK.";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;} else {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    print "$url url not valid!";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;?&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre style="color: rgb(255, 204, 255);"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;  &lt;/span&gt;&lt;/pre&gt;&lt;ul style="font-family: arial;"&gt;&lt;li&gt;Second script validates a domain.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt; &lt;pre&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;?php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;//domain validation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;$domain = 'teSTgjhgj';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;if (preg_match ("/^[a-z0-9][a-z0-9\-]+[a-z0-9]$/i", $domain)) {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    print "$domain Domain OK.";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;} else {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;    print "$domain Domain not valid!";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;?&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6044131431548694295?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6044131431548694295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6044131431548694295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6044131431548694295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6044131431548694295'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/pregmatch-php-function.html' title='Preg_Match PHP Function'/><author><name>Muhammad Zeeshan</name><uri>http://www.blogger.com/profile/02773785773732964302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FXepR06gBYI/SfGv7rve1uI/AAAAAAAAAA4/gtdmCV9JRxM/s72-c/php_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-8400551604075139509</id><published>2009-04-22T20:00:00.000-07:00</published><updated>2009-04-22T22:04:48.024-07:00</updated><title type='text'>Digital Clock in PHP</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WsqHZYYJhTI/Se_0OxQJTLI/AAAAAAAAAA0/1_zIyOKR8XY/s1600-h/clock.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 136px; height: 102px;" src="http://2.bp.blogspot.com/_WsqHZYYJhTI/Se_0OxQJTLI/AAAAAAAAAA0/1_zIyOKR8XY/s320/clock.jpg" alt="" id="BLOGGER_PHOTO_ID_5327745418778987698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is a PHP script for displaying the current time in a digital clock on your web page. It uses individual digit images for the clock, and does not require any special library.&lt;br /&gt;&lt;br /&gt;You can download the zip format of code file from&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;http://www.hotscripts.com/listing/digital-clock-6741/&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-8400551604075139509?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/8400551604075139509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=8400551604075139509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8400551604075139509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8400551604075139509'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/digital-clock-in-php.html' title='Digital Clock in PHP'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_WsqHZYYJhTI/Se_0OxQJTLI/AAAAAAAAAA0/1_zIyOKR8XY/s72-c/clock.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3979188752605362807</id><published>2009-04-20T20:47:00.000-07:00</published><updated>2009-04-20T20:49:25.548-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='change password of mysql root'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='change password'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Change Mysql root password</title><content type='html'>&lt;h3&gt;Step # 1 : &lt;a href="http://www.cyberciti.biz/faq/mysql-startup-script-under-bsdlinux/"&gt;Stop mysql service&lt;/a&gt;&lt;/h3&gt; &lt;p&gt;&lt;code&gt;# /etc/init.d/mysql stop&lt;/code&gt;&lt;br /&gt;Output:&lt;/p&gt; &lt;pre&gt;Stopping MySQL database server: mysqld.&lt;/pre&gt; &lt;h3&gt;Step # 2: Start to MySQL server w/o password:&lt;/h3&gt; &lt;p&gt;&lt;code&gt;# mysqld_safe --skip-grant-tables &amp;amp;&lt;/code&gt;&lt;br /&gt;Output: &lt;/p&gt;&lt;pre&gt;[1] 5988&lt;br /&gt;Starting mysqld daemon with databases from /var/lib/mysql&lt;br /&gt;mysqld_safe[6025]: started&lt;/pre&gt; &lt;h3&gt;Step # 3: Connect to mysql server using mysql client:&lt;/h3&gt; &lt;p&gt;&lt;code&gt;# mysql -u root&lt;/code&gt;&lt;br /&gt;Output: &lt;/p&gt;&lt;pre&gt;Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log&lt;br /&gt;&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;&lt;br /&gt;mysql&gt;&lt;/pre&gt; &lt;h3&gt;Step # 4: &lt;a href="http://www.cyberciti.biz/faq/mysql-change-root-password/"&gt;Setup new MySQL root user password&lt;/a&gt;&lt;/h3&gt; &lt;p&gt;&lt;code&gt;mysql&gt; use mysql;&lt;br /&gt;mysql&gt; update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';&lt;br /&gt;mysql&gt; flush privileges;&lt;br /&gt;mysql&gt; quit&lt;/code&gt;&lt;/p&gt; &lt;h3&gt;Step # 5: Stop MySQL Server: &lt;/h3&gt; &lt;p&gt;&lt;code&gt;# /etc/init.d/mysql stop&lt;/code&gt;&lt;br /&gt;Output:&lt;/p&gt; &lt;pre&gt;Stopping MySQL database server: mysqld&lt;br /&gt;STOPPING server from pid file /var/run/mysqld/mysqld.pid&lt;br /&gt;mysqld_safe[6186]: ended&lt;br /&gt;&lt;br /&gt;[1]+  Done                    mysqld_safe --skip-grant-tables&lt;/pre&gt; &lt;h3&gt;Step # 6: &lt;a href="http://www.cyberciti.biz/faq/how-do-i-access-mysql-server-from-the-shell-prompt-command-line/"&gt;Start MySQL server and test it&lt;/a&gt;&lt;/h3&gt; &lt;p&gt;&lt;code&gt;# /etc/init.d/mysql start&lt;br /&gt;# mysql -u root -p&lt;/code&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3979188752605362807?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3979188752605362807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3979188752605362807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3979188752605362807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3979188752605362807'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/change-mysql-root-password.html' title='Change Mysql root password'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-9048877328795471378</id><published>2009-04-20T20:40:00.000-07:00</published><updated>2009-04-20T20:44:47.374-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='Installing software on ubunto'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Installing Skype on Ubunto</title><content type='html'>&lt;p&gt;If you’re interested in running &lt;a onclick="javascript:pageTracker._trackPageview('/outgoing/www.skype.com');" href="http://www.skype.com/" title="Skype"&gt;Skype&lt;/a&gt; on Ubuntu then follow these steps.&lt;/p&gt; &lt;p&gt;From the Ubuntu System menu select:&lt;br /&gt;Administration –&gt; Synaptic Package Manager&lt;/p&gt; &lt;p&gt;&lt;img src="http://technical-itch.co.uk/wp-content/uploads/2007/09/synaptic.png" alt="synaptic.png" /&gt;&lt;/p&gt; &lt;p&gt;Inside Synaptic Package Manager select the Tools –&gt; Repositories menu option. Make sure all the checkboxes are checked. Then close the Synaptic Package Manager.&lt;/p&gt; &lt;p&gt;&lt;span id="more-454"&gt;&lt;/span&gt;&lt;img src="http://technical-itch.co.uk/wp-content/uploads/2007/09/screenshot-software-sources.png" alt="screenshot-software-sources.png" /&gt;&lt;/p&gt; &lt;p&gt;Next you need to add the Medibuntu repository. Full details about this repository, including installation instructions, can be found on the &lt;a onclick="javascript:pageTracker._trackPageview('/outgoing/help.ubuntu.com/community/Medibuntu');" href="https://help.ubuntu.com/community/Medibuntu" title="Medibuntu repository"&gt;Medibuntu&lt;/a&gt; home page.&lt;/p&gt; &lt;p&gt;To install Medibuntu you need to run a Terminal window session. From the Ubuntu Applications –&gt; Accessories menu select Terminal&lt;/p&gt; &lt;p&gt;&lt;img src="http://technical-itch.co.uk/wp-content/uploads/2007/09/ubuntu-terminal.png" alt="ubuntu-terminal.png" /&gt;&lt;/p&gt; &lt;p&gt;Assuming you’re running Ubuntu 7.04 Feisty Fawn you need to enter the following into a command window. If you’re using an earlier version of Ubuntu then refer to the Medibuntu home page for installation instructions.&lt;/p&gt; &lt;p&gt;&lt;code&gt;sudo wget http://www.medibuntu.org/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - &amp;amp;&amp;amp; sudo apt-get update&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;sudo aptitude install skype&lt;/code&gt;&lt;/p&gt; &lt;p&gt;That’s it!&lt;/p&gt; &lt;p&gt;Skype should now be available from the Applications –&gt; Internet menu.&lt;/p&gt; &lt;p&gt;&lt;img src="http://technical-itch.co.uk/wp-content/uploads/2007/09/skype.png" alt="skype.png" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-9048877328795471378?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/9048877328795471378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=9048877328795471378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/9048877328795471378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/9048877328795471378'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/installing-skype-on-ubunto.html' title='Installing Skype on Ubunto'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2265578086758126509</id><published>2009-04-11T02:51:00.000-07:00</published><updated>2009-04-11T03:54:02.109-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html dom parser'/><title type='text'>HTML DOM Parsing</title><content type='html'>&lt;span style="color: rgb(0, 0, 0);"&gt;If you want to extract data from a webpage and not getting the exact data using different patterns and "PHP String Positions" techniques, then here is the suggestion for you.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;This is Simple HTML DOM Parser written in PHP5+ by a Developer on Sourceforge.net&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:85%;" &gt;Developer Profile:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/users/me578022/"&gt;http://sourceforge.net/users/me578022/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:85%;" &gt;Download Link:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;a href="http://sourceforge.net/projects/simplehtmldom/"&gt;http://sourceforge.net/projects/simplehtmldom/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-size:85%;" &gt;Documentions:&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;a href="http://simplehtmldom.sourceforge.net/"&gt;http://simplehtmldom.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;span style="font-weight: bold;"&gt;How to Use:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;First of all download the simple_html_dom.php File from download link.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Include the downloded file in your own php file.&lt;br /&gt;include('../simple_html_dom.php');&lt;br /&gt;&lt;br /&gt;// Create a DOM First:&lt;br /&gt;$html = file_get_html('http://www.google.com/');    // Create DOM from URL or file&lt;br /&gt;$html = str_get_html($str, $lowercase=true);        // Create DOM from String of HTML Script&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// find all links&lt;br /&gt;foreach($html-&gt;find('a') as $element)&lt;br /&gt;   echo $element-&gt;href;&lt;br /&gt;&lt;br /&gt;// find all images&lt;br /&gt;foreach($html-&gt;find('img') as $element)&lt;br /&gt;   echo $element-&gt;src;&lt;br /&gt;&lt;br /&gt;// find all images with full tag&lt;br /&gt;foreach($html-&gt;find('img') as $element)&lt;br /&gt;   echo $element-&gt;outertext;&lt;br /&gt;&lt;br /&gt;// find all div tags with id=gbar&lt;br /&gt;foreach($html-&gt;find('div#gbar') as $element)&lt;br /&gt;   echo $element-&gt;innertext;&lt;br /&gt;&lt;br /&gt;// find all span tags with class=gb1&lt;br /&gt;foreach($html-&gt;find('span.gb1') as $element)&lt;br /&gt;   echo $element-&gt;outertext;&lt;br /&gt;&lt;br /&gt;// find all td tags with attribite align=center&lt;br /&gt;foreach($html-&gt;find('td[align=center]') as $element)&lt;br /&gt;   echo $element-&gt;innertext;&lt;br /&gt; &lt;br /&gt;// extract text from table&lt;br /&gt;echo $html-&gt;find('td[align="center"]', 1)-&gt;plaintext;&lt;br /&gt;&lt;br /&gt;// extract text from HTML&lt;br /&gt;echo $html-&gt;plaintext;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Read documents for more example.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2265578086758126509?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2265578086758126509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2265578086758126509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2265578086758126509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2265578086758126509'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/html-dom-parsing.html' title='HTML DOM Parsing'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3324237134634351026</id><published>2009-04-10T06:16:00.000-07:00</published><updated>2009-04-10T06:42:07.862-07:00</updated><title type='text'>Installation Problem in UBUNTU</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_FXepR06gBYI/Sd9L4YOVUtI/AAAAAAAAAAw/DHHiKlnEiao/s1600-h/jaustin_saturated_full_logo_021_trans.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 59px;" src="http://4.bp.blogspot.com/_FXepR06gBYI/Sd9L4YOVUtI/AAAAAAAAAAw/DHHiKlnEiao/s200/jaustin_saturated_full_logo_021_trans.png" alt="" id="BLOGGER_PHOTO_ID_5323056716522541778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="file:///tmp/moz-screenshot.jpg" alt="" /&gt;&lt;br /&gt;After installing Ubuntu, i was installing system application&lt;br /&gt;j&lt;span class="bodytext"&gt;re-1_6_0_02-linux-i586-rpm.bin. Every thing was going right&lt;br /&gt;suddenly a message of service agreement appeared and the&lt;br /&gt;installation was stopped. I closed the terminal and tried to reinstall&lt;br /&gt;the application. Then i received the message,&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;"E: dpkg was interrupted, you must manually run&lt;br /&gt;    'dpkg --configure -a' to correct the problem."&lt;br /&gt;&lt;br /&gt;I couldn't install anything through my terminal or my synaptic manager.&lt;br /&gt;Then i found the solution of this problem.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On terminal, execute the following commands:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; sudo dpkg --configure -a&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; sudo dpkg --update -a&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="bodytext"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3324237134634351026?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3324237134634351026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3324237134634351026' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3324237134634351026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3324237134634351026'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/installation-problem-in-ubuntu.html' title='Installation Problem in UBUNTU'/><author><name>Muhammad Zeeshan</name><uri>http://www.blogger.com/profile/02773785773732964302</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_FXepR06gBYI/Sd9L4YOVUtI/AAAAAAAAAAw/DHHiKlnEiao/s72-c/jaustin_saturated_full_logo_021_trans.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5931291694616606323</id><published>2009-04-09T00:49:00.000-07:00</published><updated>2009-04-09T00:57:09.598-07:00</updated><title type='text'>Accedently Replace / Remove Directory From SVN</title><content type='html'>&lt;div style="text-align: center; font-weight: bold; color: rgb(0, 153, 0);"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Problem&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;I have replace a directory from 'trunk' at revision 977 &amp;amp; now i want to rollback to revision 974 .....!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Simply follow these steps mentioned below:&lt;br /&gt;1-   $ svn merge -r 977:974  https://som_one.com/repos/home/trunk&lt;br /&gt;2-   $ svn commit -m "Recover Lost Directory"&lt;br /&gt;3-   $ svn update&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5931291694616606323?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5931291694616606323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5931291694616606323' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5931291694616606323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5931291694616606323'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/accedently-replace-remove-directory.html' title='Accedently Replace / Remove Directory From SVN'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-847374718862455919</id><published>2009-04-07T21:56:00.001-07:00</published><updated>2009-04-07T22:09:23.106-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='SOAP'/><title type='text'>SOAP</title><content type='html'>&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;Introduction:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SOAP is an XML-based messaging protocol. It defines a set of rules for structuring  messages that can be used for simple one-way messaging but is particularly useful for  performing RPC-style (Remote Procedure Call) request-response dialogues. It is not  tied to any particular transport protocol though HTTP is popular. Nor is it tied to  any particular operating system or programming language so theoretically the clients  and servers in these dialogues can be running on any platform and written in any  language as long as they can formulate and understand SOAP messages. As such it is  an important building block for developing distributed applications that exploit  functionality published as services over an intranet or the internet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:130%;"&gt;Server Side:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;As is the case with any client-server paradigm, in the world of web services  there are web service providers and web service consumers. Server-Side SOAP is a tutorial  which deals with how to build and provide web services using &lt;b&gt;Apache SOAP&lt;/b&gt;. We  will cover the details of the technology for consuming web services when we work through SOAP  on the Client-Side.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;img src="file:///Users/Muzaffar/Library/Caches/TemporaryItems/moz-screenshot.jpg" alt="" /&gt;&lt;img src="file:///Users/Muzaffar/Library/Caches/TemporaryItems/moz-screenshot-1.jpg" alt="" /&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Client Side:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:Arial;font-size:100%;"  &gt;Client-Side SOAP is a multi-part tutorial with the aim of introducing you to some  of the technologies available for writing clients that consume web services using SOAP.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For detail information:&lt;br /&gt;Follow the link  http://www.soapuser.com/index.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-847374718862455919?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/847374718862455919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=847374718862455919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/847374718862455919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/847374718862455919'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/soap.html' title='SOAP'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6094605683945453704</id><published>2009-04-07T21:27:00.000-07:00</published><updated>2009-04-07T21:57:37.079-07:00</updated><title type='text'>Document Comparisons</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sdwugy-_6wI/AAAAAAAAAAs/Ih2JFjIQ_iM/s1600-h/file+compare.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 138px; height: 87px;" src="http://1.bp.blogspot.com/_WsqHZYYJhTI/Sdwugy-_6wI/AAAAAAAAAAs/Ih2JFjIQ_iM/s320/file+compare.jpg" alt="" id="BLOGGER_PHOTO_ID_5322180000621783810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt; &lt;span style="font-weight: bold; color: rgb(0, 153, 0);"&gt;Compare Files with 'Diff Doc'&lt;/span&gt; &lt;/div&gt;&lt;blockquote&gt; &lt;div style="text-align: center; color: rgb(0, 0, 153); font-style: italic;"&gt;&lt;span style="font-size:85%;"&gt;(The Comprehensive Document Comparison Tool)&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;Some&lt;/span&gt;&lt;span style="color: rgb(51, 0, 0);"&gt; times more than one person( lets, you &amp;amp; your partner ) are working on the same file that may on ( &lt;/span&gt;&lt;span style="font-size:85%;"&gt;MS Word/Excel/&lt;a style="color: rgb(0, 0, 153);" href="http://www.softinterface.com/MD/Compare-PowerPoint-File.htm"&gt;&lt;span style="text-decoration: none;"&gt;PowerPoint&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;,         &lt;/span&gt;&lt;a style="color: rgb(0, 0, 153);" href="http://www.softinterface.com/MD/Compare-PDF-File.htm"&gt;&lt;span style="text-decoration: none;"&gt;         PDF&lt;/span&gt;&lt;/a&gt;, RTF, Text, HTML, XML,    Wordperfect &lt;/span&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;), and suppose you need to check the modifications that have been made by your partner then either you'll request him to inform you about those changes made by him or review the whole file to justify the changes, but it may takes more time &amp;amp; may be you could not correctly &lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;justify &lt;span style="color: rgb(51, 0, 0);"&gt;.&lt;br /&gt;&lt;br /&gt;I was also passed through that experience &amp;amp; i faced much problems, so i thought that their must be utility tools to solve such problems &amp;amp; at last i found an &lt;span style="color: rgb(255, 153, 0);"&gt;excellent &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;utility tool " &lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Diff Doc&lt;/span&gt; "&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;&lt;span style="color: rgb(51, 0, 0);"&gt;, but its a trial version. Following are its features i have test it is really &lt;/span&gt;a nice one ....&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0); font-weight: bold;font-size:100%;" &gt;&lt;span style="font-family:georgia;"&gt;Diff Doc Features&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Compare documents of MS Word (DOC, &lt;b&gt;DOCX&lt;/b&gt;      etc), Excel,      PDF, Rich Text (RTF), Text, HTML, XML, PowerPoint, or      Wordperfect and      retain formatting&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Choose any portion of any document (file)      and compare it against any portion of the same or different      document (file).&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Word to word or letter to letter comparisons&lt;/b&gt;. See to the letter what changed in a sentence.&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Compare files of any type against any file      type (i.e. An MS Word compared against a. Wordperfect document)&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Integrated into the Windows Explorer Shell      (Windows Explorer, Desktop, Find in Files, etc.) for quick      comparisons&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Navigate easily through the file differences      with the Next (F7), Previous (Shift+F7) etc. navigation buttons.       Or use the drop down list box to jump to a specific difference&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Paragraph differences are highly detailed&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Compares text from any application by      cutting and pasting into 'Diff Doc'.&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Both 'Side By Side' and the red-lined 'All      In One' difference views are supported&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Save any of the views as DOC, Text, RTF or      HTML format&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Text and Comma Delimited reports also      available&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Compare folders first, then quickly see what      files are different and compare with a mouse click&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Compatible with             &lt;a href="http://www.worldox.com/"&gt;WORLDOX&lt;/a&gt;, and any other      document management software that supports 3rd party file      comparison applications through the command line. Click             &lt;a href="http://www.softinterface.com/MD/MD_FAQ.htm#WorldDox%20Integration,%20How%20to"&gt;here&lt;/a&gt; for      details&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;li&gt;             &lt;address&gt;&lt;span style="font-size:85%;"&gt;Run it from the             &lt;a href="http://www.softinterface.com/MD/MD_CL.htm"&gt;Command Line&lt;/a&gt; or build your own solutions by      using the &lt;a href="http://www.softinterface.com/MD/MD-ActiveX.htm"&gt;ActiveX COM interface&lt;/a&gt;               (available upon request)&lt;/span&gt;&lt;/address&gt;             &lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(0, 153, 0); font-weight: bold;"&gt;Download Link for Diff Doc&lt;/span&gt;&lt;br /&gt;      &lt;span style="font-size:85%;"&gt;http://www.softinterface.com/DL/DL_UserData_Proc.ASP&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 0, 0);"&gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="text-align: center; color: rgb(0, 0, 153); font-style: italic;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6094605683945453704?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6094605683945453704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6094605683945453704' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6094605683945453704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6094605683945453704'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/04/document-comparisons.html' title='Document Comparisons'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_WsqHZYYJhTI/Sdwugy-_6wI/AAAAAAAAAAs/Ih2JFjIQ_iM/s72-c/file+compare.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6291315507889661419</id><published>2009-03-26T20:00:00.000-07:00</published><updated>2009-03-26T20:00:03.667-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pagination'/><title type='text'>Pagination in PHP</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_WsqHZYYJhTI/ScnZqmIS9FI/AAAAAAAAAAk/jx1BZCRaRdM/s1600-h/pagination.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 124px; height: 93px;" src="http://4.bp.blogspot.com/_WsqHZYYJhTI/ScnZqmIS9FI/AAAAAAAAAAk/jx1BZCRaRdM/s320/pagination.jpg" alt="" id="BLOGGER_PHOTO_ID_5317020160900658258" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold; color: rgb(0, 153, 0);"&gt;Pagination in PHP&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step One&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Connect to MySQL database.&lt;/li&gt;&lt;/ol&gt; For those who are new to PHP &amp;amp; MySQL and do not know how to establish connection with MySQL, may use the following config.php.file code.&lt;br /&gt;&lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt; &lt;p style="margin-bottom: 0in;" align="justify" lang="en-US"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;?php&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left" lang="en-US"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Host name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;$host='localhost';&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left" lang="en-US"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//User name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;$user='root';&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left" lang="en-US"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Password&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;$pass='';&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left" lang="en-US"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Database name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;$db='mydb';&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left" lang="en-US"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Establishing database connection&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;mysql_connect($host,$user,$pass);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left" lang="en-US"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Select database&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;mysql_select_db($db) or die ("Database Connection Failed") ;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="justify" lang="en-US"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Step Two&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Set Variables:&lt;/li&gt;&lt;li&gt;Set table name you want to use (Table must contain an auto increment field named “Id”). &lt;/li&gt;&lt;li&gt;Set the column name you want to show. &lt;/li&gt;&lt;li&gt;Set number of rows per page (default is 5 rows/page).&lt;/li&gt;&lt;/ol&gt;&lt;blockquote&gt;After configure variables as defined above, simply run the script and enjoy {:-Þ &lt;/blockquote&gt;&lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt; &lt;p style="margin-bottom: 0in;" align="justify"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Include config file&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="justify"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;includes('config.php');&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Table name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$myTable&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;'Mytable'&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//Column Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$columnName&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;'Columnname'&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//How many rows to show per pg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$rowsperpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;5&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//by default we show first pg&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//if $_GET['page'] defined, use it as first page number&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;isset&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$_GET&lt;/span&gt;&lt;span style="color:#000000;"&gt;[&lt;/span&gt;&lt;span style="color:#008200;"&gt;'page'&lt;/span&gt;&lt;span style="color:#000000;"&gt;]))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$_GET&lt;/span&gt;&lt;span style="color:#000000;"&gt;[&lt;/span&gt;&lt;span style="color:#008200;"&gt;'page'&lt;/span&gt;&lt;span style="color:#000000;"&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;  &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//counting the offset&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$offset&lt;/span&gt;&lt;span style="color:#000000;"&gt;=(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;-&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;"&gt;)*&lt;/span&gt;&lt;span style="color:#660000;"&gt;$rowsperpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$test&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"SELECT * FROM '"&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$myTable&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;"' LIMIT &lt;/span&gt;&lt;span style="color:#660000;"&gt;$offset&lt;/span&gt;&lt;span style="color:#008200;"&gt;,&lt;/span&gt;&lt;span style="color:#660000;"&gt;$rowsperpg&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$run&lt;/span&gt;&lt;span style="color:#000000;"&gt;=mysql_query(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$test&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt; &lt;span style="color:#000000;"&gt;or&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;die&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#008200;"&gt;'selection fail'&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#808080;"&gt;//print&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$count&lt;/span&gt;&lt;span style="color:#000000;"&gt;=mysql_num_rows(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$run&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$count&lt;/span&gt; &lt;span style="color:#000000;"&gt;&gt;&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;0&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;           &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;while&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$res&lt;/span&gt;&lt;span style="color:#000000;"&gt;=mysql_fetch_assoc(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$run&lt;/span&gt;&lt;span style="color:#000000;"&gt;))&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;             &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;              &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;echo&lt;/span&gt; &lt;span style="color:#008200;"&gt;'&lt;table style="border: 1px solid rgb(255, 102, 51);" align="center" width="100%"&gt;'&lt;span style="color:#000000;"&gt;;&lt;/span&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;              &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;echo&lt;/span&gt; &lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td colspan="65" align="left" height="50%"&gt;&lt;b&gt;Event:&lt;/b&gt;  '&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$res&lt;/span&gt;&lt;span style="color:#000000;"&gt;[&lt;/span&gt;&lt;span style="color:#660000;"&gt;$columnName&lt;/span&gt;&lt;span style="color:#000000;"&gt;].&lt;/span&gt;&lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;              &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;echo&lt;/span&gt; &lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;              &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;echo&lt;/span&gt; &lt;span style="color:#008200;"&gt;'&lt;br /&gt;'&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;             &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//how many rows we have in db&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$query&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"SELECT COUNT(Id) as numrows FROM '"&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$myTable&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;"' "&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$res&lt;/span&gt;&lt;span style="color:#000000;"&gt;=mysql_query(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$query&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt; &lt;span style="color:#000000;"&gt;or&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;die&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#008200;"&gt;'Error Query failed'&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$row&lt;/span&gt;&lt;span style="color:#000000;"&gt;=mysql_fetch_assoc(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$res&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$numrows&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$row&lt;/span&gt;&lt;span style="color:#000000;"&gt;[&lt;/span&gt;&lt;span style="color:#008200;"&gt;'numrows'&lt;/span&gt;&lt;span style="color:#000000;"&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;//how many pg we have when using paging?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$maxpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;=ceil(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$numrows&lt;/span&gt;&lt;span style="color:#000000;"&gt;/&lt;/span&gt;&lt;span style="color:#660000;"&gt;$rowsperpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="color:#808080;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;// print the link&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$self&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$_SERVER&lt;/span&gt;&lt;span style="color:#000000;"&gt;[&lt;/span&gt;&lt;span style="color:#008200;"&gt;'PHP_SELF'&lt;/span&gt;&lt;span style="color:#000000;"&gt;];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$nav&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;''&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;for&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$maxpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#000000;"&gt;++)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#000000;"&gt;==&lt;/span&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;    &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;     &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$nav&lt;/span&gt;&lt;span style="color:#000000;"&gt;.=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;    &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;    &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;     &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$nav&lt;/span&gt;&lt;span style="color:#000000;"&gt;.=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;a href="http://www.blogger.com/%5C%22%3C/font"&gt;&lt;span style="color:#660000;"&gt;$self&lt;/span&gt;&lt;span style="color:#008200;"&gt;?page=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#008200;"&gt;\"&gt;&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#008200;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;    &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;&gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;-&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$prev&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;a href="http://www.blogger.com/%5C%22%3C/font"&gt;&lt;span style="color:#660000;"&gt;$self&lt;/span&gt;&lt;span style="color:#008200;"&gt;?page=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#008200;"&gt;\"&gt;[Prev]&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$first&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;a href="http://www.blogger.com/%5C%22%3C/font"&gt;&lt;span style="color:#660000;"&gt;$self&lt;/span&gt;&lt;span style="color:#008200;"&gt;?page=1\"&gt;[First Page]&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$prev&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$first&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;&lt;&lt;/span&gt;&lt;span style="color:#660000;"&gt;$maxpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;+&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$next&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;a href="http://www.blogger.com/%5C%22%3C/font"&gt;&lt;span style="color:#660000;"&gt;$self&lt;/span&gt;&lt;span style="color:#008200;"&gt;?page=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$page&lt;/span&gt;&lt;span style="color:#008200;"&gt;\"&gt;[Next]&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$last&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;"&lt;a href="http://www.blogger.com/%5C%22%3C/font"&gt;&lt;span style="color:#660000;"&gt;$self&lt;/span&gt;&lt;span style="color:#008200;"&gt;?page=&lt;/span&gt;&lt;span style="color:#660000;"&gt;$maxpg&lt;/span&gt;&lt;span style="color:#008200;"&gt;\"&gt;[Last Page]&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#008200;"&gt;"&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$next&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;   &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#660000;"&gt;$last&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;echo&lt;/span&gt; &lt;span style="color:#008200;"&gt;'&lt;table aling="" center="" border="0" width="100%"&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;tbody&gt;&lt;tr&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;td aling="right" colspan="25"&gt;'&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$first&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$prev&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;'page'&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt; &lt;span style="color:#660000;"&gt;$pgnum&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' of'&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$maxpg&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$next&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;' '&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#660000;"&gt;$last&lt;/span&gt;&lt;span style="color:#000000;"&gt;.&lt;/span&gt;&lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;/td&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;'&lt;/span&gt;&lt;span style="color:#000000;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="color:#008200;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008200;"&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;&lt;span style="color:#000000;"&gt;(&lt;/span&gt;&lt;span style="color:#660000;"&gt;$count&lt;/span&gt; &lt;span style="color:#000000;"&gt;&lt;=&lt;/span&gt; &lt;span style="color:#ff0000;"&gt;0&lt;/span&gt;&lt;span style="color:#000000;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#000000;"&gt;        &lt;/span&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008080;"&gt;&lt;&lt;/span&gt;&lt;span style="color:#3f7f7f;"&gt;div &lt;/span&gt;&lt;span style="color:#7f007f;"&gt;style&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#2a00ff;"&gt;"color: #FF3300" &lt;/span&gt;&lt;span style="color:#7f007f;"&gt;align&lt;/span&gt;&lt;span style="color:#000000;"&gt;=&lt;/span&gt;&lt;span style="color:#2a00ff;"&gt;"center"&lt;/span&gt;&lt;span style="color:#008080;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="color:#000000;"&gt;        &lt;/span&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008080;"&gt;&lt;&lt;/span&gt;&lt;span style="color:#3f7f7f;"&gt;p&lt;/span&gt;&lt;span style="color:#008080;"&gt;&gt;&lt;&lt;/span&gt;&lt;span style="color:#3f7f7f;"&gt;h5&lt;/span&gt;&lt;span style="color:#008080;"&gt;&gt;&lt;/span&gt;&lt;span style="color:#000000;"&gt;No Record Available&lt;/span&gt;&lt;span style="color:#008080;"&gt;&lt;!--&lt;/font--&gt;&lt;span style="color:#3f7f7f;"&gt;h5&lt;/span&gt;&lt;span style="color:#008080;"&gt;&gt;&lt;!--&lt;/font--&gt;&lt;span style="color:#3f7f7f;"&gt;p&lt;/span&gt;&lt;span style="color:#008080;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;        &lt;/span&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#008080;"&gt;&lt;!--&lt;/font--&gt;&lt;span style="color:#3f7f7f;"&gt;div&lt;/span&gt;&lt;span style="color:#008080;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;        &lt;/span&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ff0000;"&gt; &lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#000000;"&gt;        &lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="font-family:Courier New, monospace;"&gt;&lt;span style="font-size:85%;"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6291315507889661419?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6291315507889661419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6291315507889661419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6291315507889661419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6291315507889661419'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/pagination-in-php.html' title='Pagination in PHP'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_WsqHZYYJhTI/ScnZqmIS9FI/AAAAAAAAAAk/jx1BZCRaRdM/s72-c/pagination.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7166523344971175906</id><published>2009-03-25T20:00:00.000-07:00</published><updated>2009-03-25T20:00:06.843-07:00</updated><title type='text'>Google Docs Security Problem Solved</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_jcTk1zAKBZo/ScnCCHYbNDI/AAAAAAAAACI/9ewpiJELhOc/s1600-h/Google_Docs_logo.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 150px; height: 65px;" src="http://3.bp.blogspot.com/_jcTk1zAKBZo/ScnCCHYbNDI/AAAAAAAAACI/9ewpiJELhOc/s320/Google_Docs_logo.png" alt="" id="BLOGGER_PHOTO_ID_5316994176684602418" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;I am a fan of Google Docs(beta). When I was trying to find out templates on Google Docs, I felt that I got the private spreadsheet of someone. I searched for this issue on the internet but did not find a satisfied answer. Yesterday, I found the following link. Google had admitted this security problem but I think the problem has been solved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;a href="http://www.pcworld.com/article/160927/google_docs_glitch_exposes_private_files.html"&gt;http://www.pcworld.com/article/160927/google_docs_glitch_exposes_private_files.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;on Wikipedia&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Google_docs#Data_safety_and_privacy"&gt;http://en.wikipedia.org/wiki/Google_docs#Data_safety_and_privacy&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7166523344971175906?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7166523344971175906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7166523344971175906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7166523344971175906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7166523344971175906'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/google-docs-security-problem-solved.html' title='Google Docs Security Problem Solved'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_jcTk1zAKBZo/ScnCCHYbNDI/AAAAAAAAACI/9ewpiJELhOc/s72-c/Google_Docs_logo.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7788402081073938964</id><published>2009-03-20T04:18:00.000-07:00</published><updated>2009-03-20T04:19:22.326-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Php'/><category scheme='http://www.blogger.com/atom/ns#' term='half life'/><category scheme='http://www.blogger.com/atom/ns#' term='network search'/><category scheme='http://www.blogger.com/atom/ns#' term='Net_GameServerQuery'/><category scheme='http://www.blogger.com/atom/ns#' term='pear'/><category scheme='http://www.blogger.com/atom/ns#' term='game'/><title type='text'>Search Your Network Game Using PHP</title><content type='html'>Search games on your network, simply using PHP. This script uses a cool module of PEAR, Net_GameServerQuery- a common API to query Half Life server. PEAR (&lt;a href="http://www.pear.php.net/"&gt;&lt;/a&gt;) is a framework and distribution system for reusable PHP components. You need to install PEAR module Net_GameServerQuery on your PHP installation. &lt;br /&gt;First change configuration to match your game server. Set IP address ( $ip ) and game type ( $protocol ) variables.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oPqT01IWDNk/ScNdJi9v68I/AAAAAAAAAFU/txuOeM77IT8/s1600-h/g1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 147px;" src="http://3.bp.blogspot.com/_oPqT01IWDNk/ScNdJi9v68I/AAAAAAAAAFU/txuOeM77IT8/s320/g1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5315194403813321666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oPqT01IWDNk/ScNfrvfMcJI/AAAAAAAAAFk/tSGPzHqALvM/s1600-h/g2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 255px; height: 320px;" src="http://4.bp.blogspot.com/_oPqT01IWDNk/ScNfrvfMcJI/AAAAAAAAAFk/tSGPzHqALvM/s320/g2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5315197190313635986" /&gt;&lt;/a&gt;&lt;br /&gt;Note: Click on image for clear view.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7788402081073938964?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7788402081073938964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7788402081073938964' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7788402081073938964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7788402081073938964'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/search-your-network-game-using-php.html' title='Search Your Network Game Using PHP'/><author><name>Usman Ahmed Abbasi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_oPqT01IWDNk/ScNdJi9v68I/AAAAAAAAAFU/txuOeM77IT8/s72-c/g1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3101344313554962389</id><published>2009-03-19T20:00:00.000-07:00</published><updated>2009-03-19T20:00:07.223-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='jdbc'/><category scheme='http://www.blogger.com/atom/ns#' term='driver'/><title type='text'>JAVA connection with MySQL using JDBC in Eclipse</title><content type='html'>&lt;style&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }  --&gt;  &lt;/style&gt; &lt;p style="margin-bottom: 0in; text-align: left; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:times new roman;"&gt;We will discuss JAVA-MySQL connection using JDBC (Java Database Connectivity)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;JDBC:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;h2 style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="i863154"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt; &lt;p style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;a name="i864876"&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;JDBC is a standard API that allows JAVA programs to access databases. The JDBC API is a collection of interfaces and classes written in the JAVA Programming Language. We can write applications that connect to databases, send SQL queries, and get the results using these standard interfaces and classes.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify; color: rgb(0, 0, 0);"&gt; &lt;/div&gt;&lt;p style="text-align: justify; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;A JDBC driver implements these interfaces and classes for a particular Database Management System. A Java Code loads the specified driver for a particular DBMS before it establish a connection with a database.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Download JDBC Driver:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;br /&gt;First of all you have to download JDBC driver (usually named mysql-connector-java-version).&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;For Example: &lt;a href="http://ftp.fju.edu.tw/Database/MySQL/Downloads/Connector-J/"&gt;http://ftp.fju.edu.tw/Database/MySQL/Downloads/Connector-J/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;br /&gt;Extract downloaded zip file and copy extracted folder to your plugins folder in Eclipse Directory.&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;For Example: C:\Eclipse\plugins\mysql-connector-java-version&lt;/span&gt;    &lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt; &lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Import JDBC Driver in Eclipse.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;1. Right Click on your Project in Eclipse -&gt; Select &lt;span style="font-weight: bold;"&gt;Properties&lt;/span&gt;.&lt;br /&gt;2. Select &lt;span style="font-weight: bold;"&gt;Java Build Path&lt;/span&gt;-&gt;selcect &lt;span style="font-weight: bold;"&gt;Librarie&lt;/span&gt;s tab-&gt;press &lt;span style="font-weight: bold;"&gt;Add External JARs&lt;/span&gt; button.&lt;br /&gt;3. Select &lt;span style="font-weight: bold;"&gt;mysql-connector-java-version-bin&lt;/span&gt; file from downloaded mysql-connector-java-version folder.&lt;br /&gt;&lt;br /&gt;Done. Now you are ready to establish JAVA-MySQL connection.&lt;/span&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;JAVA Code Example:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in; text-align: left; color: rgb(0, 0, 0);"&gt;&lt;span style="font-size:85%;"&gt;For Example we have a database named “riksof” with a table employees(id,name,email,designation) where “id” is primary key and auto_increment.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-size:78%;" &gt;/*Define a connection url*/&lt;br /&gt;String host = "localhost";&lt;br /&gt;String db = "riksof";&lt;br /&gt;String tb = "employees";&lt;br /&gt;String db_user = "dbuser";&lt;br /&gt;String db_pw = "dbpassword";&lt;br /&gt; &lt;br /&gt;String db_url = "jdbc:mysql://"+host+":3306/"+db+"?user="+db_user+"&amp;amp;password="+db_pw;&lt;br /&gt; &lt;br /&gt;Connection conn = null;&lt;br /&gt;Statement stmt = null;&lt;br /&gt;String query = "";&lt;br /&gt;ResultSet result = null;&lt;br /&gt;PreparedStatement ps = null;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/* Load driver and Establish a connection */&lt;br /&gt;try{&lt;br /&gt;conn = DriverManager.getConnection (db_url , db_user , db_pw);&lt;br /&gt;stmt = conn.createStatement();  &lt;br /&gt;}catch(Exception connectionExp){&lt;br /&gt;System.out.println("SQL Connection not Established: " + connectionExp.getMessage());&lt;br /&gt;}&lt;br /&gt;     &lt;br /&gt;try{&lt;br /&gt;   Class.forName("com.mysql.jdbc.Driver").newInstance();      &lt;br /&gt;}catch(Exception driverExp){&lt;br /&gt;   System.out.println("Driver not Found : " + driverExp.getMessage());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/* Now Display all records */&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 102, 204);font-size:78%;" &gt;query = "SELECT * FROM " + tb;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 204);font-size:78%;" &gt;try{&lt;br /&gt;result = stmt.executeQuery(query);&lt;br /&gt;&lt;br /&gt;while(result.next()){&lt;br /&gt;System.out.println(result.getString("id"));&lt;br /&gt;System.out.println(result.getString("name"));&lt;br /&gt;System.out.println(result.getString("email"));&lt;br /&gt;System.out.println(result.getString("designation"));&lt;br /&gt;System.out.println("-------------------------------");  &lt;br /&gt;}  &lt;br /&gt;}&lt;br /&gt;catch(Exception sqlExp){&lt;br /&gt;System.out.println("SQL Exception: " + sqlExp);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*Insert a single record*/&lt;br /&gt;query = "INSERT INTO employees(name,email,designation) VALUES('Name','Email','Designation')";&lt;br /&gt;     &lt;br /&gt;try{&lt;br /&gt;conn.createStatement().executeUpdate(query);&lt;br /&gt;System.out.println("Record Stored.");&lt;br /&gt;}&lt;br /&gt;catch (SQLException insertExp) {&lt;br /&gt;System.out.println("SQLException Caught: " + insertExp.getMessage());&lt;br /&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3101344313554962389?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3101344313554962389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3101344313554962389' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3101344313554962389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3101344313554962389'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/java-connection-with-mysql-using-jdbc.html' title='JAVA connection with MySQL using JDBC in Eclipse'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6822974085507210849</id><published>2009-03-19T07:41:00.000-07:00</published><updated>2009-03-19T10:11:12.376-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='boolean operator'/><category scheme='http://www.blogger.com/atom/ns#' term='query'/><category scheme='http://www.blogger.com/atom/ns#' term='index'/><category scheme='http://www.blogger.com/atom/ns#' term='gogole'/><category scheme='http://www.blogger.com/atom/ns#' term='inurl'/><category scheme='http://www.blogger.com/atom/ns#' term='link'/><category scheme='http://www.blogger.com/atom/ns#' term='website'/><category scheme='http://www.blogger.com/atom/ns#' term='search'/><category scheme='http://www.blogger.com/atom/ns#' term='intitle'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='syntax'/><category scheme='http://www.blogger.com/atom/ns#' term='search engine'/><title type='text'>Google Special Syntaxes</title><content type='html'>In the era when people go online before the morning tea, Google search engine is an essential part in our everyday life.&lt;br /&gt;Being a full-text search engine Google indexed entire website instead of title, links and description. Google search engine support Boolean operators, basic AND, OR, and quoted strings, as well as it offers special syntax for quick and precise query. Here are some of the common syntax which are very useful for professional peoples;&lt;br /&gt;&lt;br /&gt;intitle:&lt;br /&gt;intitle: search is restricted to page titles&lt;br /&gt;intitle:"pakistan"&lt;br /&gt;allintitle:"kashmir dispute" pakistan&lt;br /&gt;&lt;br /&gt;inurl:&lt;br /&gt;inurl: search is restricted to URLs.&lt;br /&gt;inurl:view.shtml&lt;br /&gt;allinurl:search help&lt;br /&gt;&lt;br /&gt;intext:&lt;br /&gt;intext: searches only body text &lt;br /&gt;intext:"riksof.com"&lt;br /&gt;&lt;br /&gt;inanchor:&lt;br /&gt;inanchor: searches for text in a page's link anchors.&lt;br /&gt;inanchor:"university"&lt;br /&gt;&lt;br /&gt;site:&lt;br /&gt;site: search by either a web site or a top-level domain.&lt;br /&gt;site:gov&lt;br /&gt;site:pk&lt;br /&gt;site:edu.pk&lt;br /&gt;&lt;br /&gt;link:&lt;br /&gt;link: gives a list of pages linking to the particular URL.&lt;br /&gt;link:www.riksof.com&lt;br /&gt;&lt;br /&gt;cache:&lt;br /&gt;cache: find copy from Goolge indexed cache even it is no longer available at its original location.&lt;br /&gt;cache:www.amazon.com&lt;br /&gt;&lt;br /&gt;daterange:&lt;br /&gt;daterange: limits your search to a particular date or range of dates that a page was&lt;br /&gt;indexed. &lt;br /&gt;Note that daterange: works with Julian, not Gregorian dates (the&lt;br /&gt;calendar we use every day).&lt;br /&gt;"Osama Bin Laden" daterange:2452389-2452389&lt;br /&gt;Aerospace daterange:2452389-2452389&lt;br /&gt;&lt;br /&gt;filetype:&lt;br /&gt;filetype: searches the suffixes or file extensions.&lt;br /&gt;java filetype:pdf&lt;br /&gt;"marketing" filetype:ppt&lt;br /&gt;&lt;br /&gt;related:&lt;br /&gt;related: finds pages that are related to the specified page.&lt;br /&gt;related:www.ebay.com&lt;br /&gt;related:www.cricinfo.com&lt;br /&gt;&lt;br /&gt;info:&lt;br /&gt;info: provides a page of links to more information about a specified URL.&lt;br /&gt;info:www.wikipedia.com&lt;br /&gt;&lt;br /&gt;phonebook: //not very useful for Pakistan&lt;br /&gt;phonebook: phone number looks up.&lt;br /&gt;phonebook: Karachi &lt;br /&gt;&lt;br /&gt;There are still more syntax for easy, precise and rapid search and Google is adding more day by day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6822974085507210849?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6822974085507210849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6822974085507210849' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6822974085507210849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6822974085507210849'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/google-special-syntaxes.html' title='Google Special Syntaxes'/><author><name>Usman Ahmed Abbasi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-930579841955065914</id><published>2009-03-18T22:46:00.000-07:00</published><updated>2009-03-19T01:55:27.319-07:00</updated><title type='text'>PHP Image Gallery &amp; Truncate a string in Smarty</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_WsqHZYYJhTI/ScHjLEPDRqI/AAAAAAAAAAU/tXdVMHegHy8/s1600-h/images+gallary.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 131px; height: 136px;" src="http://3.bp.blogspot.com/_WsqHZYYJhTI/ScHjLEPDRqI/AAAAAAAAAAU/tXdVMHegHy8/s320/images+gallary.jpg" alt="" id="BLOGGER_PHOTO_ID_5314778814528833186" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(0, 153, 0);"&gt;PHP Image Gallery&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Description&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;This is an image gallery script that allows you to simply upload new full sized images in FTP and the script will automatically create the thumbnails for those images and add those images to a paged thumbnail gallery suitable for browsing.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic; color: rgb(0, 0, 153);"&gt;Instructions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;First of you have to set the variables in the code below&lt;/span&gt;&lt;a name="settings"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;ol&gt;&lt;li&gt;&lt;a name="settings"&gt;&lt;span style="font-size:85%;"&gt;Scroll down to about line 30 and look for &lt;b class="code"&gt;$config['size']&lt;/b&gt;. Set this to the maximum width or height you want your image thumbnail to be.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a name="settings"&gt;&lt;span style="font-size:85%;"&gt;On the next line in the &lt;b class="code"&gt;$config['imagequality']&lt;/b&gt; set this to the JPEG quality you would like your thumbnails to be. I recommend you keep it set to 70.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a name="settings"&gt;&lt;span style="font-size:85%;"&gt;&lt;b class="code"&gt;$config['rows']&lt;/b&gt; and &lt;b class="code"&gt;$config['cols']&lt;/b&gt; are the number of rows and number of columns of thumbnail images you want shown on each page.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a name="settings"&gt;&lt;span style="font-size:85%;"&gt;&lt;b class="code"&gt;$config['maxShow']&lt;/b&gt; is the number of page numbers to show at one time. for instance if you have 100 pages of images, you can set this to only show the page numbers of the 10 pages close to where you currently are.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a name="settings"&gt;&lt;span style="font-size:85%;"&gt;&lt;b class="code"&gt;$config['thumbs']&lt;/b&gt; is the relative path to where you want the thumbnail images to be stored. Include the trailing slash.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a name="settings"&gt;&lt;/a&gt;&lt;a name="permissions"&gt;&lt;h4&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;File Permissions:&lt;/span&gt;&lt;/h4&gt;&lt;/a&gt;&lt;ol&gt;&lt;li&gt;&lt;a name="permissions"&gt;&lt;span style="font-size:85%;"&gt;You'll need to change the permission on the directory you set &lt;strong&gt;$config['thumbs']&lt;/strong&gt; to. CHMOD it to 775 or 777 so PHP and GD2 can automatically write and create your thumbnails in that directory.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a name="permissions"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;a name="permissions"&gt;&lt;h4&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Changing the Look:&lt;/span&gt;&lt;/h4&gt;&lt;/a&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;a name="permissions"&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;a name="permissions"&gt;&lt;h4 style="font-weight: normal;"&gt;&lt;span style="font-size:85%;"&gt;The entire gallery table is controlled by the CSS settings you'll find toward the bottom of the gallery.php file. I tried to comment each specific part of the CSS and what it controls so you can easily change the look of the gallery without actually having to actually edit any of the PHP.&lt;/span&gt;&lt;/h4&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a name="permissions"&gt;&lt;/a&gt;&lt;a name="permissions"&gt;&lt;/a&gt;&lt;span&gt;&lt;a name="permissions"&gt;&lt;/a&gt;&lt;span&gt;&lt;a name="permissions"&gt;&lt;/a&gt;&lt;h4&gt;&lt;a name="permissions"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Here is the Code:&lt;/span&gt;&lt;/a&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: normal;"&gt;You can download the gallery.php file from the following link.&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style="color: rgb(255, 0, 0);font-family:georgia;font-size:78%;"  &gt;http://www.ricocheting.com/scripts/gallery.html&lt;/span&gt;&lt;/h4&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(0, 153, 0);font-size:130%;" &gt;&lt;span&gt;&lt;h4&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_WsqHZYYJhTI/ScIGdsGmvVI/AAAAAAAAAAc/N84o--Ftn6k/s1600-h/truncate+string.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 126px; height: 79px;" src="http://1.bp.blogspot.com/_WsqHZYYJhTI/ScIGdsGmvVI/AAAAAAAAAAc/N84o--Ftn6k/s320/truncate+string.jpg" alt="" id="BLOGGER_PHOTO_ID_5314817617375444306" border="0" /&gt;&lt;/a&gt;&lt;/h4&gt;&lt;h4&gt;Truncate a string in Smarty&lt;/h4&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;Suppose you have a sentense in smarty that contains more characters and the rows of the table where you wants to show it will become wrap which sounds very bad. So you can use smarty variable modifier called 'truncate'.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;How to use Truncate:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;It has following syntaxes,&lt;br /&gt;&lt;span style="font-size:85%;"&gt;truncate:how_many_characters_to_show:what_characters_appear_at_end&lt;/span&gt;&lt;br /&gt;truncate:int:int&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Georgia,serif;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:monospace;"&gt;lets&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="programlisting"&gt;$yourString = "Hello World";&lt;/pre&gt; &lt;ol&gt;&lt;li&gt;{$yourString|truncate}//output// Hello World&lt;/li&gt;&lt;li&gt;{$articleTitle|truncate:3}//output// Hel...&lt;/li&gt;&lt;li&gt;{$articleTitle|truncate:3:""}//output// Hel&lt;/li&gt;&lt;li&gt;{$articleTitle|truncate:3:"---"}//output// Hel---&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;You can also find more detail from&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;http://www.smarty.net/manual/en/language.modifier.truncate.php&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;font-size:85%;" &gt;Special Thanks&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Ihsanuilah Khan&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-930579841955065914?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/930579841955065914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=930579841955065914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/930579841955065914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/930579841955065914'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/php-image-gallery.html' title='PHP Image Gallery &amp; Truncate a string in Smarty'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_WsqHZYYJhTI/ScHjLEPDRqI/AAAAAAAAAAU/tXdVMHegHy8/s72-c/images+gallary.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-275595507009729695</id><published>2009-03-18T22:05:00.000-07:00</published><updated>2009-03-18T22:20:23.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BI server'/><category scheme='http://www.blogger.com/atom/ns#' term='pentaho'/><title type='text'>Pentaho</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_gs6-c4nnKcQ/ScHVP_3zt5I/AAAAAAAAAdw/y-Vt0fNgxcs/s1600-h/Pentaho_logo.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 219px; height: 86px;" src="http://2.bp.blogspot.com/_gs6-c4nnKcQ/ScHVP_3zt5I/AAAAAAAAAdw/y-Vt0fNgxcs/s320/Pentaho_logo.png" alt="" id="BLOGGER_PHOTO_ID_5314763506094159762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pentaho BI project is an open source project. It is used for many purpose.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Reporting&lt;/li&gt;&lt;li&gt;Analysis&lt;/li&gt;&lt;li&gt;Dashboard&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Data Mining&lt;/li&gt;&lt;li&gt;Work flow&lt;/li&gt;&lt;/ul&gt;Pentaho BI have two versions, one is community and other is enterprises edition.we will use in our recent project of COI(HCCS) for data reporting.Basically it consist of a server BI and client side design studio.It uses tomcat as web server.If some one to use it first start the BI server with sh command from terminal and tomcat also from sh command.It also have a plugin structure.Design studio can also be installed in eclipse as plugin.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.pentaho.com/" class="external text" title="http://www.pentaho.com/" rel="nofollow"&gt;Pentaho website&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/pentaho/" class="external text" title="http://sourceforge.net/projects/pentaho/" rel="nofollow"&gt;Pentaho&lt;/a&gt; on &lt;a href="http://en.wikipedia.org/wiki/SourceForge" title="SourceForge" class="mw-redirect"&gt;SourceForge&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://freshmeat.net/projects/pentahopci/" class="external text" title="http://freshmeat.net/projects/pentahopci/" rel="nofollow"&gt;Pentaho&lt;/a&gt; on &lt;a href="http://en.wikipedia.org/wiki/Freshmeat" title="Freshmeat"&gt;Freshmeat&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://wikimapia.org/#y=28460104&amp;amp;x=-81303973&amp;amp;z=18&amp;amp;l=0&amp;amp;m=a&amp;amp;v=2/" class="external text" title="http://wikimapia.org/#y=28460104&amp;amp;x=-81303973&amp;amp;z=18&amp;amp;l=0&amp;amp;m=a&amp;amp;v=2/" rel="nofollow"&gt;Map of Headquarters&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Information on how to use and configure Pentaho BI can be found at the following &lt;a href="http://etl-tools.info/pentaho-tutorial.html" class="external text" title="http://etl-tools.info/pentaho-tutorial.html" rel="nofollow"&gt;Pentaho Tutorial&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Information translated into spanish on how to install Pentaho BI Suite Community Edition can be found at the following &lt;a href="http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=InstalacionPENTAHOBISuite" class="external text" title="http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=InstalacionPENTAHOBISuite" rel="nofollow"&gt;tutorial&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-275595507009729695?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/275595507009729695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=275595507009729695' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/275595507009729695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/275595507009729695'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/pentaho.html' title='Pentaho'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_gs6-c4nnKcQ/ScHVP_3zt5I/AAAAAAAAAdw/y-Vt0fNgxcs/s72-c/Pentaho_logo.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3864824921975331781</id><published>2009-03-13T08:00:00.000-07:00</published><updated>2009-03-13T08:00:01.080-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='integration'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='change password'/><category scheme='http://www.blogger.com/atom/ns#' term='bind'/><category scheme='http://www.blogger.com/atom/ns#' term='Joomla'/><category scheme='http://www.blogger.com/atom/ns#' term='ldap'/><title type='text'>LDAP integration to change password</title><content type='html'>Once you have installed and configured LDAP on your Linux server you will probably need to change user’s passwords in future. For this you can allow user to login and change their password from shell.&lt;br /&gt;User management from shell is not a sufficient way, you might be interested to find a way to change password without allowing user to log into server. And in case if you has particular login registration framework, then you would like to integrate LDAP with it.&lt;br /&gt;I choose PHP to perform the task.&lt;br /&gt;First thing, allow user to change password in slapd.conf file;&lt;br /&gt;&lt;br /&gt;access to attr=userPassword&lt;br /&gt;by self write&lt;br /&gt;by anonymous auth&lt;br /&gt;by * none&lt;br /&gt;&lt;br /&gt;The next step is ldap bind with user credentials for authentication;&lt;br /&gt;&lt;br /&gt;  if(isset($username) and isset($newpassword) and isset($oldpassword)) {&lt;br /&gt;     $ldapconn = ldap_connect("hostname", 389);&lt;br /&gt;       $ldapbind=@ldap_bind($ldapconn,"uid=".$username.",dc=example,dc=com",$oldpassword);&lt;br /&gt;if($ldapbind){&lt;br /&gt;&lt;br /&gt;     //If user gives correct username and password, then;&lt;br /&gt;&lt;br /&gt;  if( ldap_mod_replace ($ldapconn, "uid=".$username.",dc=host,dc=com", &lt;br /&gt;      array('userpassword' =&gt; "{MD5}".base64_encode(pack("H*",md5($newpassword)) ){ &lt;br /&gt;      print "Password changed successfully ";&lt;br /&gt;  }else{&lt;br /&gt;      print "Failed to change password"; &lt;br /&gt;  }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3864824921975331781?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3864824921975331781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3864824921975331781' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3864824921975331781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3864824921975331781'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/ldap-integration-to-change-password.html' title='LDAP integration to change password'/><author><name>Usman Ahmed Abbasi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1632112239285524085</id><published>2009-03-12T01:13:00.000-07:00</published><updated>2009-03-12T01:54:21.998-07:00</updated><title type='text'>Secure our Joomla webs from Hackers</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_WsqHZYYJhTI/SbjNVrkVEfI/AAAAAAAAAAM/TEAX2QO7654/s1600-h/hackers.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 125px; height: 123px;" src="http://2.bp.blogspot.com/_WsqHZYYJhTI/SbjNVrkVEfI/AAAAAAAAAAM/TEAX2QO7654/s320/hackers.jpg" alt="" id="BLOGGER_PHOTO_ID_5312221532839547378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;style type="text/css"&gt;  &lt;!--   @page { size: 8.5in 11in; margin: 0.79in }  --&gt;&lt;/style&gt;&lt;span style="font-family:times new roman;"&gt;As we know that 'Joomla' is really amazing open source product for web development but as far as security is concern like others we may not rely on 'Joomla'.  &lt;/span&gt; &lt;p style="font-family: times new roman;"&gt;Some days ago a website of someone was hacked that was built using 'Joomla' but thanks to allmighty Allah that issue have resolved. This is one case that I know but may be many organization have faced or facing such type of problems. So I thought to search about this problem and finally I found some blueprints from &lt;a href="http://www.joomlasecurity.info/"&gt;www.joomlasecurity.info/&lt;/a&gt;  this web is also by 'Joomla' for their clients who use 'Joomla'. Although in this site they define each and every issue that concerns  with security of 'Joomla' and other webs but the key points are mentioned as below.&lt;/p&gt; &lt;p style="font-family: times new roman;"&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;I hope it will be helpful for developers specially who are using 'Joomla' for developing their webs.&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Use the latest version of Joomla.  &lt;/li&gt;&lt;li&gt;Use only secure third party plugins and also keep them updated.&lt;/li&gt;&lt;li&gt;Use secure username and password for administrators.&lt;/li&gt;&lt;li&gt;Use an SEF (Search Engine Friendly) component that makes your Joomla more secure.&lt;/li&gt;&lt;li&gt;Use a secure web host / secure server configuration.&lt;/li&gt;&lt;li&gt;Don’t tell everyone about your configuration.&lt;/li&gt;&lt;li&gt;Write-protect your Joomla configuration file (make unwriteable).&lt;/li&gt;&lt;li&gt;Delete Joomla templates that you do not use. &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1632112239285524085?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1632112239285524085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1632112239285524085' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1632112239285524085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1632112239285524085'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/secure-our-joomla-webs-from-hackers.html' title='Secure our Joomla webs from Hackers'/><author><name>Muhammad Sajid</name><uri>http://www.blogger.com/profile/05698412474897092111</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_WsqHZYYJhTI/SbjNVrkVEfI/AAAAAAAAAAM/TEAX2QO7654/s72-c/hackers.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2550198761891754407</id><published>2009-03-11T22:26:00.000-07:00</published><updated>2009-03-12T00:41:08.245-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Joomla'/><category scheme='http://www.blogger.com/atom/ns#' term='template design'/><title type='text'>Joomla Template</title><content type='html'>Joomla look and feel can be changed due to its framework. Joomla template can be changed from administrator side.I want to explain basic requirements to design a joomla template.&lt;br /&gt;• &lt;span style="font-size:130%;"&gt;templateDetails.xml&lt;/span&gt;&lt;br /&gt;This file define information about template.D should be in uppercase(This is standard file format).An XML format metadata(data about data) file that tells Joomla! what other files are needed when loading a web page that uses this template. It also tells the author, copyright and what files make up the template (including any images used). The last use of this file is for installing a template when using the admin backend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2550198761891754407?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2550198761891754407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2550198761891754407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2550198761891754407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2550198761891754407'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/joomla-template_11.html' title='Joomla Template'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5408327630610927698</id><published>2009-03-09T08:00:00.000-07:00</published><updated>2009-03-09T22:23:53.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Php'/><title type='text'>Automatic login script</title><content type='html'>This script is to automated our log-in to some site.&lt;br /&gt;You must have cURL installed to use this script.&lt;br /&gt;When I started to code this script , at that time I was having some difficulties to code and finally I got the success to programmed auto log-in script. From internet I have research allot to create such a script , but there is no correct solution available for this script on internet . This script is really help you to logging in to different site automatically when you run it .&lt;br /&gt;&lt;br /&gt;// INIT CURL&lt;br /&gt;&lt;span class="code-lang"&gt;$ch &lt;/span&gt;&lt;span class="code-keyword"&gt;= &lt;/span&gt;&lt;span class="code-lang"&gt;curl_init&lt;/span&gt;&lt;span class="code-keyword"&gt;();&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;// SET URL FOR THE POST FORM LOGIN&lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt&lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_URL&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-string"&gt;'&lt;/span&gt;http://www.external-site.com/Members/Login.php&lt;span class="code-string"&gt;'&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Reference URL that where you going to login&lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt&lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_REFERER&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-string"&gt;"&lt;/span&gt;RefUrl&lt;span class="code-string"&gt;"&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;// ENABLE HTTP POST&lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt &lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_POST&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;1&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;// SET POST PARAMETERS : FORM VALUES FOR EACH FIELD&lt;br /&gt;curl_setopt ($ch, CURLOPT_POSTFIELDS, 'fieldname1=fieldvalue1&amp;amp;fieldname2=fieldvalue2,...');&lt;br /&gt;&lt;br /&gt;//Cookie file &lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt &lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_COOKIEFILE&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-string"&gt;'cookie.txt'&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;// IMITATE CLASSIC BROWSER'S BEHAVIOUR : HANDLE COOKIES&lt;br /&gt;&lt;span class="code-lang"&gt;&lt;/span&gt;&lt;span class="code-keyword"&gt;&lt;/span&gt;&lt;span class="code-lang"&gt;curl_setopt &lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_COOKIEJAR&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-string"&gt;'cookie.txt'&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//set session cookie&lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt &lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_COOKIE&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-string"&gt;'cookie.txt'&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Usage of CURLOPT_FOLLOWLOCATION is important when sites use URL redirectors for //file downloads&lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt&lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_FOLLOWLOCATION&lt;/span&gt;&lt;span class="code-keyword"&gt;,  &lt;/span&gt;&lt;span class="code-lang"&gt;1&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;// Setting CURLOPT_RETURNTRANSFER variable to 1 will force cURL&lt;br /&gt;// not to print out the results of its query.&lt;br /&gt;//Instead, it will return the results as a string return value&lt;br /&gt;// from curl_exec() instead of the usual true/false.&lt;br /&gt;&lt;span class="code-lang"&gt;curl_setopt &lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;, &lt;/span&gt;&lt;span class="code-lang"&gt;CURLOPT_RETURNTRANSFER&lt;/span&gt;&lt;span class="code-keyword"&gt;,  &lt;/span&gt;&lt;span class="code-lang"&gt;1&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;// EXECUTE 1st REQUEST (FORM LOGIN)&lt;br /&gt;&lt;span class="code-lang"&gt;$result &lt;/span&gt;&lt;span class="code-keyword"&gt;= &lt;/span&gt;&lt;span class="code-lang"&gt;curl_exec&lt;/span&gt;&lt;span class="code-keyword"&gt;(&lt;/span&gt;&lt;span class="code-lang"&gt;$ch&lt;/span&gt;&lt;span class="code-keyword"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;// CLOSE CURL&lt;br /&gt;curl_close ($ch);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5408327630610927698?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5408327630610927698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5408327630610927698' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5408327630610927698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5408327630610927698'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/automatic-login-script.html' title='Automatic login script'/><author><name>Nasir Ali Shah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1806233812732074104</id><published>2009-03-02T10:05:00.000-08:00</published><updated>2009-03-02T10:40:06.108-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openbravo'/><category scheme='http://www.blogger.com/atom/ns#' term='ldap'/><title type='text'>Ldap authentication with Openbravo</title><content type='html'>The following instructions allow use of an Ldap server to authenticate users to OpenBravo ERP. I first unsuccessfully attempted to use a custom authentication manager to implement LDAP support. If you have been able to do it, I would be very keen to know how it was done.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy &lt;a href="http://riksof.com/sharing/LdapLoginHandler.txt"&gt;this file&lt;/a&gt; to &lt;span style="font-style: italic;"&gt;&lt;openbravo-installaion&gt;/AppsOpenbravo/src/com/riksof/authentication/LdapLoginHandler.java&lt;/openbravo-installaion&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Please modify objectDN string to correspond to your setup.&lt;/li&gt;&lt;li&gt;Login to postgres with the database user created at installation time: &lt;span style="font-style: italic;"&gt;psql - U tad -d openbravo&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Insert&lt;span style="font-style: italic;"&gt; &lt;/span&gt;the following entry:&lt;span style="font-style: italic;"&gt; &lt;blockquote&gt;insert into ad_model_object(ad_model_object_id, ad_client_id, ad_org_id, isactive, action, classname, isdefault, created, createdby, updated, updatedby) values (1006100001, 0, 0, 'Y', 'X','com.riksof.authentication.LdapLoginHandler', 'Y', current_timestamp, 100, current_timestamp, 100);&lt;/blockquote&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Also update entry to use our login class:&lt;span style="font-style: italic;"&gt; &lt;blockquote&gt;update ad_model_object_mapping set ad_model_object_id=1006100001 where mappingname='/secureApp/LoginHandler.html';&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;Compile and deploy OpenBravo to use Ldap.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1806233812732074104?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1806233812732074104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1806233812732074104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1806233812732074104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1806233812732074104'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2009/03/ldap-authentication-with-openbravo.html' title='Ldap authentication with Openbravo'/><author><name>Khurram Ali</name><uri>http://www.blogger.com/profile/16678936262901347238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6301888901325158090</id><published>2008-12-12T20:00:00.000-08:00</published><updated>2008-12-12T22:48:50.889-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='Operating System'/><category scheme='http://www.blogger.com/atom/ns#' term='Online OS'/><category scheme='http://www.blogger.com/atom/ns#' term='Browser OS'/><title type='text'>Browser Operating System</title><content type='html'>&lt;div style="text-align: left; color: rgb(0, 0, 0);"&gt;Good OS has introduced a new operating system  called "Cloud" which boots into a browser with Google, Yahoo and Live. Cloud integrates a Browser with a compressed Linux OS kernel for immediate access to Internet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;related links:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Calibri; font-size: 15px;"&gt;&lt;/span&gt;&lt;div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"&gt;&lt;div class="Section1"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;a rel="nofollow" target="_blank" href="http://www.glidedigital.com/"&gt;&lt;span class="yshortcuts" id="lw_1229148156_0"&gt;http://www.glidedig ital.com/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a rel="nofollow" target="_blank" href="http://www.oos.cc/login.html"&gt;http://www.oos.cc/login.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;a rel="nofollow" target="_blank" href="http://www.oos.cc/login.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;/span&gt;&lt;a rel="nofollow" target="_blank" href="http://www.theinquirer.net/gb/inquirer/news/2008/12/02/browser-replaces" id="EC_u-AFQjCNFTh3M5N9IBdFzylHuvmJHV0dVPnQ"&gt;&lt;span class="yshortcuts" id="lw_1229148156_5"&gt;Browser replaces OS&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;/span&gt;&lt;a rel="nofollow" target="_blank" href="http://it.tmcnet.com/topics/it/articles/46565-good-os-announces-cloud-browser-operating-system.htm" id="EC_u-AFQjCNF0-Tmpm8ii78RiR-W1XlzduSazaA"&gt;&lt;span class="yshortcuts" id="lw_1229148156_6"&gt;Good OS Announces 'Cloud'- A Browser Operating System&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 10pt; color: rgb(68, 68, 68);"&gt;&lt;a rel="nofollow" target="_blank" href="http://www.oos.cc/login.html"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6301888901325158090?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6301888901325158090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6301888901325158090' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6301888901325158090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6301888901325158090'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/12/browser-operating-system.html' title='Browser Operating System'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1075956392521444038</id><published>2008-11-20T01:09:00.000-08:00</published><updated>2008-11-20T19:58:00.920-08:00</updated><title type='text'>Important Links</title><content type='html'>When using internet I have discover some links which changes my knowledge and way of thinking. Please surf it carefully.&lt;br /&gt;&lt;br /&gt;This site have wonderful knowledge about web development, designing, programming, database and many more.&lt;br /&gt;&lt;br /&gt;http://www.tutoriliazed.com&lt;br /&gt;&lt;br /&gt;This site basic knowledge about web, a complete web directory for introduction with many technology.&lt;br /&gt;&lt;br /&gt;http://www.w3schools.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1075956392521444038?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1075956392521444038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1075956392521444038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1075956392521444038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1075956392521444038'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/11/important-links.html' title='Important Links'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4606015590862515368</id><published>2008-11-06T23:32:00.000-08:00</published><updated>2008-11-07T01:32:13.683-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Drupal'/><title type='text'>Drupal</title><content type='html'>&lt;p style="font-family: times new roman;font-family:times new roman;" &gt;&lt;span style="font-size:100%;"&gt;Drupal&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: times new roman;font-family:times new roman;" &gt;&lt;span style="font-size:100%;"&gt; is a free and open source modular framework&lt;a href="http://en.wikipedia.org/wiki/Software_framework" title="Software framework"&gt;&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Content_management_system" title="Content management system"&gt;&lt;/a&gt;content management system (CMS) written in the programming language &lt;a href="http://en.wikipedia.org/wiki/PHP" title="PHP"&gt;&lt;/a&gt;PHP. Like many modern CMSs, Drupal allows the system administrator to create and organize content, customize the presentation, automate administrative tasks, and manage site visitors and contributors.&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: times new roman;font-family:times new roman;" &gt;&lt;span style=";font-size:100%;" &gt;Drupal is sometimes described as a "Content Management Framework" as its capabilities extend from content management to enabling a wide range of services and transactions. Although Drupal does offer a sophisticated programming interface, basic web site installation and administration can be accomplished with no programming.&lt;/span&gt;&lt;/p&gt;&lt;h2 style="font-family: times new roman;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="mw-headline"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style="font-family: times new roman;font-size:100%;" &gt;Drupal core&lt;br /&gt;&lt;br /&gt;The official release of Drupal, known as "Drupal core", contains basic features common to most CMSs. These include the ability to register and maintain individual user accounts, administration menus, RSS-feeds, customizable layout, flexible account privileges, logging, a blogging system, an Internet forum, and options to create a classic "brochureware" Web site or an interactive community Web site.&lt;br /&gt;&lt;br /&gt;Core modules&lt;br /&gt;&lt;br /&gt;Drupal core also includes "core modules" which can be enabled by the administrator to extend the stock functionality of the core Web site. The core Drupal distribution provides a number of features, including: Access statistics and loggingAdvanced search functionsCaching and feature throttling for improved performance under loadComments, forums, and pollsDescriptive URLs (for example, "www.example.com/products" rather than "www.example.com/?q=node/432")Multi-level menu systemMulti-user content creation and editingOpenID supportRSS Feed and Feed AggregatorSecurity/new release update notificationUser profilesVarious access control restrictions (user roles, IP addresses, email)Workflow tools (Triggers and Actions)&lt;br /&gt;&lt;br /&gt;Core themes&lt;br /&gt;&lt;br /&gt;The color editor being used to adjust the "Garland" core theme   Drupal core includes several "core themes", which customize the aesthetic look-and-feel of the site. These themes can be chosen by the administrator via a special menu.  The Color Module, introduced in Drupal core 5.0, allows administrators to change the color scheme of certain themes via a Web-browser interface. This feature was added to allow a higher level of customization for the average non-coder. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4606015590862515368?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4606015590862515368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4606015590862515368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4606015590862515368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4606015590862515368'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/11/drupal.html' title='Drupal'/><author><name>Ihsanullah</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6698032569304398315</id><published>2008-11-04T08:00:00.001-08:00</published><updated>2008-11-04T08:00:00.576-08:00</updated><title type='text'>iPhone SDK : Images in TableView using Objective-C</title><content type='html'>This simple code will display an image on the left side of cell using Objective-C.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First create a string that contains source information of image file like “Image Name” and “Image Type”. Then create an Image using this String. Then upload the image to the cell.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;NSString *imageSource = [[NSBundle mainBundle] pathForResource:@"icon" ofType:@"jpg"];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;UIImage *image = [UIImage imageWithContentsOfFile: imageSource];&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;cell.image = image;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note : The icon.jpg should be in your “Resources” folder.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6698032569304398315?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6698032569304398315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6698032569304398315' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6698032569304398315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6698032569304398315'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/11/iphone-sdk-images-in-tableview-using.html' title='iPhone SDK : Images in TableView using Objective-C'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-400777913996130962</id><published>2008-04-24T08:00:00.000-07:00</published><updated>2008-04-24T04:51:13.508-07:00</updated><title type='text'>Python</title><content type='html'>Python is object-oriented programming language. It can be compared to Perl, TCL, Scheme or Java. Python has very clear and simple syntax. It has classes, exceptions, modules, and dynamic data types.&lt;br /&gt;&lt;br /&gt;Python can run on many platforms like Windows, Linux, MAC, Amiga and others. The Python is is freely usable but its implementation is copyrighted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Comparison with other Popular Languages:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Java:&lt;/span&gt;&lt;br /&gt;Python programs are generally run slower than Java programs but Python programs are typically 3-5 times shorter than equivalent Java programs. The reason of this difference is Python's data types and its dynamic typing.&lt;br /&gt;&lt;br /&gt;For example, a Python programmer does not declare the types of arguments or variables. Python's run time must work harder than Java's run time. For example, when evaluating the expression x+y, it must first inspect 'a' and 'b' to find out their type.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JavaScript: &lt;/span&gt;&lt;br /&gt;Python supports a programming style that uses simple functions and variables without using class definitions like JavaScript. But the main difference is that Python support Object Oriented programming style.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Perl:&lt;/span&gt;&lt;br /&gt;Python and Perl have similar background and similar in many features. The difference is that Perl supports common application-oriented tasks(built-in regular expressions, file scanning and report generating features) on the other hand Python supports common programming methodologies(data structure design and object-oriented programming)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;C++:&lt;/span&gt;&lt;br /&gt;The main difference is typing style. A Python program is typically 5 to 10 times shorter than equivalent Java program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Tcl:&lt;/span&gt;&lt;br /&gt;Tcl works as a stand-alone programming language like Python. However, Tcl, which traditionally stores all data as strings, is weak on data structures, and executes typical code much slower than Python.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-400777913996130962?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/400777913996130962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=400777913996130962' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/400777913996130962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/400777913996130962'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/04/python.html' title='Python'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-7819151396142508458</id><published>2008-04-15T08:00:00.000-07:00</published><updated>2008-04-15T01:20:27.396-07:00</updated><title type='text'>TRAC: Web-Based Project Management System</title><content type='html'>Trac is a web based project managment and issues/bugs tracking System. Trac is written in the Python programming language. This Open Source Software is developed by Edgewall Software. Trac is available under the modified BSD License. If this does not fullfill your requirements, you could make changes, write plugins according to your needs. It can be used as a web interface to a version control system, like Subversion.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Some Features of Trac:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trac Wiki: &lt;/span&gt;Trac has a built-in wiki, used for text and documentation throughout the project. It allows users to editing text easier and allows people to contribute text content for a project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trac Ticket System:&lt;/span&gt; Tickets are used to assign project tasks to developers. Tickets deals with bug reports, features requests, and support issues.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trac Reports: &lt;/span&gt;It provides reporting facility  for current status  of tickets of the project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trac Timeline:&lt;/span&gt; It allows to view the project progress in a single report. It provides all the events in order,  description of each event, and who is working on these events.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trac Repository Browser:&lt;/span&gt; Trac Repository is Version Control System. Using this we can browse Directories and files stored in the repository of the configured version control system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trac Roadmap:&lt;/span&gt; It allows to view ticket system in a way that can help to manage the project in a better way in the future.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Email Notification of Ticket Changes:&lt;/span&gt; Trac provides supports for notification about ticket through emails. This facility keep developers up-to-date on tickets.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-7819151396142508458?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/7819151396142508458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=7819151396142508458' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7819151396142508458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/7819151396142508458'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/04/trac-web-based-project-management.html' title='TRAC: Web-Based Project Management System'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3392588386648307763</id><published>2008-04-14T08:00:00.000-07:00</published><updated>2008-04-15T23:55:06.272-07:00</updated><title type='text'></title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3392588386648307763?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3392588386648307763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3392588386648307763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3392588386648307763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3392588386648307763'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/04/naming-business.html' title=''/><author><name>Umair</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/-tcpT2on9oTc/TpRGu3VJYHI/AAAAAAAAADc/4OC5HkNJPQU/s220/248479_10150639487130063_896430062_18691543_938352_n%2B%25281%2529.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6078252484844160703</id><published>2008-04-04T08:04:00.000-07:00</published><updated>2008-04-04T04:10:17.568-07:00</updated><title type='text'>Smarty Templates Engine</title><content type='html'>&lt;div align="justify"&gt;It was common practice to mix the PHP Script and HTML tags while coding in PHP. This resulted in a complex code which was difficult to understand and inconvenient to update. This problem was solved by Smarty which makes PHP scripts independent of layout.&lt;br /&gt;Smarty is templates engine for PHP. It provides a way to separate programming logic from contents and presentation. It enables templates designers and programmers to work independently. Smarty templates can contain logic which is only for presentation purpose. Its unique feature is template compiling; it reads templates files and create PHP scripts from them. Once they are created, then they executed from there. This is what makes Smarty efficient.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Features:&lt;/strong&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;· Fast and efficient.&lt;br /&gt;· No templates parsing overhead (Compile once).&lt;br /&gt;· The if/else constructs are passed to PHP parser.&lt;br /&gt;· Nesting of sections like if/else.&lt;br /&gt;· Built-in caching support.&lt;br /&gt;· Arbitrary template sources.&lt;br /&gt;· Custom cache handling functions.&lt;br /&gt;· Plug-in architecture.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6078252484844160703?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6078252484844160703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6078252484844160703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6078252484844160703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6078252484844160703'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/04/smarty-templates-engine.html' title='Smarty Templates Engine'/><author><name>Usman Ahmed Abbasi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-8721783460430497173</id><published>2008-04-03T03:26:00.000-07:00</published><updated>2008-04-03T22:52:58.077-07:00</updated><title type='text'>Joomla</title><content type='html'>&lt;p style="margin-bottom: 0in;" align="left"&gt;Joomla is Content Management System to develop websites and on line Web Applications. Joomla become most popular platform to develop websites. It makes simple to create add-ons and extensions. It makes adding or editing content, updating graphics and multimedia, and managing complex data.  &lt;/p&gt;  &lt;p style="margin-bottom: 0in;" align="left"&gt;Joomla has the following features:&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;- Edit the content of web pages with a word processor-style interface.&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;- Add new pages to your site using a click-and-add interface.&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;- Add images/media through web-uploads.&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;- Control site elements.&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" align="left"&gt;It also support specific functionality, for example, end user registration, advertising banners, a contacts directory and interactive polls.&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;" align="left"&gt;Joomla stores all the content and information related to your site in a database named MySQL. It uses PHP as a programming language.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-8721783460430497173?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/8721783460430497173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=8721783460430497173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8721783460430497173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8721783460430497173'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/04/joomla.html' title='Joomla'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-8729018462452079839</id><published>2008-04-01T08:00:00.000-07:00</published><updated>2008-04-01T03:59:39.195-07:00</updated><title type='text'>Google Maps API Basics</title><content type='html'>&lt;h2&gt;Introduction&lt;br /&gt;&lt;/h2&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;Google Maps API (Application Programming Interface) lets you embed Google maps in web pages. It uses Java Script for scripting. In order to use the Maps API you need a API key that can be obtained by signing up with Google for Maps API. After obtaining the API key you can develop map applications.&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt; &lt;/p&gt; &lt;h2&gt;Loading the Google Maps API&lt;/h2&gt;Google Maps API is loaded with the help of Java Script code in script tag. Basically you make the src attribute of script tag to point to &lt;code&gt;http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=abcdefg&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;This URL points to the location of the JavaScript file that includes all of the symbols and definitions you need for using the Google Maps API. Your page must contain a &lt;code&gt;script&lt;/code&gt; tag pointing to this URL, using the key you received when you signed up for the API. In this example the key is shown as "&lt;code&gt;abcdefg&lt;/code&gt;."&lt;br /&gt;&lt;h2&gt;Localization of Google Maps API&lt;/h2&gt; &lt;p style="margin-bottom: 0in;"&gt;Maps API also introduces the concept of Mapplets (a combination of maps and gadgets). Mapplets allow you to embed external applications into Google Maps. It also includes support for localization. It uses English by default but one can change &lt;code&gt;&lt;span style="font-family:Times New Roman,serif;"&gt;hl&lt;/span&gt;&lt;/code&gt; attribute in script tag of Java Script to change this default behavior to support the language of your choice.&lt;/p&gt;  &lt;p&gt;For example, to display a Maps API application in German, add &lt;code&gt;&amp;amp;hl=de&lt;/code&gt; to the &lt;code&gt;&lt;script&gt;&lt;/script&gt;&lt;/code&gt; tag as shown below:&lt;/p&gt;   &lt;pre class="prettyprint"&gt;&lt;span class="pun"&gt;&lt;&lt;/span&gt;&lt;span class="pln"&gt;script type&lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="str"&gt;"text/javascript"&lt;/span&gt;&lt;span class="pln"&gt; src&lt;/span&gt;&lt;span class="pun"&gt;=&lt;/span&gt;&lt;span class="str"&gt;"http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=abcdefg&amp;amp;hl=de"&lt;/span&gt;&lt;/pre&gt;  &lt;p style="margin-bottom: 0in;"&gt;  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-8729018462452079839?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/8729018462452079839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=8729018462452079839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8729018462452079839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/8729018462452079839'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/04/google-maps-api-basics.html' title='Google Maps API Basics'/><author><name>Waqas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-4642368907605843449</id><published>2008-03-26T08:00:00.000-07:00</published><updated>2008-03-26T03:28:52.311-07:00</updated><title type='text'>Eclipse: Powerful Open Source IDE</title><content type='html'>&lt;div align="justify"&gt;&lt;strong&gt;E&lt;/strong&gt;clipse is an open source software project dedicated to providing a strong, full featured, and industry level platform for developing and supporting highly integrated software engineering tools. Excluding small Eclipse Runtime Kernel, all other components are “plug-in”, integrated through pre defined extension points. Eclipse platform defines set of frameworks and common services that collectively makes an integration-ware. Almost 1565 Eclipse plug-ins are available which can easily download and installed.&lt;br /&gt;&lt;br /&gt;Fundamentally, Eclipse is a framework for plug-ins. Besides its runtime kernel, the platform consists of the workbench, workspace, help, and team components. Other tools plug into this basic framework to create a usable application. Plug-ins add functionality through predefined extension points that the Eclipse platform offers. Plug-ins can also define new extension points for others to extend. This plug-in architecture provides a flexible, open, scalable, tool-integration solution. With the open Eclipse platform, you can customize a component or extend it to suit the needs of your development environment.&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;The Graphical Modeling Framework, a representative integration project built on Eclipse, consists of a plug-in set that bridges between the Graphical Editing Framework and the Eclipse Modeling Framework platforms. GMF extends and integrates GEF and EMF seamlessly so that application developers can fully utilize GEF’s visual-representation capability and EMF’s data-representation capability to build graphical modeling editors. The GMF plug-ins for diagram editing provide a set of services that you can use to extend graphical editors. GMF also leverages other Eclipse plug-ins, such as EMF Technology-Transaction, Validation, and Object Constraint Language, to enable model-level validation.&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;Eclipse is a cost-effective, productive development environment to support life-cycle software development through effective tool integration. The flexible plug-in architecture and resource management let organizations customize and extend Eclipse to meet their engineering processes, tool integration, and project management needs.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Useful References&lt;br /&gt;&lt;/strong&gt;For basic concepts about the Eclipse plug-in architecture, extensions, and examples, see the Eclipse Foundation site (www.eclipse.org), especially www. eclipse.org/articles/Article-Plug-inarchitecture/plugin_architecture.html. Good overviews of existing plug-ins, especially plug-ins in their early development stages, are available at &lt;a href="http://eclipse-plugins.info/eclipse/index.jsp"&gt;http://eclipse-plugins.info/eclipse/index.jsp&lt;/a&gt; and &lt;a href="http://www.eclipseplugincentral.com/"&gt;http://www.eclipseplugincentral.com/&lt;/a&gt;.&lt;/div&gt;&lt;div align="left"&gt;Eclipse-related publications are available at &lt;a href="http://www.eclipse.org/resources/index.php"&gt;www.eclipse.org/resources/index.php&lt;/a&gt;. &lt;/div&gt;&lt;div align="left"&gt;For detailed information about how to set up Tomcat and JBoss in Eclipse for J2EE development, see &lt;a href="http://www.purposesolutions.com/Resources/EclipseJ2EE.html"&gt;www.purposesolutions.com/Resources/EclipseJ2EE.html&lt;/a&gt;. The Eclipse Project Resource Center offers many tutorials, articles, magazines, plug-ins, cheat sheets, conference lists, and the latest books at www.deitel.com/Eclipse. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-4642368907605843449?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/4642368907605843449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=4642368907605843449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4642368907605843449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/4642368907605843449'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/03/eclipse-powerful-open-source-ide.html' title='Eclipse: Powerful Open Source IDE'/><author><name>Usman Ahmed Abbasi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6037094843115381682</id><published>2008-03-22T04:41:00.000-07:00</published><updated>2008-03-22T04:47:04.489-07:00</updated><title type='text'>SWT (Standard Widget Toolkit)</title><content type='html'>&lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;The &lt;b&gt;Standard Widget Toolkit&lt;/b&gt; (&lt;b&gt;SWT&lt;/b&gt;) is a graphical widget toolkit&lt;/span&gt;&lt;span style="font-size:85%;"&gt; for use with the Java platform&lt;/span&gt;&lt;span style="font-size:85%;"&gt;. It was originally developed by IBM&lt;/span&gt;&lt;span style="font-size:85%;"&gt; and is now maintained by the Eclipse Foundation&lt;/span&gt;&lt;span style="font-size:85%;"&gt; in tandem with the Eclipse IDE&lt;/span&gt;&lt;span style="font-size:85%;"&gt;. It is an alternative to the AWT&lt;/span&gt;&lt;span style="font-size:85%;"&gt; and Swing&lt;/span&gt;&lt;span style="font-size:85%;"&gt; Java GUI&lt;/span&gt;&lt;span style="font-size:85%;"&gt; toolkits provided by Sun Microsystems&lt;/span&gt;&lt;span style="font-size:85%;"&gt; as part of the Java Platform, Standard Edition&lt;/span&gt;&lt;span style="font-size:85%;"&gt;. &lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;SWT is a graphics library and a widget toolkit integrated with the native window system especially with Windows but Linux and Solaris are supported as well. SWT is an OS-independent API. SWT can be seen as a thin wrapper over the native code GUI of the host operating system.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;SWT is written in Java&lt;/span&gt;&lt;span style="font-size:85%;"&gt;. The design strategy of SWT was focused on building a simple, essential library that would produce GUI applications closely coupled to the native environment.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;SWT has been designed to be as inexpensive as possible. This means that it is native-oriented. Anyway, it differs from AWT in a number of details. SWT provides different Java implementations for each platform, and each of these implementations calls natively (through the Java Native Interface, JNI) the underlying native implementation. The old AWT is different in that all platform-dependent details are hidden in C (native) code and the Java implementation is the same for all the platforms.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h4&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;"&gt;&lt;span style="font-size:85%;"&gt;Resources:&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;An important difference from normal Java programming is the way OS-dependent objects are managed in SWT. Swing emulates a large part of such objects (such as widgets, for instance) in Java, leaving the disposal job to the JRE garbage collector. This saves a lot of complexity for the programmer but this lack of control can lead to some unexpected issues, especially with cross-platform development.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;SWT designers chose a different approach, obliging the developer to explicitly dispose of OS-dependent objects in the application code. SWT has been designed with efficiency in mind, so handling explicitly OS resources becomes an occasion to promote efficient programming and not just a necessity. Resource disposal is needed to free the OS resources used by the SWT application. Such OS resources need to be explicitly de-allocated by invoking the dispose method.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;In practice, disposing of objects is a delicate business and it can lead to unpredictable results whenever another object tries to access an already disposed item.&lt;/span&gt;&lt;/p&gt; &lt;h4&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;"&gt;&lt;span style="font-size:85%;"&gt;The Basic Structure of an SWT Program&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;As already said, an SWT program relies upon the native platform resources (wrapped by the Display class, as we will see later on) both in terms of allocated resources (such as colors, images, and so on) and as regards the event mechanism. As regards event handling, in SWT there is only one thread that is allowed to handle native user interface events.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;We now see the basic structure of an SWT program.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;There are two basic classes used in any SWT application, the Display and Shell classes. Instances of the Display class are responsible for managing the connections between SWT and the underlying operating system, enforcing the SWT models (for colors or images, for example). The Shell class instead represents windows managed by the platform-dependent desktop manager.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Typically, an SWT program will first create a local resources manager (an instance of the Display class) and attach all the needed widgets to one or more Shell objects. &lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;A snippet of code showing the use of the Display and Shell classes.&lt;/span&gt;&lt;/p&gt; &lt;pre style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;00:     Display display = new Display();&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;01:     Shell shell = new Shell(display);&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;02:     //GUI code here&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;03:     shell.open();&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;04:     while (!shell.isDisposed()) {&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;05:       if (!display.readAndDispatch())&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;06:         display.sleep();&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;07:     }&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;08:     display.dispose();&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;09:   }&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;10: }&lt;/span&gt;&lt;/pre&gt;&lt;h4&gt; &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;"&gt;Basic Controls&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt; &lt;p style="font-family: arial;"&gt;&lt;span style="font-size:85%;"&gt;Some of the basic components are the following:&lt;/span&gt;&lt;/p&gt; &lt;ul style="font-family: arial;"&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Button.&lt;/span&gt;&lt;/span&gt;  This component is the well-known button component used in toolbars,  forms, and so forth. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;ComboBox.&lt;/span&gt;  This widget is the well-known combo box component. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Label.&lt;/span&gt;  This component represents a (non-selectable) object that displays a  string or an image. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;List.&lt;/span&gt;  This widget represents a basic list component. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;ProgressBar.&lt;/span&gt;  It shows a progress indicator. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Sash.  &lt;/span&gt;It is the Swing equivalent of a JSplitPane. It is a widget that can  be dragged to resize two areas in a GUI. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Scale.&lt;/span&gt;  This component implements an editable GUI item representing a range  of continuous numeric values. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Slider.&lt;/span&gt;  This component represents an editable object that stands for a range  of discrete, numeric values. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Table.&lt;/span&gt;  This component represents a basic table. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Text.&lt;/span&gt;  This component represents a basic text area. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Tree.&lt;/span&gt;  This component represents a basic tree widget. &lt;/span&gt;  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;StyledText.  This component represents a text area with styled fonts and other  advanced attributes. &lt;/span&gt;  &lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6037094843115381682?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6037094843115381682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6037094843115381682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6037094843115381682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6037094843115381682'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/03/swt-standard-widget-toolkit.html' title='SWT (Standard Widget Toolkit)'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3798192219205220552</id><published>2008-03-13T08:01:00.000-07:00</published><updated>2008-03-13T06:46:53.740-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='redhat'/><category scheme='http://www.blogger.com/atom/ns#' term='GNOME'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Fedora VS Ubuntu</title><content type='html'>&lt;div align="justify"&gt;Fedora and Ubuntu, both are popular among people who like Linux Environment. The question arises in one’s mind is, what’s the difference between two?&lt;br /&gt;In many ways Fedora and Ubuntu family are similar, both tend to focus on Gnome and give you a great deal of bleeding edge software. Ubuntu was found by Mark Shuttleworth and sponsored by Canonical Ltd. It is currently one of the most popular GNU/Linux flavors. Fedora is a general purpose system; it does not concentrate on one specific market. It is suitable both for home users, programmers and the corporate server. In each case it requires some customization however, Fedora Core stability is comparable to similar distros like Ubuntu or openSUSE. There are many efforts to make the software testing within Fedora Core even better by implementing an automated test system. Ubuntu is based on Debian, which is one of the most stable and mature distributions available. Still, Ubuntu comes with fresh software and instabilities may occur. Kubuntu on the other hand is considered a bit worse in terms of stability since recent versions of KDE usually break more often that fresh GNOME.&lt;br /&gt;Ubuntu's stated purpose is to replace Windows but their first bug is that Windows is more popular. As such, they strive to make it as user-friendly as possible, and you will often, but not always, find that things work with less effort on Ubuntu. Ubuntu and the rest of its family use a live installation disk which more attractive for new users. Fedora, regardless of the latest official line, is more or less a testing ground for RedHat, they often put in new things, and might not test them as thoroughly as they would be tested.&lt;br /&gt;Ubuntu uses sudo for everything, they discourage even giving root a password. Fedora makes sudo a bit more difficult to use for the non-root user since even with sudo. Ubuntu uses the apt system for package management; you will find it faster than yum. To the end user, in many ways, it's simply a matter of getting used to the syntax of one or the other.&lt;br /&gt;As someone who prefers BSD and the far more minimalist ArchLinux, both distros strike as having too much installed as default as well as too much reliance on GUI tools, but this is just my taste. Might be one reason that many professionals use Fedora, because it's what they use at work, so using it at home makes you more comfortable with it, and better able to act reflexively if there are problems.&lt;br /&gt;For a beginner, it would be more appropriate to recommend Ubuntu. Not because Fedora is bad, but Ubuntu is aimed more at the beginner. That’s the reason the Fedora forums seem more mature, many Fedora people are people who've been using Linux for years and started with RedHat.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3798192219205220552?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3798192219205220552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3798192219205220552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3798192219205220552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3798192219205220552'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/03/fedora-vs-ubuntu.html' title='Fedora VS Ubuntu'/><author><name>Usman Ahmed Abbasi</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-5582677715627480851</id><published>2008-03-13T08:00:00.000-07:00</published><updated>2008-03-13T04:10:57.376-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='mobile'/><category scheme='http://www.blogger.com/atom/ns#' term='OHA'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>Android (Mobile Phones Platform)</title><content type='html'>&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style=""&gt;Android is a software development platform for mobile phones based on the Linux operating &lt;/span&gt;system.  It is developed by Google and the Open Handset Alliance.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;Android is a software "stack" for mobile phones that's based on open-source software. Android is called a "stack" because its software extends from the lowest levels controlling the phone's hardware to the highest levels of user interaction. At the bottom is a stripped-down version of the Linux kernel. On top of the kernel is the open-source WebKit Web browser and several other open-source programs.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;We can't run Android on a phone that we might have today. Instead, manufacturers like HTC, LG, Samsung, and Motorola (all OHA members) will need to adapt it to future handsets. If the consortium has its way, these phones will be available in stores in the second half of 2008. You'll also be able to buy an Android-based phone over the Internet and drop in a chip from the cell phone that's in your pocket today, assuming you have a cell phone from T-Mobile, AT&amp;amp;T, or another provider that uses the GSM transmission standard.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;On 12 November 2007 the OHA released a preview of the Android software development kit which includes development and debugging tools, a set of libraries, a device emulator, documentation, sample projects and tutorials. Developers are required to download the Android SDK to an x86-based computer running Windows XP or Vista, Mac OS X 10.4.8 or later, or Linux.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;Java Development Kit, Apache Ant, and Python 2.2 or later are also required. Eclipse 3.2 or later is the only officially supported IDE through Android Development Tools Plugin but the programmer is free to use command line tools to create, build and debug Android applications.&lt;/span&gt;&lt;/p&gt; &lt;p style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;Android has the following Features:&lt;/span&gt;&lt;/p&gt; &lt;dl&gt;&lt;dd style="margin-left: 0in;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Handset  layouts :&lt;/span&gt; The platform is adaptable to both larger, &lt;/span&gt;VGA&lt;span style="text-decoration: none;"&gt;,  &lt;/span&gt;2D graphics&lt;span style="text-decoration: none;"&gt; library, &lt;/span&gt;3D  graphics&lt;span style="text-decoration: none;"&gt; library based on &lt;/span&gt;OpenGL  ES&lt;span style="text-decoration: none;"&gt; 1.0 specifications,  traditional smartphone layouts. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dt style="text-decoration: none;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dt&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Storage :&lt;/span&gt;  &lt;/span&gt;SQLite&lt;span style="text-decoration: none;"&gt; for structured  data storage &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dd style="margin-left: 0in; text-decoration: none;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Connectivity  :&lt;/span&gt; Android supports a wide variety of connectivity technologies  including &lt;/span&gt;GSM&lt;span style="text-decoration: none;"&gt;, &lt;/span&gt;Bluetooth&lt;span style="text-decoration: none;"&gt;,  &lt;/span&gt;EDGE&lt;span style="text-decoration: none;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;3G&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;,  and &lt;/span&gt;Wi-Fi&lt;span style="text-decoration: none;"&gt;. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Messaging  : &lt;/span&gt;Both &lt;/span&gt;SMS&lt;span style="text-decoration: none;"&gt; and &lt;/span&gt;MMS&lt;span style="text-decoration: none;"&gt;  are available. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dd style="margin-left: 0in; text-decoration: none;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Web  browser :&lt;/span&gt; The web browser available in Android is based on the  open-source &lt;/span&gt;WebKit&lt;span style="text-decoration: none;"&gt;  &lt;/span&gt;application framework&lt;span style="text-decoration: none;"&gt;. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dt style="text-decoration: none;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dt&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Java  virtual machine : &lt;/span&gt;Software written in Java can be compiled into  Dalvik bytecodes and executed in the &lt;/span&gt;Dalvik virtual machine&lt;span style="text-decoration: none;"&gt;,  which is a specialized VM implementation designed for mobile device  use, although not technically a standard Java Virtual Machine. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dt style="text-decoration: none;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dt&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Media  support :&lt;/span&gt; Android will support advanced audio/video/still media  formats such as &lt;/span&gt;MPEG-4&lt;span style="text-decoration: none;"&gt;,  &lt;/span&gt;H.264&lt;span style="text-decoration: none;"&gt;, &lt;/span&gt;MP3&lt;span style="text-decoration: none;"&gt;,  and &lt;/span&gt;AAC&lt;span style="text-decoration: none;"&gt;, &lt;/span&gt;AMR&lt;span style="text-decoration: none;"&gt;,  &lt;/span&gt;JPEG&lt;span style="text-decoration: none;"&gt;, &lt;/span&gt;PNG&lt;span style="text-decoration: none;"&gt;,  &lt;/span&gt;GIF&lt;span style="text-decoration: none;"&gt;. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dt style="text-decoration: none;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dt&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Additional  hardware support : &lt;/span&gt;Android is fully capable of utilizing video/still  cameras, &lt;/span&gt;touchscreens&lt;span style="text-decoration: none;"&gt;,  &lt;/span&gt;GPS&lt;span style="text-decoration: none;"&gt;, compasses,  &lt;/span&gt;accelerometers&lt;span style="text-decoration: none;"&gt;, and  accelerated 3D graphics. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;dt style="text-decoration: none; font-weight: bold;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;  &lt;/dt&gt;&lt;dd style="margin-left: 0in;"&gt;  &lt;span style="color: rgb(0, 0, 0);font-size:100%;" &gt;&lt;span style="text-decoration: none;"&gt;&lt;span style="font-weight: bold;"&gt;Development  environment : &lt;/span&gt;Includes a device emulator, tools for &lt;/span&gt;debugging&lt;span style="text-decoration: none;"&gt;,  memory and &lt;/span&gt;performance profiling&lt;span style="text-decoration: none;"&gt;,  a &lt;/span&gt;plugin&lt;span style="text-decoration: none;"&gt; for the &lt;/span&gt;Eclipse  IDE&lt;span style="text-decoration: none;"&gt;. &lt;/span&gt;&lt;/span&gt;  &lt;/dd&gt;&lt;/dl&gt; &lt;p style="margin-bottom: 0in; text-decoration: none;"&gt; &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-5582677715627480851?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/5582677715627480851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=5582677715627480851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5582677715627480851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/5582677715627480851'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/03/android-mobile-phones-platform.html' title='Android (Mobile Phones Platform)'/><author><name>Naveed ur Rehman</name><uri>http://www.blogger.com/profile/02904584094622995031</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-1783296653121335194</id><published>2008-03-11T08:01:00.000-07:00</published><updated>2008-03-10T23:22:58.993-07:00</updated><title type='text'>We are back!</title><content type='html'>I am blogging again after a while. It has been a very busy few months as we have been building our Engineering team.&lt;br /&gt;&lt;br /&gt;This blog should be more active now as I have also recruited members of my team to start contributing here.&lt;br /&gt;&lt;br /&gt;From next week, I will resume my review of open source technologies. I wanted to take this post to introduce our new contributors: Naveed, Umair, Usman and Waqas. You can view their profiles on the right.&lt;br /&gt;&lt;br /&gt;I would also like to let you know about the two other blogs that people from TMM are contributing to: &lt;a href="http://smallmarketing.blogspot.com/"&gt;Small Business Marketing&lt;/a&gt;, &lt;a href="http://seafreights.blogspot.com/"&gt;Sea Frieghts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-1783296653121335194?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/1783296653121335194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=1783296653121335194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1783296653121335194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/1783296653121335194'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/03/we-are-back.html' title='We are back!'/><author><name>Khurram Ali</name><uri>http://www.blogger.com/profile/16678936262901347238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-2240316487900470732</id><published>2008-03-11T08:00:00.000-07:00</published><updated>2008-03-11T03:15:41.214-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='wireless routers'/><category scheme='http://www.blogger.com/atom/ns#' term='kamikaze'/><category scheme='http://www.blogger.com/atom/ns#' term='openwrt'/><category scheme='http://www.blogger.com/atom/ns#' term='whiterussian'/><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:130%;"&gt;OpenWrt for Wireless Access Points&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;OpenWrt as the name suggests is open source i.e. the source code is available for free, it has no subscription fee and  there are no commercial versions with extra features. It is a GPL (GNU General Public License) Linux distribution for wireless routers. OpenWrt is designed to be customizable and modular so that new features can be added as modules in the forms of packages.   Instead of trying to cram every possible feature into one firmware,  OpenWrt provides only a minimal firmware with support for add-on packages.  For users this means the ability to custom tune features, removing unwanted packages  to make room for other packages and for developers this means being able to focus on  packages without having to test and release an entire firmware. OpenWrt primarily uses a &lt;a href="http://en.wikipedia.org/wiki/Command_line_interface" title="Command line interface"&gt;&lt;/a&gt;command-line interface, but also features an optional web-based GUI interface. Technical support is provided through the forums and IRC channel.&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-weight: bold;"&gt;Variants&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;There are two versions of OpenWrt&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;whiterussian&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;kamikaze&lt;/p&gt;  &lt;p style="margin-bottom: 0in;"&gt;   &lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p style="margin-bottom: 0in;"&gt;whiterussian is the older, more properly documented and the more stable of the two but its development ha stopped since February 2007. Whereas kamikaze is the newer version with a different design that supports a wide range of devices. Currently it supports devices from more than 75 manufacturers that include MikroTik's RouterBoards, LinkSys, D-Link, 3COM, Asus, Dell, Microsoft, Motorola, Netgear, Philips, Siemens, Toshiba and the list goes on. It has a new kernel and is stable but work is in progress.&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-weight: bold;"&gt;Features&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;The biggest change is probably the addition of webif, the Web-based Admin Console that lets you install and remove packages with a click or two. There are more applications available for OpenWrt almost every day. in addition to webif, OpenWrt has a fully writable &lt;a href="http://en.wikipedia.org/wiki/JFFS2" title="JFFS2"&gt;&lt;/a&gt;JFFS2 file system, which allows for package management via the ipkg&lt;a href="http://en.wikipedia.org/wiki/Ipkg" title="Ipkg"&gt;&lt;/a&gt; package system. This makes OpenWrt very versatile and adaptable to any particular situation. You can add new packages. Supports all networking and security stuff like VPN, firewall, DHCP, VLANs, WPA encryption, iptables etc.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-weight: bold;"&gt;Conclusion&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;With OpenWrt, friendly and helpful volunteers have created a powerful and fun Linux system that replaces the default Linksys firmware. You can use OpenWrt to implement everything from programmable VLANs to intrusion detection on a compact, fan-less box. With OpenWrt, you will be amazed at what free software is up to these days.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-2240316487900470732?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/2240316487900470732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=2240316487900470732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2240316487900470732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/2240316487900470732'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2008/03/openwrt-for-wireless-access-points.html' title=''/><author><name>Waqas</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-6918303017154169521</id><published>2007-08-19T20:50:00.000-07:00</published><updated>2007-08-21T06:20:58.808-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft Office'/><category scheme='http://www.blogger.com/atom/ns#' term='small medium enterprises'/><category scheme='http://www.blogger.com/atom/ns#' term='home office'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenOffice'/><category scheme='http://www.blogger.com/atom/ns#' term='small business'/><title type='text'>OpenOffice for the home office</title><content type='html'>I will start my series of reviews of Open Source software by looking at &lt;a href="http://www.openoffice.org/"&gt;OpenOffice&lt;/a&gt;. The name suggests it all: OpenOffice is the open source competition to expensive but powerful Microsoft Office. It is freely down loadable and is distributed under the &lt;a href="http://www.openoffice.org/licenses/lgpl_license.html"&gt;LGPL&lt;/a&gt; (GNU Lesser General Public License).&lt;br /&gt;&lt;br /&gt;The biggest hurdle to switching from Microsoft Office to another software is that the majority, if not all, customers and partners of any business will continue to use Microsoft technologies. Any alternative, must therefore, be compatible enough with Microsoft so that exchange of documents is not hindered in anyways. OpenOffice fares fairly well in this regard and supports all popular Microsoft document formats.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Components&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OpenOffice comes with the following components:&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Writer&lt;/span&gt;: word processor and desktop publisher.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Impress&lt;/span&gt;: multimedia presentations&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Math&lt;/span&gt;: mathematical equations editor that can be inserted in to other OpenOffice components.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Draw&lt;/span&gt;: create graphics and diagrams.&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Calc&lt;/span&gt;: spreadsheet program&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Base&lt;/span&gt;: simple database program&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the simplest form, installation requires downloading the installer and executing it. If support for OpenOffice Base is required, Java will need to be installed. The OpenOffice installer provides an option for Java installation.&lt;br /&gt;&lt;br /&gt;OpenOffice has its own OpenDocument format for saving documents. At the same time it supports the Microsoft document format. As part of the installation, we usually configure OpenOffice to save in the Microsoft document formats.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_y8N5NxsQeGc/RsrksbsOwTI/AAAAAAAAABM/QkXvARFd1cQ/s1600-h/configure_screen.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_y8N5NxsQeGc/RsrksbsOwTI/AAAAAAAAABM/QkXvARFd1cQ/s320/configure_screen.JPG" alt="" id="BLOGGER_PHOTO_ID_5101140979949158706" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is done by starting an OpenOffice component like Writer or Calc. From the menu, choosing Tools | Options. Expanding the Load/Save tab on the left, then selecting the General sub option. Text document, Spreadsheet and  Presentation can be changes to always save in the Microsoft 97/2000/XP format.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenOffice Writer&lt;/span&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_y8N5NxsQeGc/RsrkCbsOwRI/AAAAAAAAAA8/p5w61LlSpD8/s1600-h/writer_screen.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_y8N5NxsQeGc/RsrkCbsOwRI/AAAAAAAAAA8/p5w61LlSpD8/s320/writer_screen.JPG" alt="" id="BLOGGER_PHOTO_ID_5101140258394652946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The interface for Writer has a familiar look, and any one comfortable with Microsoft Word should be able to easily catch on to it.&lt;br /&gt;&lt;br /&gt;I have been able to open all Microsoft Word documents that I came across, although at times the layout on OpenOffice Writer would be slightly different to that on Word. After editing the document and saving back as a Word document, a warning is displayed that some formatting may be lost if not saved in the OpenDocument format. I have not seen any loss of formatting though.&lt;br /&gt;&lt;br /&gt;One of the features that I find very useful in OpenOffice is the ability to directly save in to a PDF format. This is a good way to deliver documents that will not be edited by the receiver. It is also a good way to ensure that formatting remains consistent wherever the document is viewed or printed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenOffice Calc&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_y8N5NxsQeGc/RsrfFbsOwPI/AAAAAAAAAAs/0y6QyccAKM0/s1600-h/calc_screen.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_y8N5NxsQeGc/RsrfFbsOwPI/AAAAAAAAAAs/0y6QyccAKM0/s320/calc_screen.JPG" alt="" id="BLOGGER_PHOTO_ID_5101134812376121586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Provides a very similar interface to Microsoft Excel, making it very easy to learn and start using immediately. Has equally good support for creating graphs and complex calculations. I have not come across a Microsoft Excel worksheet that breaks in Calc, however, there are bound to be some functions which will mismatch from Excel to Calc. The majority of the users, who use just the basic functions should not see this.&lt;br /&gt;&lt;br /&gt;The worksheets can also be converted to PDF format.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenOffice Impress&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_y8N5NxsQeGc/Rsrh5bsOwQI/AAAAAAAAAA0/SgoMd27ayug/s1600-h/impress_screen.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_y8N5NxsQeGc/Rsrh5bsOwQI/AAAAAAAAAA0/SgoMd27ayug/s320/impress_screen.JPG" alt="" id="BLOGGER_PHOTO_ID_5101137904752574722" border="0" /&gt;&lt;/a&gt;&lt;span&gt;&lt;br /&gt;Slightly different interface to Microsoft Power Point but intuitive enough to quickly come up to speed. Can open Power Point documents but the layout can become distorted. Likewise, presentations created in Impress may become distorted in Power Point. Therefore, if the presentation is to be delivered, it is best to use the same software that was used to create it.&lt;br /&gt;&lt;br /&gt;Presentations can also be exported to PDF, which can be useful for archiving purposes.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-6918303017154169521?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/6918303017154169521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=6918303017154169521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6918303017154169521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/6918303017154169521'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2007/08/openoffice-for-home-office.html' title='OpenOffice for the home office'/><author><name>Khurram Ali</name><uri>http://www.blogger.com/profile/16678936262901347238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_y8N5NxsQeGc/RsrksbsOwTI/AAAAAAAAABM/QkXvARFd1cQ/s72-c/configure_screen.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6381991185474129325.post-3800684847707095905</id><published>2007-08-04T04:48:00.000-07:00</published><updated>2007-08-04T17:04:22.603-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SME'/><category scheme='http://www.blogger.com/atom/ns#' term='small medium enterprises'/><category scheme='http://www.blogger.com/atom/ns#' term='home office'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><category scheme='http://www.blogger.com/atom/ns#' term='IT'/><category scheme='http://www.blogger.com/atom/ns#' term='small business'/><title type='text'>How Free Software can help your home office</title><content type='html'>With the use of technology, your home office can work like a Fortune 500 corporation. Here I just list a few things that I found were very useful for our customers (who are typically home office / small businesses like yourself):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Web Portal&lt;/span&gt;&lt;br /&gt;Opportunities are endless. Some of these although obvious, still a lot of the small business do not really make good use of.&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;Create a corporate image. The good news is that home office and small businesses can also have good online images like the big guns in the industry.&lt;/li&gt;   &lt;li&gt;Market products and services.&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;Sell products / services and receive payments online, 24 hours a day every day.&lt;/li&gt;   &lt;li&gt;Provide valuable information and news about the company, industry etc. Easily update this information through the use of Content Management Systems (CMS).&lt;/li&gt;   &lt;li&gt;Provide 24 hour customer support, including instant automated queries on order status.&lt;/li&gt;   &lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Customer Relationshisp Management (CRM)&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;Maintain customer information.&lt;/li&gt;   &lt;li&gt;Create marketing plans along with their budgets.&lt;/li&gt;   &lt;li&gt;Create campaigns targetted to different categories of customers.&lt;/li&gt;   &lt;li&gt;Manage leads, quotation, pre-sales, sales and post sales.&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;Customized offerings to customers based on their profile and history&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-weight: bold;"&gt;Enterprise Resource Planning (ERP)&lt;br /&gt;&lt;/span&gt; &lt;ul&gt;   &lt;li&gt;Production / Services management depending on whether you are a products or a services company or both.&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;Project management including scheduling, budgeting related expenses etc.&lt;br /&gt;&lt;/li&gt;   &lt;li&gt;Financial management including chart of accounts, accounts, taxes, general accounting, accounts payable, accounts receivable, bank statements, balance sheets, fixed assets etc.&lt;em&gt;&lt;/em&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;Online Collaboration Tools&lt;br /&gt;&lt;/span&gt;&lt;/span&gt; &lt;ul&gt; &lt;li&gt;Online calendars to publish events, seminars and schedule appointments with customers, partners, suppliers etc.&lt;/li&gt;&lt;li&gt;Wiki as a way to share marketing plans, research, meeting minutes or any other document that may need to be shared or worked in collaboration with customer and partners.&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;span style="font-weight: bold;"&gt;Free Software to the rescue&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.gnu.org/philosophy/free-sw.html"&gt;Free Software's&lt;/a&gt; open architecture allows anyone to freely modify it to their specific needs. This vastly improves the ability for small organizations with limited resources to implement solutions customized to their business. The cost will vary according to the requirements of the organization. From a one time consulting fee for installation and customization to a monthly fee for continous development. For instance, for only $1500 a month &lt;span style="font-size:130%;"&gt;&lt;a style="font-weight: bold;" href="http://www.tmm-ltd.com/software/hs_office.php"&gt;TMM Software Systems&lt;/a&gt; &lt;/span&gt;develops, maintains, upgrades and hosts the software and web applications needed to run your business.&lt;br /&gt;&lt;br /&gt;In the next few posts, I will review in greater details the actual software and the magic it can do for your business.&lt;br /&gt;&lt;br /&gt;I have already seen small business, with very little investment, develop very successful job boards, real estate portals etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6381991185474129325-3800684847707095905?l=riksof.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://riksof.blogspot.com/feeds/3800684847707095905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6381991185474129325&amp;postID=3800684847707095905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3800684847707095905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6381991185474129325/posts/default/3800684847707095905'/><link rel='alternate' type='text/html' href='http://riksof.blogspot.com/2007/08/how-free-software-can-help-your-home.html' title='How Free Software can help your home office'/><author><name>Khurram Ali</name><uri>http://www.blogger.com/profile/16678936262901347238</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
