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

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 »

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 »

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 »