<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='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' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8183853169474628993</atom:id><lastBuildDate>Mon, 21 May 2012 06:05:56 +0000</lastBuildDate><category>Personal</category><category>Wordpress</category><category>FBML - FBJS - iFRAME</category><category>MySQL</category><category>Run</category><category>CSS</category><category>C/C++</category><category>Library</category><category>Bangla</category><category>XML</category><category>How to [Tips]</category><category>FBML</category><category>JS</category><category>Ajax</category><category>PHP</category><category>JQuery</category><category>Featured</category><category>Unicode</category><category>Joomla</category><category>Framework</category><category>CMS</category><category>Mac</category><category>HTML</category><category>Ubuntu</category><category>Terminal</category><category>Action Script</category><category>My RUET life</category><category>Outsourcing</category><category>Facebook</category><category>News</category><category>Web App</category><category>Compile</category><title>A Player on the Field of CSE</title><description>Web application developer who likes the LAMP environment with Zend, Kohana, Drupal, Wordpress and finds fun in Mobile application development with Titanium, Phonegap :)</description><link>http://www.nuhil.net/</link><managingEditor>noreply@blogger.com (Nuhil Mehdy)</managingEditor><generator>Blogger</generator><openSearch:totalResults>45</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-2543032587282255716</guid><pubDate>Wed, 14 Mar 2012 11:32:00 +0000</pubDate><atom:updated>2012-03-14T17:32:41.616+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Mac</category><category domain='http://www.blogger.com/atom/ns#'>Terminal</category><title>How to show/hide hidden files-folders in Mac (Lion)</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Yes, its those who are facing problems while trying to finding out a hidden files or folders in your Mac filesystem using Mac finder :)&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=Am4j1QPY"&gt;&lt;/script&gt;&lt;br /&gt;Execute these two commands in your Mac Terminal and again open the Finder. You should see them :) &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-2543032587282255716?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2012/03/how-to-showhide-hidden-files-folders-in.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-5899091229213586011</guid><pubDate>Fri, 30 Dec 2011 21:03:00 +0000</pubDate><atom:updated>2011-12-31T03:11:28.059+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Web App</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Ubuntu</category><title>How to setup LAMP server in Ubuntu by only one command</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here is a shortcut and easiest way of setting up LAMP server in Ubuntu.&lt;br /&gt;Well, there is obviously option of installing packages&amp;nbsp;separately for making ready a LAMP server&amp;nbsp;in Ubuntu.&lt;br /&gt;Open &amp;nbsp;terminal or Connect to remote server via it and then execute the following commad.&lt;br /&gt;Only command:&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=KyJ3NXHP"&gt;&lt;/script&gt;&lt;br /&gt;Then the following window should pop-up in the terminal.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-iLyYL5Unatc/Tv4mVrbgxWI/AAAAAAAAAB8/qHnvK60bBZM/s1600/Screen+Shot+2011-12-31+at+2.58.18+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://3.bp.blogspot.com/-iLyYL5Unatc/Tv4mVrbgxWI/AAAAAAAAAB8/qHnvK60bBZM/s400/Screen+Shot+2011-12-31+at+2.58.18+AM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;Select ([.] LAMP server) by pressing arrow key and do (OK) by pressing Tab key of keyboard. On the next screent, type your desired password for MySQL and Done!!!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-5899091229213586011?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/12/how-to-setup-lamp-server-in-ubuntu-by.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-iLyYL5Unatc/Tv4mVrbgxWI/AAAAAAAAAB8/qHnvK60bBZM/s72-c/Screen+Shot+2011-12-31+at+2.58.18+AM.png' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-7220415487554856177</guid><pubDate>Sun, 27 Nov 2011 12:05:00 +0000</pubDate><atom:updated>2011-12-28T18:22:34.350+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Ubuntu</category><title>How to restore Gnome panel, Ubuntu 10.x later</title><description>Ubuntu gnome panels are nice enough to arrange shortcuts, menus, items on it. Even new panel can be added on gnome desktop's left, right or bottom side. But some times a panel can be customized or assembled roughly. Then you would like to reset all as its default sate. For that, open Terminal and run these following commands:&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=uingAJ7d"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;It should be restored on its default settings!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-7220415487554856177?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/11/how-to-restore-gnome-panel-ubuntu-10x.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-1239387746225066843</guid><pubDate>Thu, 24 Nov 2011 21:15:00 +0000</pubDate><atom:updated>2011-12-28T18:28:37.443+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Web App</category><category domain='http://www.blogger.com/atom/ns#'>Mac</category><title>How to install memcache on MAMP 1.9</title><description>I assume you have &lt;a class="zem_slink" title="Apple Developer Tools" href="http://developer.apple.com" rel="homepage"&gt;Apple developer tools&lt;/a&gt; (&lt;a class="zem_slink" title="Xcode" href="http://developer.apple.com/tools/xcode/" rel="homepage"&gt;Xcode&lt;/a&gt;) installed already because we need &lt;a class="zem_slink" title="GNU Compiler Collection" href="http://gcc.gnu.org" rel="homepage"&gt;GNU Compiler Collection (gcc)&lt;/a&gt; (that is integrated to Xcode installation) according to complete the following process. Also I assume you installed &lt;a class="zem_slink" title="MAMP" href="http://www.mamp.info/en/index.php" rel="homepage"&gt;MAMP&lt;/a&gt; 1.9.x with &lt;a class="zem_slink" title="PHP" href="http://www.php.net/" rel="homepage"&gt;PHP&lt;/a&gt; 5.3.x&lt;br /&gt;Lets follow these steps:&lt;br /&gt;&lt;br /&gt;Step 1: Need to &lt;a href="http://www.php.net/releases/" target="_blank"&gt;Download&lt;/a&gt; the PHP source of version same as of your MAMP's PHP and &lt;a class="zem_slink" title="Configure script" href="http://en.wikipedia.org/wiki/Configure_script" rel="wikipedia"&gt;configure&lt;/a&gt; it. For these, open the terminal and run the following commands:&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=kw7KJGGs"&gt;&lt;/script&gt;&lt;br /&gt;Step 2: Now need to &lt;a href="http://pecl.php.net/package/memcache/download/" target="_blank"&gt;Download&lt;/a&gt;the latest stable version of memcache and then configure it. I assume you are in the /Downloads/ directory now on terminal. Then run the following commands:&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=ssczmxwi"&gt;&lt;/script&gt;&lt;br /&gt;Step 3: Lets make and install memcache by running the following commands. I assume you are in the /memcache-2.2.6/ directory on terminal.&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=C2sdFAAk"&gt;&lt;/script&gt;&lt;br /&gt;Step 4: Add this new extension on php.ini file. That file can be found here /Applications/MAMP/conf/php5.3/php.ini&lt;br /&gt;Edit the file by adding the following line&lt;br /&gt;&lt;br /&gt;extension=memcache.so&lt;br /&gt;&lt;br /&gt;Step 5: Restart the &lt;a class="zem_slink" title="Apache HTTP Server" href="http://httpd.apache.org/" rel="homepage"&gt;Apache server&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Done!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-1239387746225066843?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/11/how-to-install-memcache-on-mamp-19.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-5118288668287393526</guid><pubDate>Mon, 21 Nov 2011 14:09:00 +0000</pubDate><atom:updated>2011-12-28T01:31:49.837+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Mac</category><title>How to install Citycell Zoom ZTE AC2726 modem on Mac OSX Lion 10.7.x</title><description>1. Download the application from here: &lt;a href="http://www.box.com/s/f3mayu4hppdyx2x8uufu" rel="nofollow nofollow" target="_blank"&gt;http://www.box.com/s/f3mayu4hppdyx2x8uufu&lt;/a&gt;&lt;br/&gt;2. Install it on your Mac&lt;br/&gt;3. Plugin your Zoom Modem.&lt;br/&gt;4. Ignore any auto installation if occurred. Just launch the installed app.&lt;br/&gt;5. Configure phone, user, pass to #777, waps, waps respectively under [settings] then press the [netconnect] button&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-5118288668287393526?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/11/how-to-install-citycell-zoom-zte-ac2726.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-1898643645783096127</guid><pubDate>Wed, 25 May 2011 12:35:00 +0000</pubDate><atom:updated>2011-12-28T20:14:54.703+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Web App</category><title>How to authenticate user using their Facebook, Twitter account</title><description>Now a days, getting users detail on your website or web application is a normal fact. But its so boring to users/visitors to fill up a registration form then choosing a userid and finally to generate or remember a new password just for accessing your site. They would obviously like/prefer a button to registered automatically to your site/app.&lt;br /&gt;Thats why twitter oAuth, facebook connect become more popular to both users/visitors and providers/owners. Here I will show you such an example module that can be used for this purpose.&lt;br /&gt;&lt;br /&gt;After a short work flow, we will get some thing like the following screenshot:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://nuhil.files.wordpress.com/2011/05/screenshot.png"&gt;&lt;img class="aligncenter size-full wp-image-677" title="Screenshot" src="http://nuhil.files.wordpress.com/2011/05/screenshot.png" alt="" width="604" height="368" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First lets go through the making of the mark up:&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here I used a free stylish jquery drop down login box from web. You can also get it &lt;a href="http://thefinishedbox.com/freebies/scripts/jquery-dropdown-login/" target="_blank"&gt;here&lt;/a&gt; . After customizing a little bit the index.php of this example become&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=6z0vYC2J"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Just few words about the php block above the html tags. Here we are checking if the session is exist or not. If yes then it redirects to home.php other wise it checks an array key 'login' from $_GET to login through facebook or twitter. Then depending on the value of another key 'openid_service' it redirects to either twitter login script or facebook login script. All key/value comes from the twitter/facebook button click.&lt;br /&gt;&lt;br /&gt;Suppose user clicked on the facebook button. Then browser redirects to the script from where we can get his basic facebook info. Say its, fbgin.php:&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=D1aRGsB0"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Here, we need some additional lib/functions about which we will talk later. After making a facebook object using APP ID and APP SECRET (defined in the config/fb.php), we can get a valid session. If we get a valid session that means user already logged in/allowed this app, other wise redirects to a URL to facebook where user will log in to facebook and will have to allow permission to this app including an additional info such as his email; and then then using ' -&amp;gt;getUser() ' method we get the user's facebook id. Now using the very popular Graph API of facebook ' -&amp;gt;api() ' , we get the user's basic info.&lt;br /&gt;Using those basic info we now check the database for the existence of this user on our own site or app. Those functionality exist on the (functions/functions.php)&lt;br /&gt;So, here is our config/fb.php&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=TDM5v55t"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;You will have to setup a new facebook app from &lt;a href="http://www.facebook.com/developers/createapp.php"&gt;here&lt;/a&gt; . No need to fillup all sections of its settings. Just use Site Url and base domain part. Also for (lib/facebook/facebook.php), download the latest PHP SDK.&lt;br /&gt;&lt;br /&gt;And this is the functions/functions.php&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=Tc6w8A6k"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;These statements are quite simple to those who are reading and testing this example :) Just this (config/db.php) can help you to follow this specific example.&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=uqYepyqm"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Table structure for this example:&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=Q5y9F1u1"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;After logging in successfully store user's ID (from our own app's/site's DB) to session and redirect him to home.php&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=GvyMVUL0"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://nuhil.files.wordpress.com/2011/05/home.png"&gt;&lt;img class="aligncenter size-full wp-image-683" title="home" src="http://nuhil.files.wordpress.com/2011/05/home.png" alt="" width="476" height="202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here for generating user's current thumb picture from his facebook, we used another graph API and get the image URL on $headerThumb variable. Another button here for logging out that calls the logout.php&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=M7H7zY2Y"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;Here we made a trick for logging out unseting the ' session[id] ' and also deleting the cookie of facebook. Other wise if user logout from facebook and then tries to login again on your site then it will not go to a login URL of facebook and will not generate a new session, rather  it may use the existing session and through an Exception showing an error of invalid or expired session. This is a problem of not using javascript SDK for logging out.&lt;br /&gt;&lt;br /&gt;To be continued ... for twitter part.&lt;br /&gt;&lt;br /&gt;You can download the full source code from &lt;a href="http://www.box.net/shared/1czlj8qbqn" target="_blank"&gt; here &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-1898643645783096127?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/05/how-to-authenticate-user-using-their.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-2217920539997745633</guid><pubDate>Thu, 24 Mar 2011 14:28:00 +0000</pubDate><atom:updated>2011-12-28T18:18:28.076+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Ajax</category><category domain='http://www.blogger.com/atom/ns#'>CSS</category><title>How to make a thumb up/down voting by ajax</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Here I will show a very simple technique to make a thumbs up/ thumbs down voting using ajax. It is something like youtube concept where a content such as post or comment will have votes after the summation of up vote and down vote. So, lets make it...&lt;br /&gt;&lt;a href="http://nuhil.files.wordpress.com/2011/03/screenshot.png"&gt;&lt;img alt="" border="1" class="alignnone size-full wp-image-608" height="91" src="http://nuhil.files.wordpress.com/2011/03/screenshot.png" title="Screenshot" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;Step 1: Here is our index.php file. The file has necessary info in it in commented lines.&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=2yrt5RhC"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Step 2: Here are scripts which will make a up vote and down vote.&lt;br /&gt;up.php&lt;br /&gt;[sourcecode language="php"]&lt;br /&gt;&amp;lt;?php&lt;br /&gt;// For example: This script will get the last updated vote (int) of a&lt;br /&gt;// post/comment according to its ID from the Database. After increamenting one&lt;br /&gt;// it will update the value to the table&lt;br /&gt;//&lt;br /&gt;// sleep() is used just for making a delay so that you can see the loading icon for this demo&lt;br /&gt;// Normally loading icon will appear while the script process the server task&lt;br /&gt;sleep(1);&lt;br /&gt;// After updating the vote suppose its now 5&lt;br /&gt;echo '5';&lt;br /&gt;[/sourcecode]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;down.php&lt;br /&gt;[sourcecode language="php"]&lt;br /&gt;&amp;lt;?php&lt;br /&gt;// For example: This script will get the last updated vote (int) of a&lt;br /&gt;// post/comment according to its ID from the Database. After dcreamenting one&lt;br /&gt;// it will update the value to the table&lt;br /&gt;//&lt;br /&gt;// sleep() is used just for making a delay so that you can see the loading icon for this demo&lt;br /&gt;// Normally loading icon will appear while the script process the server task&lt;br /&gt;sleep(1);&lt;br /&gt;// After updating the vote suppose its now 4&lt;br /&gt;echo '4';&lt;br /&gt;[/sourcecode]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the source code: &lt;a href="http://www.box.net/shared/pddglxmffs" target="_blank" title="Download"&gt;Download&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-2217920539997745633?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/03/how-to-make-thumb-updown-voting-by-ajax.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-7128740177739114861</guid><pubDate>Mon, 21 Mar 2011 16:31:00 +0000</pubDate><atom:updated>2011-12-28T20:21:07.690+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Facebook</category><title>How to remove scrollbars from facebook iframe app</title><description>Well, I will share some techniques collected from several resources that can be implemented to get rid of your unwanted scrollbars of your iframe facebook app. So, here is the first technique:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using the latest Facebook Javascript SDK&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=5pCRS0Hi"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using Latest Javascript Facebook SDK [Without using Body OnLoad]&lt;a name='more'&gt;&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=sKDi2XXR"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using the Old Facebook Javascript SDK &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;script src="http://pastebin.com/embed_js.php?i=R09fGVrx"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-7128740177739114861?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/03/how-to-remove-scrollbars-from-facebook.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-7964019276795915701</guid><pubDate>Thu, 03 Feb 2011 08:55:00 +0000</pubDate><atom:updated>2011-12-28T01:31:49.449+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Personal</category><title>প্রথম-অালোর রগরগে একতরফা খবর, ইসলামী অনুশাসনের বিকৃত প্রচারনা এবং ভোগবাধী
সমাজের নীরব উথ্বান</title><description>অনেক মানুষেব মুখে এবং অারবে বসবাসরত নিকটাত্বীয়দের কাছে শুনেছি, সেখানে খোলা দোকানে মালামাল রেখে দোকানদারেরা নিশ্চিন্ত মনে অন্য কাজে চলে যায় অথচ কোনদিন চুরির ঘটনা ঘটে না। কারন জিজ্ঞেস করে জানতে পারি সেখানকার চুরির শাস্তির অাদি-অন্ত। সেখানে প্রচলিত বিচারিক অাইনের সাথে ইসলামিক অাইন সুন্দর ভাবে জড়িত। অার সেই অাইন মোতাবেকই চোরের শাস্তি হচ্ছে, তার হাত কেটে নেওয়া। এভাবেই অাইনের যথাযথ প্রোয়গেই এখন সেখানকার মানুষ (চোর)-রা চুরি করাই ভুলে গেছে।&lt;br/&gt;&lt;br/&gt;এ অবস্থায় অামাকে ফতোয়াবাজদের মধ্যে গন্য করার অাগে অাসুন নিচের কিছু সংবাদ এর সংক্ষেপ পর্যালোচনা করি।   সংবাদগুলি অবশ্যই "ফতোয়াবাজদের কবলে পরে হেনার মৃত্যু " প্রসঙ্গে।&lt;br/&gt;&lt;br/&gt;&lt;a href="http://nuhil.files.wordpress.com/2011/02/www-dailykalerkantho-com-2011-2-3-13101.png"&gt;&lt;img class="alignnone size-full wp-image-573" title="www.dailykalerkantho.com 2011-2-3 13:10" src="http://nuhil.files.wordpress.com/2011/02/www-dailykalerkantho-com-2011-2-3-13101.png" alt="" width="652" height="73" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;উপরের ছবিটি "দৈনিক কালের কন্ঠ" -এ প্রকাশিত খবরের অংশ বিশেষ। এখানে মাহবুব (প্রথম-অালোর ভাষায় ধর্ষক ও একতরফা দোষী ) এর স্ত্রী নিজেই শিকার করেছেন তার স্বামী ও হেনার র্দীঘ দিনের চলে অাসা অবৈধ সর্ম্পকের কথা। তার ভাষ্য মতে অসামাজিক সেই কর্মটি অনেকবার হয়েছে হেনা ও মাহবুবের মধ্যে। ইসলামের ভাষায় যে কর্মটিকে বলা হয় জেনা। অার এই অপরাধের সামাজিক ও ধর্মীয় শাস্তি কি সেটা বোধকরি সবাই জানেন কিন্তু না জানার ভান করেন।&lt;a name='more'&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;a href="http://nuhil.files.wordpress.com/2011/02/www-bdnews24-com-2011-2-3-13241.png"&gt;&lt;img class="alignnone size-full wp-image-574" title="www.bdnews24.com 2011-2-3 13:24" src="http://nuhil.files.wordpress.com/2011/02/www-bdnews24-com-2011-2-3-13241.png" alt="" width="737" height="234" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;এবার উপোরক্ত খবরের দিকে তাকান যেটা প্রকাশিত হয়েছে  "bdnews24.com" এ। এখানে বলা হয়েছে, দোররা মারার একসপ্তাহ পর হেনা মারা গেছে। অসুস্থ অবস্থায় তাকে সাহায্য ( যদিও অপরাধী একজন মুসলমানের সাহায্য পাবার যোগ্য নয় ) করার জন্য এগিয়ে অাসেনি মানবাধীকার কর্মী, বন্ধুসভার লোজন, এমনকি অাজকের খবরে প্রকাশিত তাদের বাড়িতে জমা হওয়া শত শত লোকের একজনও। তাহলে কি তারা হেনার মৃত্যুর জন্য অপেক্ষা করছিল, যাতে অান্দোলন অারও গরম করা য়ায় ?&lt;br/&gt;&lt;br/&gt;&lt;a href="http://nuhil.files.wordpress.com/2011/02/www-bdnews24-com-2011-2-3-13221.png"&gt;&lt;img class="alignnone size-full wp-image-575" title="www.bdnews24.com 2011-2-3 13:22" src="http://nuhil.files.wordpress.com/2011/02/www-bdnews24-com-2011-2-3-13221.png" alt="" width="730" height="127" /&gt;&lt;/a&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;২. মিমাংসা করে দুজনকেই ছেড়ে দিত সমাজে অারও ভোগবাদী সংস্কৃতি ছড়িয়ে দেয়ার জন্য&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/8183853169474628993-7964019276795915701?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/02/blog-post.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-339960581188059691</guid><pubDate>Thu, 20 Jan 2011 08:47:00 +0000</pubDate><atom:updated>2011-12-28T01:31:49.391+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>News</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><title>Its a great fun to develop a Symbian app within a minute</title><description>Go to &lt;a href="http://appwizard.ovi.com/web_nokia/signIn.jsp" target="_blank"&gt;http://appwizard.ovi.com/web_nokia/signIn.jsp&lt;/a&gt; where you will find that environment I am talking about. Complete the steps as you directed. I think at this stage of oviappwizard they are just supporting RSS feed based application which basically fetches RSS contents. The wizard support 4 RSS links. So, it will be great if you first arrange your desired RSS links into your Google RSS reader.&lt;br/&gt;&lt;br/&gt;For example if you add several RSS feeds to your Gooogle reader then all those links goes to a single folder or several folders as your wish. Then those folders have specific RSS links which points to that folder. Then simply use that RSS links here in your appwizard app. Thats how you can use more than 4 links in your app you want to build.&lt;br/&gt;&lt;br/&gt;Here is my app &lt;a href="http://store.ovi.com/content/93105"&gt;http://store.ovi.com/content/93105&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-339960581188059691?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2011/01/its-great-fun-to-develop-symbian-app.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-3540725357582503233</guid><pubDate>Sat, 01 Jan 2011 05:05:00 +0000</pubDate><atom:updated>2011-12-28T01:31:49.298+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Web App</category><category domain='http://www.blogger.com/atom/ns#'>Compile</category><category domain='http://www.blogger.com/atom/ns#'>C/C++</category><category domain='http://www.blogger.com/atom/ns#'>Run</category><category domain='http://www.blogger.com/atom/ns#'>Ubuntu</category><title>How to Compile and Run C/C++ program in Ubuntu</title><description>This video shows how you can Compile and Run C/C++ program in Ubuntu. We assume that your Ubuntu has gcc/g++ &lt;a name='more'&gt;&lt;/a&gt;&lt;br/&gt;&lt;object height="350" width="425"&gt;&lt;br/&gt;      &lt;param name="movie" value="http://www.youtube.com/v/tHT2nAE9dF0"&gt;&lt;br/&gt;      &lt;param name="wmode" value="transparent"&gt;&lt;br/&gt;      &lt;embed src="http://www.youtube.com/v/tHT2nAE9dF0;rel=0" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"&gt;&lt;br/&gt;      &lt;/object&gt;&lt;br/&gt; compiler installed already. It has been recorded in Ubuntu 10.10&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-3540725357582503233?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2010/12/how-to-compile-and-run-cc-program-in.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-3101990866894032953</guid><pubDate>Thu, 16 Dec 2010 17:23:00 +0000</pubDate><atom:updated>2011-12-28T01:31:49.030+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Web App</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Unicode</category><title>How to see Bangla in Opera mini browser</title><description>If your mobile support bangla unicode and complex script, you can view bangla site. Otherwise follow the instructions.&lt;br/&gt;&lt;br/&gt;1. &lt;a href="http://mini.opera.com/"&gt;Download Opera Mini&lt;/a&gt; from &lt;a href="http://mini.opera.com/"&gt;http://mini.opera.com/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;img src="http://paloadmin.prothom-aloblog.com:8088/theme/public/default/style/images/screen-shots/CEZoom1.jpg" alt="opera mini" width="40%" /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;2. Install and Run Opera Mini&lt;br/&gt;&lt;br/&gt;&lt;img src="http://paloadmin.prothom-aloblog.com:8088/theme/public/default/style/images/screen-shots/CEZoom1.2.jpg" alt="opera mini" width="40%" /&gt;&lt;br/&gt;&lt;br/&gt;3. Type "opera:config" at the address bar and ok.&lt;br/&gt;&lt;br/&gt;&lt;img src="http://paloadmin.prothom-aloblog.com:8088/theme/public/default/style/images/screen-shots/CEZoom2.jpg" alt="opera mini" width="40%" /&gt;&lt;br/&gt;&lt;br/&gt;4. Change the settings "Use bitmap fonts for complex scripts" to "Yes" and click the "Save" button.&lt;br/&gt;&lt;br/&gt;&lt;img src="http://paloadmin.prothom-aloblog.com:8088/theme/public/default/style/images/screen-shots/CEZoom3.jpg" alt="opera mini" width="40%" /&gt;&lt;br/&gt;&lt;br/&gt;5. Now you can view this site in your mobile by Opera Mini.&lt;br/&gt;&lt;br/&gt;&lt;img src="http://paloadmin.prothom-aloblog.com:8088/theme/public/default/style/images/screen-shots/CEZoom4.jpg" alt="opera mini" width="40%" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-3101990866894032953?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2010/12/how-to-see-bangla-in-opera-mini-browser.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-7413133140789652834</guid><pubDate>Fri, 03 Dec 2010 10:29:00 +0000</pubDate><atom:updated>2011-12-28T01:31:48.950+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Ubuntu</category><title>Install IE6 in Ubuntu 10.X</title><description>An easy way to use &lt;a class="zem_slink" title="Internet Explorer 6" href="http://www.microsoft.com/windows/ie/ie6/default.mspx" rel="homepage"&gt;IE6&lt;/a&gt; (I think its just for testing &lt;a class="zem_slink" title="Cascading Style Sheets" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" rel="wikipedia"&gt;CSS&lt;/a&gt; issues with IE ) in Ubuntu/Linux are described bellow:&lt;br/&gt;&lt;br/&gt;Step 1: Make sure Wine is already installed on your computer. If not then use this code on your terminal&lt;br/&gt;&lt;pre&gt;sudo &lt;a class="zem_slink" title="Advanced Packaging Tool" href="http://wiki.debian.org/Apt" rel="homepage"&gt;apt-get&lt;/a&gt; install wine&lt;/pre&gt;&lt;br/&gt;Step 2: Then the following&lt;br/&gt;&lt;pre&gt;wget http://www.kegel.com/wine/&lt;a class="zem_slink" title="Wine (software)" href="http://www.winehq.org/" rel="homepage"&gt;winetricks&lt;/a&gt;&lt;/pre&gt;&lt;br/&gt;Step 3:Now&lt;br/&gt;&lt;pre&gt;sh winetricks ie6&lt;/pre&gt;&lt;br/&gt;Final : To Run IE6&lt;br/&gt;&lt;pre&gt;wine &lt;a class="zem_slink" title="Internet Explorer" href="http://www.microsoft.com/windows/internet-explorer/default.aspx" rel="homepage"&gt;iexplore&lt;/a&gt;&lt;/pre&gt;&lt;br/&gt;Note: Ignore any errors that can be skipped when installing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-7413133140789652834?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2010/12/install-ie6-in-ubuntu-10x.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-2684758085101531480</guid><pubDate>Sun, 01 Nov 2009 10:07:00 +0000</pubDate><atom:updated>2011-12-28T01:31:49.154+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Joomla</category><category domain='http://www.blogger.com/atom/ns#'>CMS</category><title>Reduce time by Uploading and Extracting .zip on server!</title><description>Suppose you are going to upload a big size folder containing a huge number of files on it. Think about joomla. Then if you use ftp client software such as filezilla, it will take about 2 hours if you have internet connection that has avg. speed of 15kbps.&lt;br/&gt;&lt;br/&gt;Again if you want to delete such files or directory from that hosting place then it will take 1 hour on that speed configuration.&lt;br/&gt;&lt;br/&gt;This is happened because filezilla checks the permission and additional facts of each file by some commands every time it uploads or deletes a file.&lt;br/&gt;&lt;br/&gt;We will just give a single file to filzilla to upload and will make several files into a single file when deleting. Thus we can reduce the time that filzilla takes for several files.&lt;br/&gt;&lt;br/&gt;Here we go:&lt;br/&gt;&lt;br/&gt;First make the desired directory to be uploaded into .zip file on your pc. For example Joomla.zip&lt;br/&gt;&lt;br/&gt;The simply upload it to the server by Filezilla. It will take no more than 15 mins in a speed of 15kbps.&lt;br/&gt;&lt;br/&gt;Then create a php file:&lt;br/&gt;[sourcecode language="php"]&lt;br/&gt;&amp;lt;?php&lt;br/&gt;// Write an URL on the browser like&lt;br/&gt;// http://www.example.com/project/unzip.php?archive=Joomla.zip&lt;br/&gt;&lt;br/&gt;$filename = $_GET['archive'];&lt;br/&gt;$zip = new ZipArchive;&lt;br/&gt;if ($zip-&amp;amp;gt;open($filename) === TRUE) {&lt;br/&gt;        $zip-&amp;amp;gt;extractTo('./');&lt;br/&gt;        $zip-&amp;amp;gt;close();&lt;br/&gt;        echo 'The file &amp;lt;strong&amp;gt;'.$filename.'&amp;lt;/strong&amp;gt; Extracted successfully';&lt;br/&gt;    }    else {&lt;br/&gt;        echo 'failed';&lt;br/&gt;        }&lt;br/&gt;?&amp;gt; [/sourcecode]&lt;br/&gt;&lt;br/&gt;&lt;a name='more'&gt;&lt;/a&gt;Run this script on that same directory and follow the instruction above the code. It will extract that Joomla.zip into Joomla. Then Delete the Joomla.zip in a sec. Thats it.&lt;br/&gt;&lt;br/&gt;Now guess, you have uploaded a wrong folder wasting a huge time or you need to replace that directories with your customized files and folders. Now here we talk when deleting such a big directory. We dont know how big and recursive it is.&lt;br/&gt;&lt;br/&gt;Create this file:&lt;br/&gt;[sourcecode language="php"]&amp;lt;?php&lt;br/&gt;function removedir($dirname)&lt;br/&gt;    {&lt;br/&gt;        if (is_dir($dirname))&lt;br/&gt;        $dir_handle = opendir($dirname);&lt;br/&gt;        if (!$dir_handle)&lt;br/&gt;        return false;&lt;br/&gt;        while($file = readdir($dir_handle)) {&lt;br/&gt;            if ($file != &amp;quot;.&amp;quot; &amp;amp;amp;&amp;amp;amp; $file != &amp;quot;..&amp;quot;) {&lt;br/&gt;                if (!is_dir($dirname.&amp;quot;/&amp;quot;.$file))&lt;br/&gt;                unlink($dirname.&amp;quot;/&amp;quot;.$file);&lt;br/&gt;                else&lt;br/&gt;                {&lt;br/&gt;                    $a=$dirname.'/'.$file;&lt;br/&gt;                    removedir($a);&lt;br/&gt;                }&lt;br/&gt;            }&lt;br/&gt;        }&lt;br/&gt;        closedir($dir_handle);&lt;br/&gt;        rmdir($dirname);&lt;br/&gt;        return true;&lt;br/&gt;    }&lt;br/&gt;&lt;br/&gt;$dirname='Joomla';&lt;br/&gt;removedir($dirname);&lt;br/&gt;?&amp;gt;[/sourcecode]&lt;br/&gt;&lt;br/&gt;This will delete that whole directory whether it is empty or not.&lt;br/&gt;&lt;br/&gt;Here is a bonus function that will make a directory into a .zip file. You better know its usage. Just run it on the server and make a .zip copy of a desired directory.&lt;br/&gt;[sourcecode language="php"]&amp;lt;?php&lt;br/&gt;// increase script timeout value&lt;br/&gt;ini_set('max_execution_time', 300);&lt;br/&gt;&lt;br/&gt; // create object&lt;br/&gt;$zip = new ZipArchive();&lt;br/&gt;&lt;br/&gt;// open archive&lt;br/&gt;if ($zip-&amp;amp;gt;open('file.zip', ZIPARCHIVE::CREATE) !== TRUE)&lt;br/&gt;	{&lt;br/&gt;	die (&amp;quot;Could not open archive&amp;quot;);&lt;br/&gt;&lt;br/&gt;	}&lt;br/&gt;&lt;br/&gt;// initialize an iterator&lt;br/&gt;// pass it the directory to be processed&lt;br/&gt;$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(&amp;quot;Joomla/&amp;quot;));&lt;br/&gt;&lt;br/&gt; // iterate over the directory&lt;br/&gt;// add each file found to the archive&lt;br/&gt;foreach ($iterator as $key=&amp;amp;gt;$value) {&lt;br/&gt;$zip-&amp;amp;gt;addFile(realpath($key), $key) or die (&amp;quot;ERROR: Could not add file: $key&amp;quot;);&lt;br/&gt;									}&lt;br/&gt;// close and save archive&lt;br/&gt;$zip-&amp;amp;gt;close();&lt;br/&gt;echo &amp;quot;Archive created successfully Named file.zip&amp;quot;;&lt;br/&gt;?&amp;gt;[/sourcecode]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-2684758085101531480?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/11/reduce-time-by-uploading-and-extracting.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-2433981359441209018</guid><pubDate>Tue, 27 Oct 2009 11:27:00 +0000</pubDate><atom:updated>2011-12-28T01:31:48.834+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><title>Rotating Image to any degree with transparent background</title><description>The following code will rotate an image to any given degree and if you use png image then the background color can be transparent. So, you can use that rotated image upon any image or color.&lt;br/&gt;&lt;br/&gt;[sourcecode language="php"]&amp;lt;?php&lt;br/&gt;    $filename = 'image.png';&lt;br/&gt;    $degrees = 20;&lt;br/&gt;&lt;br/&gt;    header('Content-type: image/png');&lt;br/&gt;&lt;br/&gt;    $source = imagecreatefrompng($filename);&lt;br/&gt;&lt;br/&gt;    $rotate = imagerotate($source, $degrees, -1); // -1 will cause the bg color as white&lt;br/&gt;&lt;br/&gt;    imagealphablending($rotate, true);&lt;br/&gt;    imagesavealpha($rotate, true);&lt;br/&gt;&lt;br/&gt;    imagepng($rotate);&lt;br/&gt;?&amp;gt;&lt;br/&gt;[/sourcecode]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-2433981359441209018?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/10/rotating-image-to-any-degree-with.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-695923089717730842</guid><pubDate>Thu, 17 Sep 2009 09:27:00 +0000</pubDate><atom:updated>2011-12-28T01:31:48.579+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>HTML</category><category domain='http://www.blogger.com/atom/ns#'>Featured</category><title>Sending HTML mail by mail()</title><description>[sourcecode language="php"]&amp;lt;?php&lt;br/&gt;$to = &amp;quot;nuhilmehdy@gmail.com&amp;quot;;&lt;br/&gt;$subject = &amp;quot;HTML Test&amp;quot;;&lt;br/&gt;$Name = &amp;quot;Nuhil&amp;quot;; //senders name. // This is just for display name&lt;br/&gt;$email = &amp;quot;email@adress.com&amp;quot;; //senders e-mail adress. // I think this would be generated by the host automatically&lt;br/&gt;$last_name = &amp;quot;Mehdy&amp;quot;; // A test variable for using in the html format&lt;br/&gt;&lt;br/&gt;$message = '&lt;br/&gt;&amp;lt;html&amp;gt;&lt;br/&gt;&amp;lt;head&amp;gt;&lt;br/&gt;&amp;lt;title&amp;gt;HTML email&amp;lt;/title&amp;gt;&lt;br/&gt;&amp;lt;/head&amp;gt;&lt;br/&gt;&amp;lt;body&amp;gt;&lt;br/&gt;&amp;lt;p&amp;gt;This email contains HTML Tags!&amp;lt;/p&amp;gt;&lt;br/&gt;&amp;lt;table width=&amp;quot;100%&amp;quot;  border=&amp;quot;1&amp;quot;&amp;gt;&lt;br/&gt;  &amp;lt;tr&amp;gt;&lt;br/&gt;    &amp;lt;td&amp;gt;First Name &amp;lt;/td&amp;gt;&lt;br/&gt;    &amp;lt;td&amp;gt;Last Name &amp;lt;/td&amp;gt;&lt;br/&gt;  &amp;lt;/tr&amp;gt;&lt;br/&gt;  &amp;lt;tr&amp;gt;&lt;br/&gt;    &amp;lt;td&amp;gt;Nuhil&amp;lt;/td&amp;gt;&lt;br/&gt;    &amp;lt;td&amp;gt;'.$last_name.'&amp;lt;/td&amp;gt;&lt;br/&gt;  &amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;/table&amp;gt;&lt;br/&gt;&amp;lt;/body&amp;gt;&lt;br/&gt;&amp;lt;/html&amp;gt;&lt;br/&gt;'; // Use ' (single quote) for defining the variable content if you use &amp;quot; (double quote) inside that html format OR use reverse method&lt;br/&gt;&lt;br/&gt;$headers = &amp;quot;MIME-Version: 1.0&amp;quot; . &amp;quot;\r\n&amp;quot;; // Always set content-type when sending HTML email&lt;br/&gt;$headers .= &amp;quot;Content-type:text/html;charset=iso-8859-1&amp;quot; . &amp;quot;\r\n&amp;quot;; // This defines the mail as html content&lt;br/&gt;&lt;br/&gt;// More headers&lt;br/&gt;$headers .= &amp;quot;From: &amp;quot;. $Name . &amp;quot; &amp;lt;&amp;quot; . $email . &amp;quot;&amp;gt;\r\n&amp;quot;; //optional headerfields&lt;br/&gt;$headers .= &amp;quot;Cc: nuhil@yahoo.com&amp;quot; . &amp;quot;\r\n&amp;quot;; // For Cc sending you can use headers also&lt;br/&gt;&lt;br/&gt;mail($to,$subject,$message,$headers);&lt;br/&gt;?&amp;gt; [/sourcecode]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-695923089717730842?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/09/sending-html-mail-by-mail.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-1248734548891289268</guid><pubDate>Wed, 05 Aug 2009 17:56:00 +0000</pubDate><atom:updated>2011-12-28T01:31:48.479+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>JS</category><category domain='http://www.blogger.com/atom/ns#'>JQuery</category><category domain='http://www.blogger.com/atom/ns#'>Ajax</category><category domain='http://www.blogger.com/atom/ns#'>CSS</category><title>Form Validation Like Ajax or JQuery Using Simple Javascript and CSS</title><description>The code below will create a form with two fields. If do not enter "1" in the first form field try to leave that field then it will response and create a message on the right side of the field.&lt;br/&gt;&lt;br/&gt;This will work just like any Ajax or Jquery form validation but it is simply Javascript and CSS.&lt;br/&gt;[sourcecode language="html"]&lt;br/&gt;&amp;lt;html&amp;gt;&lt;br/&gt;&amp;lt;head&amp;gt;&lt;br/&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;!--&lt;br/&gt;function update() {&lt;br/&gt;if(document.form.num_1.value != '1')&lt;br/&gt;document.form.sum.value = 'Start with 1';&lt;br/&gt;document.form.sum.style.visibility = 'visible';&lt;br/&gt;}&lt;br/&gt;//--&amp;gt;&amp;lt;/script&amp;gt;&lt;br/&gt;&amp;lt;/head&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;body&amp;gt;&lt;br/&gt;&amp;lt;form name=&amp;quot;form&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;table width=&amp;quot;100%&amp;quot;  border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;First Number &amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;&amp;lt;input name=&amp;quot;num_1&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;num_1&amp;quot;  onChange=&amp;quot;update()&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;input name=&amp;quot;sum&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;sum&amp;quot; readonly=&amp;quot;&amp;quot; style=&amp;quot;border:0px; visibility:hidden; &amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;Second Number &amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;td colspan=&amp;quot;3&amp;quot;&amp;gt;&amp;lt;input name=&amp;quot;num_2&amp;quot; type=&amp;quot;text&amp;quot; id=&amp;quot;num_2&amp;quot;  onChange=&amp;quot;update()&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;/table&amp;gt;&lt;br/&gt;&amp;lt;/form&amp;gt;&lt;br/&gt;&amp;lt;/body&amp;gt;&lt;br/&gt;[/sourcecode]&lt;br/&gt;&lt;br/&gt;&lt;span style="color:#000000;"&gt;I hope logic can be developed by you for further uses.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-1248734548891289268?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/08/form-validation-like-ajax-or-jquery.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-4044708216432210863</guid><pubDate>Mon, 03 Aug 2009 01:14:00 +0000</pubDate><atom:updated>2011-12-28T01:31:48.094+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PHP</category><title>Converting Numerical Value to its Corresponding Text Format!</title><description>Some times we need to convert a numerical value to its text value. For example when we want to make a digit or a summation of some value to a text format in the case of any accounting purpose then this code of functions will help.&lt;br/&gt;[sourcecode language="php"]&lt;br/&gt;$nwords = array( &amp;quot;zero&amp;quot;, &amp;quot;one&amp;quot;, &amp;quot;two&amp;quot;, &amp;quot;three&amp;quot;, &amp;quot;four&amp;quot;, &amp;quot;five&amp;quot;, &amp;quot;six&amp;quot;, &amp;quot;seven&amp;quot;,&lt;br/&gt;&amp;quot;eight&amp;quot;, &amp;quot;nine&amp;quot;, &amp;quot;ten&amp;quot;, &amp;quot;eleven&amp;quot;, &amp;quot;twelve&amp;quot;, &amp;quot;thirteen&amp;quot;,&lt;br/&gt;&amp;quot;fourteen&amp;quot;, &amp;quot;fifteen&amp;quot;, &amp;quot;sixteen&amp;quot;, &amp;quot;seventeen&amp;quot;, &amp;quot;eighteen&amp;quot;,&lt;br/&gt;&amp;quot;nineteen&amp;quot;, &amp;quot;twenty&amp;quot;, 30 =&amp;gt; &amp;quot;thirty&amp;quot;, 40 =&amp;gt; &amp;quot;forty&amp;quot;,&lt;br/&gt;50 =&amp;gt; &amp;quot;fifty&amp;quot;, 60 =&amp;gt; &amp;quot;sixty&amp;quot;, 70 =&amp;gt; &amp;quot;seventy&amp;quot;, 80 =&amp;gt; &amp;quot;eighty&amp;quot;,&lt;br/&gt;90 =&amp;gt; &amp;quot;ninety&amp;quot; );&lt;br/&gt;&lt;br/&gt;function int_to_words($x) {&lt;br/&gt;global $nwords;&lt;br/&gt;&lt;br/&gt;if(!is_numeric($x))&lt;br/&gt;$w = '#';&lt;br/&gt;else if(fmod($x, 1) != 0)&lt;br/&gt;$w = '#';&lt;br/&gt;else {&lt;br/&gt;if($x &amp;lt; 0) {&lt;br/&gt;$w = 'minus ';&lt;br/&gt;$x = -$x;&lt;br/&gt;} else&lt;br/&gt;$w = '';&lt;br/&gt;// ... now $x is a non-negative integer.&lt;br/&gt;&lt;br/&gt;if($x &amp;lt; 21)   // 0 to 20&lt;br/&gt;$w .= $nwords[$x];&lt;br/&gt;else if($x &amp;lt; 100) {   // 21 to 99&lt;br/&gt;$w .= $nwords[10 * floor($x/10)];&lt;br/&gt;$r = fmod($x, 10);&lt;br/&gt;if($r &amp;gt; 0)&lt;br/&gt;$w .= '-'. $nwords[$r];&lt;br/&gt;} else if($x &amp;lt; 1000) {   // 100 to 999&lt;br/&gt;$w .= $nwords[floor($x/100)] .' hundred';&lt;br/&gt;$r = fmod($x, 100);&lt;br/&gt;if($r &amp;gt; 0)&lt;br/&gt;$w .= ' and '. int_to_words($r);&lt;br/&gt;} else if($x &amp;lt; 1000000) {   // 1000 to 999999&lt;br/&gt;$w .= int_to_words(floor($x/1000)) .' thousand';&lt;br/&gt;$r = fmod($x, 1000);&lt;br/&gt;if($r &amp;gt; 0) {&lt;br/&gt;$w .= ' ';&lt;br/&gt;if($r &amp;lt; 100)&lt;br/&gt;$w .= 'and ';&lt;br/&gt;$w .= int_to_words($r);&lt;br/&gt;}&lt;br/&gt;} else {    //  millions&lt;br/&gt;$w .= int_to_words(floor($x/1000000)) .' million';&lt;br/&gt;$r = fmod($x, 1000000);&lt;br/&gt;if($r &amp;gt; 0) {&lt;br/&gt;$w .= ' ';&lt;br/&gt;if($r &amp;lt; 100)&lt;br/&gt;$word .= 'and ';&lt;br/&gt;$w .= int_to_words($r);&lt;br/&gt;}&lt;br/&gt;}&lt;br/&gt;}&lt;br/&gt;return $w;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;//Where should you need to have the text format&lt;br/&gt;&lt;br/&gt;echo 'There are currently '. int_to_words(100) . ' members logged on.';&lt;br/&gt;[/sourcecode]&lt;br/&gt;&lt;span style="color:#333333;"&gt;The parameter "100" will be processed by the functions and will output a value : &lt;span style="color:#666699;"&gt;one hundred&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/8183853169474628993-4044708216432210863?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/08/converting-numerical-value-to-its.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-4264023224814029102</guid><pubDate>Thu, 25 Jun 2009 21:40:00 +0000</pubDate><atom:updated>2011-12-28T01:31:48.371+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Bangla</category><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>Unicode</category><title>Simply Start Bangla Webpage with Database Connectivity!</title><description>&lt;em&gt;&lt;span style="color:#339966;"&gt;Created by Sagor Sugested by Nuhil&lt;/span&gt;&lt;/em&gt;&lt;br/&gt;&lt;br/&gt;You can make a Web app using Bangla Interface simply by using one kind of Unicode Font write such as&lt;br/&gt;Avro Keyboard. But there is a restriction. In the client PC , the page will not be shown properly if there does not exist any bangla font &lt;span style="color:#ff6600;"&gt;installed&lt;/span&gt;. So, you can give a link in that page to download a font.&lt;br/&gt;&lt;br/&gt;You can also get the benifit of MySQL using simple Queries. Define the database and table datatype as &lt;br/&gt;[sourcecode language="sql"]utf8_general_ci [/sourcecode]&lt;br/&gt; Then in database configuration file write these two line after mysql_select_db().&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;[sourcecode language="sql"]&lt;br/&gt;mysql_query('SET CHARACTER SET utf8',$con);&lt;br/&gt;mysql_query(&amp;quot;SET SESSION collation_connection='utf8_general_ci'&amp;quot;,$con); //$con is DB configuration lines &lt;br/&gt;[/sourcecode]&lt;br/&gt;&lt;br/&gt;&lt;span style="color:#000000;"&gt;Now you can do normal PHP-MySQL tasks in your application. Here is an example &lt;a title="Download" href="http://www.box.net/shared/96edt8u965"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-4264023224814029102?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/06/simply-start-bangla-webpage-with.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-1155545855266761616</guid><pubDate>Sun, 17 May 2009 18:51:00 +0000</pubDate><atom:updated>2011-12-28T01:31:47.991+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>MySQL</category><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><title>A Simple PHP Multi Uploader with rand() and time()</title><description>I think this would be the simplest file multi uploader to an specific location. It uses copy() for the upload method and add a random number based on time to avoid replacement of the files including same file name.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="color:#339966;"&gt;This is the approach:&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color:#993300;"&gt;The form for uploading:&lt;/span&gt;&lt;br/&gt;[sourcecode language="html"]&lt;br/&gt;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; width=&amp;quot;500&amp;quot; align=&amp;quot;center&amp;quot; bgcolor=&amp;quot;#cccccc&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;tbody&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;form id=&amp;quot;form1&amp;quot; action=&amp;quot;multiple_upload_ac.php&amp;quot; enctype=&amp;quot;multipart/form-data&amp;quot; method=&amp;quot;post&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;&lt;br/&gt;&amp;lt;table border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;3&amp;quot; width=&amp;quot;100%&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;tbody&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;&amp;lt;strong&amp;gt;multiple Files Upload &amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;Select file&lt;br/&gt;&amp;lt;input id=&amp;quot;ufile[]&amp;quot; name=&amp;quot;ufile[]&amp;quot; size=&amp;quot;50&amp;quot; type=&amp;quot;file&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;Select file&lt;br/&gt;&amp;lt;input id=&amp;quot;ufile[]&amp;quot; name=&amp;quot;ufile[]&amp;quot; size=&amp;quot;50&amp;quot; type=&amp;quot;file&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td&amp;gt;Select file&lt;br/&gt;&amp;lt;input id=&amp;quot;ufile[]&amp;quot; name=&amp;quot;ufile[]&amp;quot; size=&amp;quot;50&amp;quot; type=&amp;quot;file&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;tr&amp;gt;&lt;br/&gt;&amp;lt;td align=&amp;quot;center&amp;quot;&amp;gt;&lt;br/&gt;&amp;lt;input name=&amp;quot;Submit&amp;quot; type=&amp;quot;submit&amp;quot; value=&amp;quot;Upload&amp;quot; /&amp;gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;br/&gt;&amp;lt;/td&amp;gt;&lt;br/&gt;&amp;lt;/form&amp;gt;&amp;lt;/tr&amp;gt;&lt;br/&gt;&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&lt;br/&gt;[/sourcecode]&lt;br/&gt;&lt;span style="color:#808080;"&gt;&lt;img class="aligncenter size-full wp-image-215" title="multi" src="http://www.nuhil.net/wp-content/uploads/2009/05/multi.gif" alt="multi" width="402" height="169" /&gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color:#993300;"&gt;The processor file:&lt;/span&gt;&lt;br/&gt;[sourcecode language="php"]&lt;br/&gt;$path1=$path1a.time().$num1.'_'.basename($_FILES['ufile']['name'][0]);&lt;br/&gt;&lt;br/&gt;//add a random name with the base name&lt;br/&gt;$path2=$path2a.time().$num2.'_'.basename($_FILES['ufile']['name'][1]);&lt;br/&gt;$path3=$path3a.time().$num3.'_'.basename($_FILES['ufile']['name'][2]);&lt;br/&gt;&lt;br/&gt;//copy file to where you want to store file&lt;br/&gt;copy($_FILES['ufile']['tmp_name'][0], $path1);&lt;br/&gt;copy($_FILES['ufile']['tmp_name'][1], $path2);&lt;br/&gt;copy($_FILES['ufile']['tmp_name'][2], $path3);&lt;br/&gt;&lt;br/&gt;//$_FILES['ufile']['name'] = file name&lt;br/&gt;//$_FILES['ufile']['size'] = file size&lt;br/&gt;//$_FILES['ufile']['type'] = type of file&lt;br/&gt;echo &amp;quot;File Name :&amp;quot;.$_FILES['ufile']['name'][0].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;File Size :&amp;quot;.$_FILES['ufile']['size'][0].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;File Type :&amp;quot;.$_FILES['ufile']['type'][0].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;&amp;lt;img src=&amp;quot;\&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; /&amp;gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;&lt;br/&gt;echo &amp;quot;File Name :&amp;quot;.$_FILES['ufile']['name'][1].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;File Size :&amp;quot;.$_FILES['ufile']['size'][1].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;File Type :&amp;quot;.$_FILES['ufile']['type'][1].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;&amp;lt;img src=&amp;quot;\&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; /&amp;gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;&lt;br/&gt;&lt;br/&gt;&amp;quot;;&lt;br/&gt;&lt;br/&gt;echo &amp;quot;File Name :&amp;quot;.$_FILES['ufile']['name'][2].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;File Size :&amp;quot;.$_FILES['ufile']['size'][2].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;File Type :&amp;quot;.$_FILES['ufile']['type'][2].&amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;echo &amp;quot;&amp;lt;img src=&amp;quot;\&amp;quot; alt=&amp;quot;&amp;quot; width=&amp;quot;150&amp;quot; height=&amp;quot;150&amp;quot; /&amp;gt;&amp;quot;;&lt;br/&gt;&lt;br/&gt;///////////////////////////////////////////////////////&lt;br/&gt;&lt;br/&gt;// Use this code to display the error or success.&lt;br/&gt;&lt;br/&gt;$filesize1=$_FILES['ufile']['size'][0];&lt;br/&gt;$filesize2=$_FILES['ufile']['size'][1];&lt;br/&gt;$filesize3=$_FILES['ufile']['size'][2];&lt;br/&gt;&lt;br/&gt;if($filesize1 &amp;amp;amp;&amp;amp;amp; $filesize2 &amp;amp;amp;&amp;amp;amp; $filesize3 != 0)&lt;br/&gt;{&lt;br/&gt;echo &amp;quot;We have recieved your files&amp;quot;;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;else {&lt;br/&gt;echo &amp;quot;ERROR…..&amp;quot;;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;//////////////////////////////////////////////&lt;br/&gt;&lt;br/&gt;// What files that have a problem? (if found)&lt;br/&gt;&lt;br/&gt;if($filesize1==0) {&lt;br/&gt;echo &amp;quot;There're something error in your first file&amp;quot;;&lt;br/&gt;echo &amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;if($filesize2==0) {&lt;br/&gt;echo &amp;quot;There're something error in your second file&amp;quot;;&lt;br/&gt;echo &amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;if($filesize3==0) {&lt;br/&gt;echo &amp;quot;There're something error in your third file&amp;quot;;&lt;br/&gt;echo &amp;quot;&lt;br/&gt;&amp;quot;;&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;?&amp;gt;[/sourcecode]&lt;br/&gt;&lt;span style="color:#808080;"&gt;Download the code &lt;a title="Download" href="http://www.box.net/shared/vmvfqd5g2u"&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-1155545855266761616?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/05/simple-php-multi-uploader-with-rand-and.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-8991031352495472062</guid><pubDate>Wed, 22 Apr 2009 03:29:00 +0000</pubDate><atom:updated>2011-12-28T01:31:47.893+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Outsourcing</category><category domain='http://www.blogger.com/atom/ns#'>Featured</category><title>My Recent Getafreelancer Projects</title><description>Recently i have done 2 projects on Get a Freelancer from which one is a complete but so simple website of a vaccination program and other was to create 5 simple HTML-CSS templates.&lt;br/&gt;&lt;br/&gt;&lt;a href="http://8.17.81.176/vaccine/"&gt;&lt;img class="alignleft size-full wp-image-204" title="vaccine" src="http://nuhil.files.wordpress.com/2009/04/vaccine.jpg" alt="vaccine" width="300" height="200" /&gt;&lt;/a&gt; This is the Vaccination Site. I completed this project in two days and got paid $250.&lt;br/&gt;&lt;a href="http://8.17.81.176/kays/"&gt;&lt;img class="alignleft size-full wp-image-205" title="ka" src="http://nuhil.files.wordpress.com/2009/04/ka.jpg" alt="ka" width="300" height="200" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;And below those 5 templates for which i got paid $80&lt;br/&gt;&lt;a href="http://8.17.81.176/cfx/"&gt;&lt;img class="alignleft size-full wp-image-205" title="ka" src="http://nuhil.files.wordpress.com/2009/04/cfx.jpg" alt="ka" width="300" height="200" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;a href="http://8.17.81.176/atoro/"&gt;&lt;img class="alignleft size-full wp-image-205" title="ka" src="http://nuhil.files.wordpress.com/2009/04/ato.jpg" alt="ka" width="300" height="200" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;a href="http://8.17.81.176/finuk/"&gt;&lt;img class="alignleft size-full wp-image-205" title="ka" src="http://nuhil.files.wordpress.com/2009/04/fin.jpg" alt="ka" width="300" height="200" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;a href="http://8.17.81.176/jenkins/"&gt;&lt;img class="alignleft size-full wp-image-205" title="ka" src="http://nuhil.files.wordpress.com/2009/04/jen.jpg" alt="ka" width="300" height="200" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;p style="text-align:center;"&gt;&lt;a href="http://www.nuhil.net/?page_id=222" target="_self"&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;More&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-8991031352495472062?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2009/04/my-recent-getafreelancer-projects.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-5473018547306084434</guid><pubDate>Mon, 24 Nov 2008 03:29:00 +0000</pubDate><atom:updated>2011-12-28T01:31:47.773+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Wordpress</category><category domain='http://www.blogger.com/atom/ns#'>PHP</category><category domain='http://www.blogger.com/atom/ns#'>CSS</category><category domain='http://www.blogger.com/atom/ns#'>CMS</category><category domain='http://www.blogger.com/atom/ns#'>HTML</category><title>My First Wordpress Theme!</title><description>Yesterday i made a wordpress theme which is my first work in theme based works. The theme is 100% widgets supported. It is two columns based and has fixed width. I named it RedHat because i used a redhat logo and Black+Red color in major in that theme.&lt;br/&gt;You can see this theme in work.&lt;br/&gt;Click the screenshot below.&lt;a href="http://nuhil.coolpage.biz/wordpress/"&gt;&lt;img class="aligncenter size-full wp-image-145" title="screenshot" src="http://nuhil.files.wordpress.com/2008/11/screenshot.jpg" alt="screenshot" width="300" height="220" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Please don't forget to comment about my silly job.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-5473018547306084434?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2008/11/my-first-wordpress-theme.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-7654601195797406778</guid><pubDate>Sat, 15 Nov 2008 11:45:00 +0000</pubDate><atom:updated>2011-12-28T01:31:47.644+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><category domain='http://www.blogger.com/atom/ns#'>Personal</category><title>Download YouTube Video by FireFox 3.X!</title><description>The most easiest way to Download YouTube video and same from other embeded video sharing site is using &lt;strong&gt;Firefox AddOnns&lt;/strong&gt;. Simply install the AddOnns &lt;strong&gt;Fast Video Download 1.6.x&lt;/strong&gt; in your current FireFox by clicking &lt;strong&gt;tools-&amp;gt;Add-ons-&amp;gt;Get Add-ons&lt;/strong&gt;. Then select a video from YouTube site&lt;a href="http://nuhil.files.wordpress.com/2008/11/tube.gif"&gt;&lt;img class="aligncenter size-full wp-image-133" title="tube" src="http://nuhil.files.wordpress.com/2008/11/tube.gif" alt="tube" width="470" height="341" /&gt;&lt;/a&gt; to view in the browser and when it is finished buffering one time then click the bottom right corner of the browser button named fast video download. It will save the video in &lt;strong&gt;*.flv&lt;/strong&gt; format. VLC, JetAudio, or any flv player can play the downloaded video.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-7654601195797406778?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2008/11/download-youtube-video-by-firefox-3x.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-768711102791861611</guid><pubDate>Sat, 15 Nov 2008 01:08:00 +0000</pubDate><atom:updated>2011-12-28T01:31:47.558+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>FBML - FBJS - iFRAME</category><title>Another Facebook Application!</title><description>&lt;p style="text-align:center;"&gt;&lt;a href="http://apps.facebook.com/ruetgroups/" target="_blank"&gt;&lt;img class="size-full wp-image-123 aligncenter" title="head" src="http://nuhil.files.wordpress.com/2008/11/head.gif" alt="head" width="500" height="80" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-768711102791861611?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2008/11/another-facebook-application.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8183853169474628993.post-4034692947830887289</guid><pubDate>Sun, 19 Oct 2008 23:47:00 +0000</pubDate><atom:updated>2011-12-28T01:31:47.241+06:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>How to [Tips]</category><title>Recover Your Crashed Windows in Previous Status ! (5 min Required)</title><description>Imagine that you have installed your all necessary softwares and applications. After some days the windows is not booting because of file missing or harddisk error. Then what you do? Simply install a new Windows OS from a CD. But... All installed applications have gone! Then you again install your all applications working hard for 1 or 2 hours. &lt;br/&gt;&lt;br/&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;Here is Solution!&lt;/span&gt;&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;DriveImage &lt;/strong&gt;is software which can make image of your system drive or other drive or total harddisk. You should create an image of your drive at present status or good status. Then write the image to a CD or a removeable disk. Then when you are facing the problem of booting OS. Then insert the disk into CDROM and boot from it. Now simply restore the image again in your crashed system drive.&lt;br/&gt;&lt;br/&gt;You will get back your windows OS in previous status (in which status you have create the image).&lt;br/&gt;&lt;br/&gt;You can download this software from:&lt;a href="http://www.drive-image.com/Drive_Image_Download.shtml"&gt; Here &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8183853169474628993-4034692947830887289?l=www.nuhil.net' alt='' /&gt;&lt;/div&gt;</description><link>http://www.nuhil.net/2008/10/recover-your-crashed-windows-in.html</link><author>noreply@blogger.com (Nuhil Mehdy)</author><thr:total>16</thr:total></item></channel></rss>
