Development

Tips and articles about building web apps and mobile software

14 Effective Practical Security Tips for WordPress

WordPress is the most user-friendly expandable blog platform around. “With power comes more responsibilities”, says Spiderman’s uncle. So what if your valuable WordPress blog gets hacked? You will be literally devastated, violated, and humiliated. Now you need to know how an attacker or cracker hack or exploit your site.

  • They know about your security weakness points about your site
  • They know about the important directories are open and accessible
  • They know about the version of WordPress has security issues
  • They know what outdated unsecured plug-in you are using and they can take advantage of it
  • They will use brute force to attack your site login for random username and password
  • They know WordPress uses “Admin” as the administrator name, so they keep generating passwords and keep trying

So how do you overcome these situations? Well, you just need to tighten up the security principle to avoid these problems. These are very practical options to protect yourself from getting hacked. In truth, every protection can be broken but the point is not to cure but to prevent.

Read more

PHP Sendmail Setup with SMTP IIS and Windows Servers (Also XAMPP Windows)

Did you have problems setting up PHP on a Windows server that is running IIS and also running an SMTP server inside IIS? Have you faced problems sending mail from PHP scripts running on the IIS server with the IIS SMTP engine? By default, IIS doesn’t allow relaying SMTP emails if it comes from 3rd party products. So this problem is related to IIS SMTP “Relay Restrictions”. Sometimes some of my clients are using PHP on Windows servers using IIS 6 as the webserver. In Linux PHP supports the native Sendmail system from the OS itself. But in windows, you need to tweak your way to make PHP able to send out mail from localhost. If you are a .Net developer, you might already know that from ASP.Net codes or even Classic Asp code it’s just as simple as 1,2,3 to send out an email or use the IIS local SMTP server. Let me make it simple for you so that you guys can make use of the localhost server from PHP.

There is more information at the end of the article about using XAMPP Sendmail in Windows.

Read more

WordPress 2.5 – The Upgrade Resources

WordPress 2.5 Release Candidate 2 has been released and There are a lot of new features included within. Let me list down some of them:

The New Looks:

  1. New customizable dashboard.. yeah it’s more slick and organized now..
  2. Built in Image Gallery system, one click multi files uploader.. Check out the screencast by matt
  3. Categories in Editor interface also improved with multi-level and most used categories options.
  4. Changes in Editor interface, it’s possible to have full screen editor, a toolbar button to create a gallery

  5. The Manage screens have been redesigned and unified so that now, managing your pages, posts, media, and comments all use similar, consistent interfaces.
  6. Navigation bars has been improved for professionals and novices alike.
  7. The base code has been optimized for much more stable better performance.

Now you might be excited and obviously worried about the upgrade process on the road to wordpress 2.5 but it’s not a prime time to upgrade it.. Just take your time, download it, do the testing on your local server (you can use EasyPHP, XAMPP or WAMP for testing), test out your themes and check which plugins are not working. Here is a link roll to shorten your research about upgrading:

Read more

Clear All Requests Option for FaceBook

Sometimes it’s so annoying to see too many requests and all you can do to prevent that is to press ignore each one of them or go to the application and block it which is a painful process. Recently IgnoreAll.com came up with their javascript based browser bookmarklet that will click on all the ignore buttons on the requests page. So now Facebook introduces “Clear All” option if you have more than 25 requests on your request page.