# Php Programming Code Examples

## Php > E-Mail Code Examples

### EMail class that supports MIME quoted printable encoding of message

Program Construct a Balanced Binary Tree - Construct a balanced binary tree using sorted array. Given binary search tree example. The preorder traversal of binary search tree is as follows. Create a new node and a balanced...

C Convert Binary to Octal Number System - In C program user is asked to enter the binary number and the program then converts that binary number to the octal number by calling a user defined function. To understand this...

C Code Find Reverse of String by Pointers - Input a 'string from user', store it in a variable say str. 'Declare another Array' that will store 'reverse of the string', say char reverse[SIZE]. Find Length of the string and store it in some

C code Existing Stream with Fifferent File - Open text file for reading, Create a text file for writing, Open binary file for reading, Create binary file for writing, Open text file for read/write, Create text file for read/write,

Checks Whether a Number is Prime or Not - A 'positive integer' which is only divisible by 1 and itself is known as prime number. So 13 is a prime number because it is only divisible by 1 and 13 but, 15 is not prime number because

Program Code to Reverse Copy Array in C - How to reverse copy array in C programming language. This program code shall help you learn one of basics of arrays. We shall copy one array into another array but in reverse.

C Code strlen Return the Length of Strings - C programming string function strlen returns the "length of the string". Program code print the Length of the string. It returns the length of the string without including 'end character'

C++ Sample Codes Implement Merge Sort - Merge-Sort is based on an algorithmic design pattern called Divide & Conquer. It forms tree structure. The height of the tree will be log(n) And we merge n element at every level of the