‘Many countries, or even parts of countries, adopt daylight saving time (DST, also known as “Summer Time”) during part of the year. This typically involves advancing clocks by an hour near the start of spring and adjusting back in autumn (“spring” forward, “fall” back).’ (see Wikipedia) Now I will demonstrate how we can convert a [...]

It happened for several times that I accidentally hard deleted a store folder in Microsoft Outlook Express 6 when trying to delete an email in that folder (both the folder and the e-mail looked like being selected, but it seems that the focus was on the folder and not the e-mail as I expected). Seems [...]

This is how I copied all the attributes of an XML node (srcXMLNode) to another XML node (dstXMLNode) in Flex, without knowing the names of those attributes: for each(var attr:XML in srcXMLNode.attributes()) { dstXMLNode.@[attr.name()] = attr; } And this is the way I added child nodes of an XML element to another: for each(var elem:XML [...]

Problem: Because I did not use Google Toolbar (it was automatically installed when I installed Firefox), I decided to uninstall it. I selected the Uninstall option in Tools -> Add-ons -> Google Toolbar in Firefox (Disable option being grayed) and it said that the toolbar will be uninstalled the next time Firefox will restart. So [...]

Problem: Using specific characters from European languages like Romanian, Bulgarian, Czech and so on (usually the ones without support in ISO 8859-1) rises errors when displaying the content in browsers turning special characters in unrecognizable ones. My fix for this problem is using UTF-8 character set encoding for every page of the website and the [...]

I could not receive a failure notice when sending email to an email address that does not exist ($to_address), using this code: $subject = “Email subject”; $message = “line1\r\nline2\r\nline3″; $headers = “MIME-Version: 1.0\r\n”; $headers .= “Content-type: text/plain; charset=iso-8859-1\r\n”; $headers .= “To: <$to_email>\r\n”; $headers .= “From: Me <$my_email_address>\r\n”; $headers .= “Return-Path: <$my_return_email_address>r\n”; mail($to_email, $subject, $message, $headers); [...]

My solution of checking/unchecking a group of HTML checkboxes using Javascript implies using an array of checkboxes, which means naming all the inputs of type ‘checkbox’ like array_name[]. Example: <form name=”cb_form”> <input type=”checkbox” name=”cb[]” value=”0″ />Zero <input type=”checkbox” name=”cb[]” value=”1″ />One <input type=”checkbox” name=”cb[]” value=”2″ />Two <input type=”checkbox” name=”cb[]” value=”3″ />Three </form> In this example, [...]