Javascript did not always support multi-line strings. If you attempted to create a string variable using quotes, putting a line break into the source code would result in a syntax error. Recent updates to the language have added support for multi-line strings in Javascript. This…
GUID generation is relatively simple. It is a system that is used to generate unique values without having to keep track of the IDs you have generated previously. Although duplicates are possible, it is so incredibly unlikely, that it makes GUIDs an efficient and robust…
The tool below is a GUID validator. Paste your value into the box and it will check to see whether this is a valid GUID. These values are globally unique identifiers and must be formatted a certain way in order to be considered a valid,…
JSON is a popular alternative to XML where an object is stored in a string that can be deserialised and loaded into a class of any language that has a JSON parser to support it. .NET supports a dynamic class type that will allow you…
The standard ASCII table of characters will support the standard a-z with upper and lower case variations supported. There will be other characters that are normally found above the numbers on an English QWERTY keyboard. The ASCII table has a set of extended characters to…
I am using HTMLPurifier for PHP to ensure that all external links in a piece of HTML that the user provides have the nofollow tag. The problem Is that when I run the code, it will make all links nofollow, including those for my own…
Rather than having to use an include a statement to include every new PHP file I add to a directory, is there a way to tell PHP to just load all files in a directory. Some kind of recursive call to load everything.
Content that has been base 64 encoded is not permanently changed. The process of converting it back to the standard text it was originally is actually very simple. Executing a base 64 decode will allow you to convert a string back to a standard piece…
Base 64 encoding is common across the internet as a means to encode data for safer transmission in requests. Data that has been base 64 encoded is not secure and is not compressed. If you decide to use this, please be aware that this is…