Category: Php

0

Returning Portion Of Specified String In PHP with substr Function

PHP programming languages provides a lot of different type of functions for string manipulation. In this tutorial we will look how to find some part of the given specified string or text. We will use popular function named substr() . Syntax We will start with the syntax of the substr() function. This...

0

How To Create phpinfo Pages?

PHP is very popular programming language used by a lot of programmers and web devleopers. During PHP application development we may need to get detailed information about the platform the PHP web server runs. This type of information is provided by phpinfo function. phpinfo() function provides information like PATH, User, Operating System,...

0

What Is Base64 and How To Encode and Decode Text?

Base64 is an encoding and decoding algorithm. We need encoding of some data in order to prevent storing and transmission problems. For example If we try to transfer binary data it may create and affect some network devices because of its data structures. Base64 is generally used different applications like...

0

What Is HTTP Error 500 and How To Solve It?

Http is worlds most popular protocol used in the internet to exchange data and run web applications. Http protocol also have standards. Http is stateless protocol which means separate Http request do  not have any connection with eash other. Http have mechanism to provide information about request which is called...

0

How To Execute Shell Commands with PHP Exec and Examples

Php provides web based functionalities to develop web application. But it also provides system related scripting and execution features. exec() function is used to execute an external binary or program from a PHP script or application. In this tutorial we will look different use cases and examples of exec() function...

0

How To Create Reverse Proxy with Nginx?

Nginx is very popular web server software. It has some advantages over Apache. Some developers and system administrators use Nginx with Apache to get more from advantages. Nginx Reverse proxy is very popular because of the speed provided by Nginx with files and directories by using threads. In this tutorial...

Php – Introduction To Object Oriented Programming 0

Php – Introduction To Object Oriented Programming

New generation languages like C++, Java, Python, C#, Php provides more features than old ones like C. One of the most popular features and concept is Object Oriented Programming or simply OOP . Php supports most of the generals concepts of OOP. In this tutorial we will look the OOP...

0

PHP Tutorial Index

PHP Tutorial Topics Introduction To PHP Installing PHP To Linux Installing PHP To Windows PHP Hello World Project with Eclipse PHP Syntax PHP Variables and Types PHP String Types PHP Numeric Type (Integer, Float, Double) PHP Boolean Type PHP Arrays PHP Operators PHP Ternary Operators PHP Constants PHP If..Elseif..Else Conditional...

0

Php – Ternary Operators

We have previously examined the if-elseif-else conditional statements. We know that these statements provides branching ability according to the conditions. While using this statements in single and simple situations it may become trivial task. Php provides an alternative way for a simple usage. This is called ternary operators. Syntax Syntax of...

Enjoy this blog? Please spread the word :)