AJAX uses an object of XMLHttpRequest for the communication between the application and the server.
Regular expressions is a special text string for describing a search pattern. Regular expressions are used to
1) Search a string inside a string
2) Replace strings
3) Split strings
4) Data Validation (email address, IP address)
.htaccess is a configuration file used in Apache Web Server. Apache detects and executes the .htaccess file if found. .htaccess file can be used to enable/disable additional functionality of apache web server. This file affects the files and sub directories in the directory it is placed in.
Below are the top 10 usage of htaccess files
.htaccess files are often used to provide security restriction for a particular directory. The .htpaswd file is used along with .htaccess file to password protect a directory.
You have written your first PHP script and seeing the code in the browser instead of running the script? Here are few quick tips that will help you fix this issue. Make sure you have a web server set up to run PHP. Even though most web servers support PHP, you can confirm it by […]
Object-oriented programming (OOP) is more advanced and efficient way of programming than the procedural style. OOP helps you in better code organization and reduces repeat of code. OOP concept was added to php5, to build complex and reusable web applications. The OOP in PHP starts by creating a class. Here is how we create a […]
Quick comparison between PDO and MySQL. 1) MySQLi supports only MySQL database where as PDO supports different database systems like Microsoft SQL Server, MySQL, PostgreSQL etc. 2) PDO supports named paramaters which makes it flexible and easier. MySQLi doesn’t support named parameters. MySQLi provides question mark parameter binding and we must keep track of paramater […]
First thing to do while troubleshooting your code is enabling error reporting.You can start by including the below two lines of code at the start of your PHP script. ini_set(‘display_errors’,1); error_reporting(E_ALL); There are four types of errors in PHP. 1. Syntax ErrorsSyntax errors are caused by typo in your code. A missing semicolon, parenthesis or […]
Web applications have become even more popular of late. The major advantage of having a web application are its easy of use, accessibility and platform independence. A web application can be accessed from any part of the world using any device that have web browser installed in it.
It is important to customize the third party applications such as Wordpress, Joomla, Magento etc. installed on your website to make it look exactly like your rest of the website design so that it looks like part of your website rather than a stand alone application.
Mobile Applications are becoming more popular day by day with the increasing use of smart phones and tablets. You would do well to get into the Mobile App market to provide your users the most convenient option to interact with you.