Download the favicon icon from any website

It is possible that you might like a favicon (yes the logo icon that is displayed in the browser tab) of a certain website. Now, normally most of the websites store it in the form of favicon.ico in the root directory of any website. So, you can just type in: and download it when it appears in the browser.

But, not all the websites store it this way. If you find it hard – let it be done by Google. Just type in the following link in the web browser – and it will show you the favicon.ico:

To get the favicon for a domain, use

To get the favicon for an URL, use


Replace with the actual domain from which you’d like to download the favicon from.

SOLUTION!! How to find out the Windows key used in the computer



  • You may be planning to re-install the windows. You may have lost the key.
  • You may be selling your computer and buying a new one – but want to retain your copy of windows.

No Worries. You can retrieve your key from the computer. In this case you’ll need a running windows to get the key.

Copy and paste the following into a Notepad, save the text file and rename the file to “productkey.vbs”:

Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))

Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Cur = 0
x = 14
Cur = Cur * 256
Cur = Key(x + KeyOffset) + Cur
Key(x + KeyOffset) = (Cur \ 24) And 255
Cur = Cur Mod 24
x = x -1
Loop While x >= 0
i = i -1
KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
If (((29 - i) Mod 6) = 0) And (i <> -1) Then
i = i -1
KeyOutput = "-" & KeyOutput
End If
Loop While i >= 0
ConvertToKey = KeyOutput
End Function

Now run the file “productkey.vbs”. You should see something like this:

how to find out retrieve windows serial key from computer

Note it down and save it somewhere. Good luck.

Dhaka city – Only one main road connecting North & South

Commuters from Uttara to Motijheel know what it takes for them to reach their destination in rush hours. It is hard to believe that our urban planners couldn’t make a parallel lane to the Uttara – Motijheel road. Yes there are branch roads one through Kuril Bishwaroad and another one through Mohakhali Tejgaon – but still – Uttara to Kuril – ONLY ONE CONNECTING ROAD.

There was probably no need to write this article – but one recent incident on 14th & 15th October – Chinese President’s visit to Bangladesh is an eye opener for our urban planners. Chinese President was staying at Le Méridien Dhaka – which is located on this road. It is understandable that to ensure security for this VVIP – the security agencies needed blocking this road. But what is not understandable is that – this road is the only road through the city which connects the Northern and Southern part of the city. Not only that – the road is vital as Country’s largest Airport is located by this road. This road also connects few other Highways – such as:

  • Dhaka – Mymensingh Highway
  • Dhaka – Sylhet Highway
  • Dhaka – Jamuna Bridge Highway

Blocking this road entirely – means blocking these highways and blocking the way of Airport goers as well as blocking the commute from Uttara to Southern part of the city. This is insane!! The whole city had to suffer on those two days (14, 15 October 2016). Please have a look at the following map:


The problem on those two days were not only for North to South commuters. Since this road divides the city in two parts – East and West and people from both side needs to use this road to go to other sides – blocking this road means blocking East West crisscrossing too.

What on our policy makers’ minds go through when they plan to reside Chinese President Le Méridien Dhaka??? Couldn’t they imagine the consequences?? The VVIP not only stayed on that hotel – he had to use the road to attend all the programs and most of them were in the middle of the city.

Now this incident is an eye opener for our Urban planners to think seriously about the issue. It is understandable that not every day VVIPs will stay in Le Méridien Dhaka – but some other incidents may take place (For example, PM or VVIP Leaders are welcomed when they return from foreign trip) which can cause the road block. Moreover, in few years time twice the number of people will start living at Purbachol – so add those people in the number who will be using this road!!

It is time Government should take this issue seriously and try to build more roads connecting North to South. We have seen building flyovers are not even working since those do not have enough connecting roads which will make room for the transportation. There are still some less occupied areas through which roads can be built. These roads will definitely help reduce the pressure on the Airport road and moreover act as redundant connectivity from north to south.

Hasibul Islam


How to remove Malware from WordPress sites

WordPress has made the web designers’ lives easier. It has reduced the web development time & cost drastically. The CMS is so powerful that more and more people are converting/migrating their sites to WordPress. With ease comes the danger of being compromised. If compromised – your site will not function properly. It may leak your confidential information, give access to spammers and use your hosting account for spamming, give access to hackers who may upload files to run phishing attack.

Let us first know why a wordpress website gets hacked – gets infected to malware.

WordPress website becomes vulnerable due to the following reasons:

1. WordPress is not updated
2. Plugins are not updated
3. The administrator username passwords are too easy.
4. The computer used to administer the wordpress site (Admin area & cPanel/FTP) is itself infected to viruses.
5. Use of nulled / pirated templates or Plugins – in which codes are embedded which gives the hacker the access.
6. Presence of other hacked script/website in the same hosting account.
7. Unsecured Web hosting. (Poorly configured server, easy guessable passwords etc).

How to identify your WordPress website is hacked or have malware in it?

The website will start behaving abnormally. The website may go blank, break or become very slow. The hackers may get access of your web hosting account and may upload their own scripts and start spamming or create phishing pages. Your web hosting account will be exhausted and your hosting company may suspend your account for resource over usage and spamming. These are some of the symptoms your WordPress is being hacked. If you dig deeper and want to be sure – you need to check the files of your WordPress system. You may find unknown folders (Directories) and files. That’s not it!! Many of the php files (Mostly theme & Plugin files) may contain malicious code in those.

How to clean the WordPress website:

1. First and most important step is – make your computer / work station secured. This includes – having a very good antivirus / Internet security system. Get one (Kaspersky, Bitdefender, AVG, Norton … bla bla bla) if you do not have it yet. Make a full system scan and get rid of any threats (viruses, Trojans).

2. Download the WordPress website in your computer (using FTP or Control panel File Manager). To reduce the time – you may Zip (compress) the full site if you have a control panel in your hosting and if it allows compressing.

3. Extract the folder – if you’ve downloaded a zip copy. Keep the zip file as backup and do not delete it – so that you can use it if anything goes wrong when you try to fix the site. Take a backup of your database too. Now, go into the extracted WordPress folder.

4. The next part is cleaning the malicious code. This is a bit tricky part. There may be hundreds of hundreds of files which may contain malicious code (hacker embedded code). Mostly the php files in the Themes and plugins get infected. But php files in other directories may get infected to. I will show you a trick which will help you get rid of these codes within few seconds.

a. You’ll need Adobe’s Dreamweaver tool or something with similar features. You can download Adobe Dreamweaver Trial from this link.

b. Now you need to find a file which contains malicious code. Go to the active theme folder under “wp-content” >> “Themes”.. Then open the index.php file using Dreamweaver. The malicious code should be either at top or at the bottom and should look like this:

malicious code in wordpress php files

Malicious Code

All the infected files should contain the same code. If you carefully look in the picture above you’ll notice that the malicious code starts and ends with “//###==###”. The code can vary from what you see in the above picture – but it will be something like this. You’ll need to remove this chunk of code from all the files.

Copy malicious code in wordpress php files

Copy Malicious Code

c. You have to use the Find & Replace function in Dreamweaver. Copy the malicious code (starts and ends with “//###==###” in this case). Now press “CTRL + F” and the Find & Replace option should appear.

d. Paste the malicious code in the “Find” box and keep the “Replace:” Box empty. Now you have to choose “Folder..” option from the drop down menu “Find in” and “Source Code” option from the drop down menu “Search:”.

search and replace malicious code in wordpress php files

Find and Replace malicious code with empty box

Now you have to choose the search Destination Folder:

search and replace malicious code in wordpress php files in destination folder

Selecting the folder in which it will search for malicious code.

Choose the root directory of wordpress site from your local machine. Now press the “Replace All” as shown in the “Find and Replace malicious code with empty box” image. This will wipe off the malicious code from all the files. Now you need to save all the files from “File”>> “Save All” option. You are done with Malicious code removal!! Congrats…

5. The next step is cleaning all the hacker uploaded folders. Your basic wordpress website should have 3 folders in the root folder. wp-admin, wp-content and wp-inlcude. You might have a look at other folders in the root directory and consider removing those if you are sure those doesn’t belong to your website. You can replace all the files and folders from a fresh copy of WordPress except the wp-content folder and wp-config.php files. Remember, If at any stage the website breaks – you have the zip file (mentioned in step 3) as backup.

6. Now you’ll have to prepare your hosting account for re-uploading the cleaned website.
a. The first thing you need to do is – delete all the files of your wordpress site from your hosting account.
b. Change the password of your hosting accounts and change the password of any other FTP accounts in that hosting account.
c. Upload the cleaned WordPress files.

7. After re-uploading the site if it runs properly do the following:
a. Update the wordpress to the latest version.
b. Remove any unnecessary plugin. If you are unsure about which ones are unused – you may skip this step.
c. Update all the plugins & Templates.
d. Change WordPress username and password to a complex one. Do not keep “admin” your username.

8. You need install some third party plugin to harden the site security. For example, you may consider installing ALL IN ONE WP SECURITY & FIREWALL. It will require me to write another similar post to describe the features and performance of this plugin – For now, let me assure you that this is one plugin which will make your website very secure.

all in one wp security and firewall for wordpress protection

It will show you, protect your site and will keep your sites and plugins updated automatically. It can also change the admin directory of your wordpress site changing the admin login link– which will reduce the Admin login attack in your site. There may be other similar plugins with same functionalities. You need to implement this kind of plugins to make and keep your site secured.

9. Take help from professional WordPress malware solution provider: You can take help from professionals who provide WordPress malware removal solutions. WPMalwares is such a provider. These guys are wordpress security specialists and can solve your problem at a very low price. You can save your time for something more important and leave your headache to these guys. They will fix your site and will provide you free support for one year. Moreover, they will add extra layers of security on your website. WordPress Malware removal

For details – please visit:  WordPress Malware removal

Feel free to comment if you think I have missed any point or if there are better ways to clean and protect wordpress websites. I will include your suggestions in the main post with your name and link.

wp-goodluck!! 🙂

সংঘাতময় পৃথিবীতে পারমানবিক বোমা – এবং এ পি যে আব্দুল কালাম

ইতিহাসের ভয়াবহতম আবিষ্কার হলো আনবিক / পারমানবিক বোমা। এর প্রয়োগ কত ভয়াবহ হতে পারে তা বিশ্ববাসী দেখেছে হিরোশিমা এবং নাগাসাকিতে। বিশ্বের অনেকগুলো প্রভাবশালী দেশ এখন এই ধরনের বোমার মালিক। এর মধ্যে আছে আমাদের প্রতিবেশী দেশ ভারত এবং পাকিস্তান।

হিরোশিমা এবং নাগাসাকির পর আর কোথাও – কোনো যুদ্ধে এই ধরনের বোমার ব্যবহার হয়নি। অবাক করার মত ব্যাপার হলেও সত্য যে এই পারমানবিক বোমা পৃথিবীকে অনেক বড় বড় যুদ্ধ হওয়া থেকে বাঁচিয়ে দিয়েছে। এখনকার পারমানবিক বোমা / অস্ত্র – হিরোশিমা এবং নাগাসাকিতে ব্যবহার হওয়া বোমা গুলো থেকে অনেক অনেক গুন শক্তিশালী। এগুলোর ধংসের ক্ষমতা ও অনেক গুন বেশি। আর এই ধংসের আশংকা থেকে অনেক দেশ – আন্তদেশীয় সংঘাতকে চূড়ান্ত যুদ্ধে রূপ নিতে দেয়নি। কেননা তারা জানে চূড়ান্ত যুদ্ধে পারমানবিক বোমার ব্যবহারের সম্ভাবনা থাকে – আর সেই থেকেই তারা যুদ্ধ পরিহারের দিকেই মনোযোগ দেয়।

আগেই বলেছি আমাদের প্রতিবেশী ভারত এবং পাকিস্তান এই ধরনের পারমানবিক বোমার গর্বিত মালিক। চির বৈরী দুটো দেশ – পারমানবিক বোমার মালিক হওয়ার পর তাদের মধ্যে যুদ্ধের সংখ্যা কমে আসে এবং কখনো কোনো যুদ্ধ বড় সংঘাত এ রূপ নেয়নি।

সুতরাং দেখা যাচ্ছে পারমানবিক বোমা এখন পর্যন্ত যতটুকু ক্ষতি করেছে – তার চাইতে অনেক বেশি ক্ষতি কমিয়েছে।

Dr. A P J Abdul Kalam - Ex President of India - Missile Man

ভারতের পারমানবিক গবেষণা এবং পরমানু বোমা বহনকারী মিসাইলের জনক “মিসাইল ম্যান” নামে খ্যাত এ. পি. জে. আব্দুল কালাম আজ (২৭ জুলাই ২০১৫) সন্ধায় শিলং এ একটি অনুষ্ঠানে বক্তৃতা দানকালে হার্ট এটাক এ ইন্তেকাল করেছেন (ইন্নালিল্লাহি ওয়া ইন্না ইলাইহি রাজিউন )। তিনি শুধু একজন সফল বিজ্ঞানীই ছিলেন না – একজন সফল রাষ্ট্রপতি (২০০২ – ২০০৫) ও ছিলেন। তার জীবনাদর্শ এবং মহান উক্তি সব সময় মানুষকে উদ্বুদ্ধ করে। ভারতের মত একটি হিন্দু রাষ্ট্রে মুসলিম রাষ্ট্রপতি হওয়া – তার অনন্য কীর্তিরই প্রতিফলনসরূপ। নিশ্চিত ভাবেই – এই উপমহাদেশে শান্তি স্থাপনে তার অবদান চিরসরণীয় হয়ে থাকবে।

Disable / enable WordPress comments from phpMyAdmin

WordPress comments option is often not needed for our website. It is also true that we often forget to disable the commenting option. As a result – spammers fillup your website with garbage/spam comments to create backlinks of their website. You can always disable the commenting option from the wordpress admin dashboard. But assume you are a web hosting provider and you found one of your client’s WordPress site is quickly filling up with spam comments. You may not have wordpress admin password of your client’s website. In this case you can quickly disable comment option by using a small query in phpMyAdmin panel.

You need to follow the following steps:

1. Go to the phpMyAdmin panel from your hosting control panel.

2. Locate the wordpress database in the drop down list in the left panel and click on it.

3. Now click on the “SQL” tab in the navigation panel in the right page.

4. Within the “Run SQL Query” box, paste the following code:

UPDATE wp_posts p SET comment_status = ‘closed’, ping_status = ‘closed’ WHERE comment_status = ‘open’;

(Replace “wp_post” with the appropriate prefix of the wordpress table)
If successful, you should have disabled the ability to comment on your posts across your entire blog. To re-enable the commenting run the following SQL query the same way you ran the comment disable query:

UPDATE wp_posts p SET comment_status = ‘open’, ping_status = ‘open’ WHERE comment_status = ‘closed’;

(Replace “wp_post” with the appropriate prefix of the wordpress table)

Delete all pending spam / comments of WordPress from phpMyAdmin

We do not really need wordpress comments option for websites most of the times. After developing a website in WordPress we often forget to disable comments. And that is what attracts the spammers. Spammers fill out comments option with bots and tries to create backlinks from your website. These garbage comments also increases the database size and creates pressure on the server. The comments option in WordPress doesn’t allow us to delete more than 20 comments at a time. If your website has been bombed with spams – it may have thousands of them before you realize those are there. So it becomes a hectic job deleting 20 such comments from the WordPress dashboard.

In such circumstances – you may delete all of those spam comments from the phpMyAdmin panel or using MySQL queries in database tools. Here is how you may delete such spam comments from the phpMyAdmin:

1. Go to the phpMyAdmin panel (Most of the hosting platforms offer it).

2. Click on the database in the left panel (you may have other databases there)

3. Click on the “wp_comments” table in the left panel or in the main page in right. (Assuming database table prefix is “wp”. replace “wp” to whatever else you have set as database prefix).

4. Now in the right side page – click on the “SQL” tab at the top.

5. Now run the following query:

DELETE FROM wp_comments WHERE comment_approved = 0

(replace “wp” with the table prefix you have in your wordpress database)

The above query will delete any comment which you haven’t approved.

BTCL Reduces bandwidth cost by 41% – Effective from 1st April 2014

Good news for Bangladeshi Internet users!! BTCL has further reduced the price of Submarine cable (SEA-ME-WE4) IP Bandwidth. Effective from April 1st – users will be able to get 1 Mbps (MegaBits/second) dedicated bandwidth at only Taka 2800 per month. It was Taka 4800 per month per 1 Mbps previously.

This will be applicable to all BTCL customers (Home, corporate and Resellers).

This surely will have a very good impact on the ICT sector of Bangladesh. But a lot will depend upon how the ISPs react to this new pricing. Surely they won’t cut the pricing by 41% and reduce their revenue as they have other operational costs. Rather they’ll probably increase per user bandwidth or give more GBs of data transfer to volume based Internet clients.

This indeed is an appreciable initiative by the Government. I believe our new young ICT State Minister Mr. Palak has some influence in this.

Bangladeshi mobile operators hold a major share of Internet distribution channel. It will be interesting how these mobile companies rearrange their Internet service offers after this price reduction. Most of the companies are selling 1GB volume at around 300 Taka which is sky high compared to BTCL Bandwidth cost. The real benefit of this price reduction will be ensured if the mobile phone operators reduce their Internet prices. Because – Internet through mobile operators are still the easiest way for general people to be connected to the Internet.

জাতীয় সংগীতের রেকর্ড এবং আমার ভাবনা…

সব চেয়ে বড় মানব পতাকার রেকর্ড কোন দেশের – বলতে পারেন? বাংলাদেশ? জি না। পাকিস্তানের। এই কয়েকদিন আগে রবির কর্পোরেট ভাউতা বাজির সাথে তাল মিলিয়ে আমাদের দেশের সরকার এই রেকর্ড টি করে গিনিজ বুক অফ ওয়ার্ল্ড রেকর্ড এ নাম উঠায়। দুঃক্ষ জনক বেপার হলো মাত্র কয়েকদিনের মাথায় ই পাকিস্তান (গত ১৪ ই ফেব্রুয়ারি ২০১৪) এই রেকর্ড টি ভেঙ্গে ফেলে। এই ধরনের রেকর্ড এর পিছনে কি স্বার্থ থাকতে পারে আমি জানি না। কিন্তু জাতি হিসাবে দেশ প্রেম বা দেশ এর প্রতি শ্রদ্ধাবোধ প্রমান এর যে এটা কোনো ভালো পন্থা নয় তা বোধ করি আমাদের মোটা মাথার নেতানেত্রীরা বুঝে ও না বুঝার চেষ্টা করে যাচ্ছেন। এটা খুব ই স্বাভাবিক, কারণ – নিজেদের কে জাহির করতে এবং মানুষ এর চেতনা নিয়ে খেলা করতে এরা ভালো ভাবে ই জানেন। এই চেতনা ব্যবসা ই তো এই মুহুর্তে তাদের একমাত্র অবলম্বন।

৯০ কোটি টাকা ব্যায় করে সব চেয়ে বেশি সংখ্যক মানুষের একত্রে জাতীয় সংগীত গাওয়ার এই যে মহাযজ্ঞ – এটা কত টুকু যৌক্তিক তা আমার মাথায় আসে না। এটা থেকে আমাদের প্রাপ্তি ই বা কি তা ও পরিষ্কার নয়। এটা যদি আজকে আমাদের জাতির জন্য খুব গর্বের কিছু হয় তাহলে কালকে যদি আবার পাকিস্তান এর চাইতে ও বড় জমায়েত নিয়ে আমাদের রেকর্ড ভেঙ্গে দেয় তাহলে কি আমরা আবার চেতনার দিক দিয়ে পিছিয়ে যাব? সত্য কথা হলো দেশ প্রেম বা জাতিগত উদ্ত্কর্ষ প্রমান এর এটা কোনো পন্থা ই নয়। এই ৯০ কোটি টাকা দিয়ে অনেক জনকল্যাণময় কাজ করা সম্ভব। বিশেষত, এখনো যখন দেশ এর একটা বৃহদ অংশ অতি দরিদ্র – বিশাল ওই অর্থ সেই সব মানুষের দারিদ্র নির্মূল এ ব্যায় করলে সত্যিকার জয় হত। আল্লাহ এইসব মোটা মাথার চিকন বুদ্ধি ওয়ালা মানুষ গুলোকে হেদায়েত দান করুক – আমিন।