↓ Archives ↓

A new form of Spam | Trojan | Virus (posing as plugin installer - originated from Facebook Friend Feed)

People, there is a new attack site or link (originated from Facebook) with the following pattern  (emphasize on point 3 below, posing as Flash or other Plugin installer):

  1. It is posted on your friend feed because one or more of your friend's PC was attacked. (BTW, it may appear on your wall, even if you didn't click - in case the compromised friend of yours has the access to post on your wall. This normally happens through tagging. When the virus posts on your friend's wall, it may also tag you. So it will appear on your wall too. So if you fear that one or some of your friends FB account is compromised, then temporarily disallow him/them to post on your wall from Facebook privacy setting)
  2. Once you click the link, if you're logged-in on Facebook, it will post the same crap from your profile.
  3. You are logged in or not, in either case, it will try to play a video after that, and after a few seconds, it will say
    "Plug-in not installed, click to install plugin" - or something similar.
    It looks something similar, when your browser doesn't have Flash player installed.
  4. When you click this, it'll download and try to install an exe file which is actually some sort of Trojan | virus.

Continue reading →

Bangladesh in cricket worldcup: আসুন অসংযত আচরণ প্রতিরোধ করি

লেখাটা আরও আগেই লিখতে চেয়েছিলাম। কিন্তু হয়ে ওঠেনি। যারা এই লেখাটা এখন পড়ছেন তাদের সবাই মনে হয় এর বিষয়বস্তু সম্বন্ধে একমত হবেন। আর যারা একমত হবেন না, তারা মনে হয় এ লেখাটা কখনওই পড়বেন না। এ জন্যই "আমাদের সংযত আচরণ করা উচিত কি উচিত না" এ ব্যাপারে আমি খুব বেশি কিছু লিখবো না। খেলায় জিতলে জোর করে কারও গায়ে রং মাখা কিংবা শালীনতার সীমা ছাড়িয়ে গিয়ে কারও বিড়ম্বনার কারন হওয়া উচিত কিনা সে ব্যাপারে যেমন কিছু লিখব না, তেমনি হারলে সাকিব আল হাসান এর বাসায় কিংবা ওয়েস্ট ইন্ডিজ এর বাসে ঢিল মারা উচিত কিনা সে ব্যাপারেও কিছু লিখব না। Continue reading →

Use PHP MySQL date format correctly

If you ever try to format date in PHP and MySQL, using date (datetime or timestamp) value directly from MySQL to PHP date() function, then you'll get a Notice level error, something like this:

Notice: A non well formed numeric value encountered in ... .. .

Additionally, PHP date() will always return January, 01 1970 if MySQL date is directly used. It means, there is a difference between date in PHP and date in MySQL (i.e. they are not compatible). PHP date function accepts Unix Timestamp,  which is different from MySQL date types (DATE, TIME, DATETIME, TIMESTAMP etc.)

So if you want to change your default MySQL date format (the way it looks) to a more suitable formatting using PHP date() function, then you'll have to convert MySQL date to Unix Timestamp. Continue reading →

Should we index wordpress blog category and tag pages for search engine optimization (SEO)?

If you are running a typical Blog using WordPress, then the answer is no, you shouldn't allow search engines to index your category and tag pages (if you care about maintaining a higher SEO value).

Anyway, here is the reason : Continue reading →

How to run your first PHP CODE

Few beginners asked me this question, so here is the answer (I'll update this post from time to time to meet the visitors' interests):

The easiest way to start with PHP is using XAMPP Continue reading →

PHP include vs. require

PHP programmers regularly use the functions (or more appropriately language construct) include(), include_once(), require() and require_once(), to insert useful codes written in other files, in the flow of execution. Although these constructs are used quite interchangeably, there are actually significant differences among them, specially when you are building well designed applications. Although these differences are very well defined in PHP manual, I've noticed many programmers don't really consider them while coding. I hope this tutorial will help them towards a better coding practice. Continue reading →

Amazing Adobe Photoshop CS5 with content aware fill

How many times you've looked at a photograph and thought that if some particular junk was not there in the image, then it would be a masterpiece, or at least an excellent art work! And then, you wasted hours with your graphics editing software , only to find out that it was going to take lot more than just few hours of work. Well, watch the YouTube video below, I think the good old days are gone!

Continue reading →

Remove sub-domain access from Addon Domain

Most of the shared web-hosts that allow hosting of multiple sites from a single hosting account (like Hostmonster, CirtexHosting etc.) has a common structure. You'll have one main website or domain and all the other websites or domains will be added as Add-on domains from cpanel. This way you can host multiple websites from a single hosting account. However, this approach has a problem. With each Add-on domain created from cpanel, you also automatically get a sub-domain (almost in all cases). Now, the challenge is to using the Addon domain, without the auto created subdomain. This may be important for your website optimization. Continue reading →

Masking Test & Input Fields in Flash (Example)

This is the solution (with example demonstration) to Flash Text / Font masking problem. If you came to this page directly, then I suggest you read my Previous Post, which speaks about the problem. Otherwise follow the Tutorial. Continue reading →

Disable auto curly quotes in wordpress

After my last post about Changing WordPress URL, I found that a simple COPY/PASTE of the code I provided don't actually work, since WordPress converts straight single/double quotes to curly quotes. Although it looks good, but it doesn't work when used as CODE. See How to Fix this problem: Continue reading →

WordPress blog URL change

Few days ago I've changed my WordPress blog hosting from CirtexHosting to HostMonster. I've used CirtexHosting for 2 years and HostMonster for more than a year, mainly for development purposes. So perhaps, within a few days, I'll post a review about their performance. In short, both of them provide very good web hosting services. However, this post is not about the review, it's about the temporary problem I've faced while shifting this blog hosting. Continue reading →

Bloom Box - the new wow factor in Green Energy.

A U.S. based company has recently unveiled a new Green Energy source that is both cheap and efficient; And what more? -  It is supposed to transfer the energy wireless! They named the devise as Bloom Energy Server. Is this the long waited breakthrough in green and efficient energy source technology? Is this alternative to our petroleum dependence?

There is a video in cbsnews site, along with an article discussing just that. Cbs is calling it the "Magic Bloom Box!" Although, the original company likes to call it as "Bloom Energy Server".

Continue reading →