Programming / Scripts

How to make Microsoft Outlook prompt on empty subject?

It’s important and mandatory that the emails we send have relevant "subject" to it. Almost all email clients have this feature, where it will prompt user about the empty subject.

Unfortunately, when i started using Ms Office Outlook (previously i was using Thunderbird) as this is what my new company using, i notice that Ms Outlook doesn't prompt if i miss out the subject.

PHP 6 Review

Unicode support

When you're creating a website, you hardly have to think about the character encoding. You only have to decide how you tell the user agent what encoding you're using, but with a little help of Apaches .htaccess file, you only have to make that decision once. However, if you're building an application, the character encoding might become a problem. Thats where PHPs new Unicode support comes in handy. With its support, PHP can automatically encode and decode the in and output of the script making sure both the database and the user agent receive the encoding they need without the need of any extra functions for the encoding conversion.

The big cleanup

PHP is already being used for a long time, creating a big user base, but also a lot of bad habits. Bad habits often result in slow scripts or even security holes. But these bad habits are not always the cause of the developer. Of course, he (lets just assume were dealing with a stereotype developer here for simplicity's sake) is the one who's using it in his application, but sometimes the developer is not even aware hes using it.

PHP 6 Compatibility

If you want to make use of PHP 6 when it comes, you're going to have to write your new scripts so they are compatible, and possibly change some of your existing scripts. To start making your scripts PHP 6 compatible, I've compiled a list of tips to follow when scripting:

  1. Don't use register_globals. In PHP 6, support for register_globals will be no more. There will be no option to turn it on or off - it will not exist. This change should not affect you, as you shouldn't really use register_globals anyway. If you don't already know, register_globals puts $_REQUEST into the global scope, so you can access the variables just like any other variable. Instead, you should access inputed data like this:
  2.   $_GET['input'];
      $_POST['input'];
      $_REQUEST['input'];

Syndicate content