Programming

Anything related to programming, coding, configuration, tips and help


PHP loop through string

PHP loop through string - If you made it to this page, you probably want to know how to loop through a string in PHP and evaluate its every character. Let's say you have a string $string = "abcde", and you want to evaluate its every character and perhaps replace it with something. Looping through strings is very easy in PHP.

.


PHP display array content

How to display PHP array content is something that every developer asks sooner or later when playing and working with arrays in PHP. Displaying content of array in PHP is not so complicated for simple arrays, let's say for a single-dimensional array, but it can get nasty for multi-dimensional arrays. So, how to display content of a multi-dimensional PHP array?

.


How to check if string contains substring PHP

Once in a while we need to check whether a string contains substring, some other string or characters or a value. Checking for existence of a string (or substring) inside another string is easier than it might seem. The following article describes how to check for whether a string contains string in PHP, or simply said how to find string within string in PHP.

.


Favicon - how to create

Favicon is an acronym for favorites icon. Favicon is some times also called a website icon or urlicon. Favicon is a picture that is associated with a website. In most cases, favicon is a company logo. Favicon is the picture that visually represents a website.

.


What is heap and stack?

The stack is a place in the computer memory where all the variables that are declared and initialized before runtime are stored. The heap is the section of computer memory where all the variables created or initialized at runtime are stored.

.


ASCII table

ASCII is a standard for character encoding used by computers and communications equipment to represent text. ASCII is short for American Standard Code for Information Interchange. You can find the ASCII table below.

.


Carriage return and line feed problems

Line feed and carriage return are two different ways of how your computer sees the Enter key.

While for example the character M is interpreted the same way in Windows and in UNIX, the ENTER key is interpreted differently. This causes problems when transferring files and data from one platform to another one.

.


Line termination: line feed versus carriage return 0d 0a

Line feed and carriage return are two different ways of computer interpretting the ENTER key. Line feed and carriage return are two different ways how lines are ended in the computer language. Both the line feed and carriage return originate in the typewriter age.

.


What is a DLL Dynamically Linked Library?

A DLL Dynamically Linked Library is a Microsoft Windows file that contains functions, small programs, or routines designed to perform a specific class of operations that are common to many programs. These library files usually have a .dll extension.

.


Unregister library DLL

When you uninstall a program from your operating system, the uninstall process usually takes care of all the application files deletion, removal, unregistration, and other handling. However, in many cases, the uninstall process uninstalls the application files but does not do anything for the libraries.

.
.