Month: August 2016

  • Validate Email Address [JavaScript]

    The following is a quick and dirty way to validate form input, using JavaScript, from a user to confirm that they are entering a value, which could be interpreted as an email address. The function below is meant to quickly and simply ensure that the value provided by the user contains the at ‘@’ symbol and a…

  • Sub-domain vs sub-directory

    Lately I have been seeing the terms sub-domain and sub-directory being used interchangeably in the context of hosting, but even though the former can point to the latter, they are not the same. A sub-directory is a file storage location/association in the hierarchy of the file system. A sub-domain is an address locator, which in…