Category Archives: PHP

php tutorials
PHP stands for PHP Hypertext Preprocessor. PHP is a widely-used, opsource scripting language. It is similar in syntax to C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly .PHP scripts are executed on the server and return the html or plain text to the browser

There are various reason why PHP is so famous and used in all web development projects. The largest blogging platform wordpress is built over PHP

1) it runs on various platforms (Windows, Linux, Unix, Mac OS X,Solaris,Exalogic,ibm etc.)
2) it is compatible with almost all servers used today (Apache etc.)
3) it supports a wide range of databases. It can connect to oracle,mysql,sqlserver,sqllite etc
4) it is free. Download it from the official PHP resource: www.php.net
5) PHP learning curve is quite simple and we can use it quite efficiently as a language of website

This catagory contains articles on all the features on PHP, PHP coding

Top 115 PHP Interview Questions you must know

Last updated on August 27th, 2017 at 10:24 amHere I have compiled a number of PHP Interview Questions. I have divided into several categories for better reading and understand General PHP Interview Questions Syntax PHP Interview Questions Session and cookies PHP Interview Questions mysql PHP Interview Questions General PHP Interview Questions 1) What is PHP? PHP is a web language based on scripts that allows developers to dynamically … Continue reading Top 115 PHP Interview Questions you must know »

Step by step guide to build local Apache PHP MySQL development environment on windows

A php developer would offcourse like to test the php file before deploying on the webserver.A local Apache PHP MySQL development environment on windows allows you to test your code as you develop your web application before publishing it to the web. This article will guide you through setting up a local Apache PHP MySQL development environment on windows Step 1. Download the installation files First of … Continue reading Step by step guide to build local Apache PHP MySQL development environment on windows »

PHP Functions with practical examples

Last updated on August 25th, 2016 at 09:47 amPHP has the function capability as available with other programming languages What is a function? A function is a piece of code which takes one more input in the form of parameter and does some processing and returns a value.Suppose you have to call a piece of code several times in the process,then function will be lot … Continue reading PHP Functions with practical examples »

Useful strings function in PHP

Here are detailed working on useful strings functions in PHP Function Description and working strlen() The PHP strlen() function returns the length of a string. The example below returns the length of the string “john” Example <?php echo strlen(“John”); ?> Output 4 Chr() Converts an ASCII value to its equivalent character Example The ASCII value 64 is the @ symbol <?php $str = chr(046); echo(“the … Continue reading Useful strings function in PHP »

include or require function in PHP with practical examples

Last updated on August 27th, 2016 at 05:34 amWebsite design require header,footer,side bar,right bar, ad bar on multiple pages.It is not possible to change these on thousand of web pages whenever we want to change anything. Include function in php  solve this problem. We can  use include function in PHP and include the content of a PHP file into another PHP file before the server … Continue reading include or require function in PHP with practical examples »

Awesome 10 good php file manager

Last updated on August 19th, 2016 at 06:19 pmThe good php File Manager allows you to manage your site through HTTP rather than an FTP tool or other third-party application. You can upload, create or delete files, organize files in folders and change file permissions. Folders and files may be displayed in a hierarchical tree based on their directory structure. Some php file managers contain … Continue reading Awesome 10 good php file manager »

How to use if else condition in php

Last updated on September 18th, 2016 at 08:39 amIntroduction to if else condition in php php programming like other languages have the conditional statement processing also.Conditional statement add intelligence to our scripts. This gives us the functionality to perform various command based on various conditions We will be working on if/then/else statement in this post i.e if else condition in php The basic format for the … Continue reading How to use if else condition in php »

Handling HTML forms with PHP

Today in this post, I would talk about Handling HTML forms with PHP.  A simple example would be registration form. Lets create a html form with php   <html> <form action=”register.php” method=”post”> <table border=0> <tr> <td><font face=”Arial, Helvetica, sans-serif” color=black size=-1> <b>Username:*</b></br> <i>It must be 3 or more characters in length <br> and may only contain letters and number</i></td> <td><input name=”userid” type=”text” id=”userid” maxlength=”30″> </td> … Continue reading Handling HTML forms with PHP »

Best PHP editor for windows

Last updated on September 18th, 2016 at 08:31 amWhy the need for PHP editor for windows It is often necessary to edit HTML, CSS ,PHP and JavaScript files while creating web sites. That is reason usable ide for php web development  should supply all those file types and provide full set of tools for effective development. In order to get success in developing PHP sites … Continue reading Best PHP editor for windows »

php array functions

Last updated on August 25th, 2016 at 10:20 amIn this post , we will be discussing the php array functions. As with any other programming language,PHP has its own array functions What is array: A array is the chain of values stored in single variable where values can be retrived based on there position in the array $arr ={a,b,c,d,e,f}; There are three type of array … Continue reading php array functions »

Php tutorial: Constant and echo-print statement

Constant  and echo-print statement Constants: 1) A constant is a name or an identifier for a simple value. It is defined using the define function and it does not start with $ sign define(“DBNAME”, TECH); 2) A constant value cannot change during the execution of the script. By default, a constant is case-sensitive. By convention, constant identifiers are always uppercase. A constant name starts with … Continue reading Php tutorial: Constant and echo-print statement »

PHP tutorial: Variables in PHP

Variables in PHP 1) As with other programming language, PHP has the provision to define variable and manipulate we have several types of variables in PHP,the most common used one is the string. It is use to store both the text and number all the variable start with $ sign Example $tot= “This is total”; $t1=123; Everything inside the double quotes is assigned to the … Continue reading PHP tutorial: Variables in PHP »