Category: Php

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 Generate and Configure Htpasswd Password In Linux For Apache and Nginx Server?

Today world is insecure. We have to provide different type of security measures like authentication. In HTTP servers like Apache or Nginx we can use HTTP Basic Authentication. HTTP Basic Authentication is authentication protocol provided by web server. We can use htpasswd tool to create HTTP Basic Authentication Database and...

Php – Introduction To Object Oriented Programming 0

Php – Introduction To Object Oriented Programming

[rps-include post=6522] 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...

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

[rps-include post=6522] 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...

0

Php – Date and Time

Php provides very enhanced date and time functions. There are a lot of different use cases for date and time functions. We will try to look most of them in this tutorial. Date() Function date() function is used to get date in different formats. date() function can be used to get...

0

Php – Class

[rps-include post=6522] Php programming language supports most of the Object Oriented Programming concepts. Object Oriented Programming provides a lot of useful features to manage big and enterprise applications. Object Oriented Programming Object Oriented Programming or OOP is a concept that provides different features to implement real world problems. Up to...

0

Php – Functions

[rps-include post=6522] Up to now we have write simple and little codes but a real applications can not be accomplished with this type of code. We need to write a lot of code and use some part of the code again and again without same copies. Functions gives us the...

0

Php – While and Do While Loops

[rps-include post=6522] In previous chapter we have looked for and foreach loops. In this chapter we will look another Php programming language loop while and do while loops. While Loop while loop iterates over given code block unless the condition met. The condition is checked in before every step. If the condition do not...

Enjoy this blog? Please spread the word :)