Tag: How To

  • How to fix msvcp110.dll and msvcr110.dll error in Steam games?

    The msvcp110.dll and msvcr110.dll files are part of the Microsoft Visual C++ redistributable package for programs build in Visual Studio 2012. This package comes as two separate installers – one for 32-bit systems and one for 64-bit systems. In most cases Steam is supposed to check and install or prompt to install these packages, but…

  • How to use array element references inside query strings? [PHP]

    Using braces “{ }”, i.e. curly parentheses, will make your life very easy. The braces will allow you to use complex variable expressions inside strings. This is called complex (curly) syntax. In other words you are encapsulating your variable call structure so it is parsed by PHP before continuing with the string. If you are…

  • How to automatically redirect between HTTP and HTTPS [PHP]

    Using HTTPS allows for secure and encrypted communication between your web site and the visitor’s browser. Sometimes the transition doesn’t happen automatically so we need to enforce that secure communication between the server and the client, e.g. when using a shopping cart. One way to automatically switch from HTTP to HTTPS, using php, is a…

  • How To Split a Phone Number [PERL]

    Phone numbers, as we know, are most commonly made of three elements (area code) prefix-number. If your program or a script has to process phone numbers some times it is useful to separate the three elements and store them in separate variables. Below I will show you how you can achieve this in Perl using…