a digital blog

Archive

Page 4/4

MySql Prepared Statements with PHP

MySql, PHP, Tutorial

MySql Prepared Statements with PHP

This post explains about MySql Prepared Statements with PHP. A database is a store of information, but in a systematic way and it is a very tough job. Database accept many SQL queries concurrently and execute the queries as efficiently as possible. Processing statements can be an expensive operation but databases are written in such [...]

Read More »

HTACCESS, PHP

Hide .php extension with url rewriting using .htaccess

This post explains how to Hide .php extension with url rewriting using .htaccess file and also it will improve your Web projects security. For rewriting the URL, you should create a .htaccess file in the root folder of your web directory. And have to put the following codes into htaccess file. Sample .htaccess RewriteEngine on RewriteRule ^(.*)\$ $1.php [...]

Read More »
google map

Java Script, PHP, Tutorial

Adding Google Map to your website

Google Maps is a web mapping service application and technology provided by Google. Google Maps provides high-resolution aerial or satellite images for most urban areas all over the world. Adding a Google map to your web site showing your business location is easy and there is no cost to do this. I have recently developed a [...]

Read More »
Basic PHP Validations with regular expression

PHP, Tutorial

Basic PHP Validations with regular expression

This post explains about regular expression in PHP. Regular expressions were originally designed to help working with strings under Unix systems. Using regular expressions you can easily  find a pattern in a string and/or replace it if you want. This is a very powerful tool in your hand, but be careful as it is slower than [...]

Read More »
Upload Form using Ajax Jquery

AJAX, JQuery, PHP, Tutorial

Upload Form using Ajax Jquery

This post explains how to upload a form using Ajax, Jquery and PHP. JQuery provides a library for this purpose and ajaxForm is method for this. Submitting a form with AJAX doesn’t get any easier than this!   Download Link       Demo Link   Sample database design for table name contact. This table contains id (primary key), name, document, [...]

Read More »
Custom Error Pages Using HTACCESS

HTACCESS, PHP, Tutorial

Custom Error Pages Using HTACCESS

This post explains how to create Custom Error Pages with .htaccess mod redirection. Before trying this you have to enable mod_rewrite.so module at httpd.conf. For more information about htaccess and mod_rewrite go to my previous tutorial  http://www.91weblessons.com/what-is-htaccess We can  use custom error pages for any error as long as you know its number by adding the following code [...]

Read More »
SEO-Friendly-URL

HTACCESS, PHP, Tutorial

SEO Friendly URL using HTACCESS

This post explains how to create SEO friendly URL using .htaccess mod redirection. Before trying this you have to enable mod_rewrite.so module at httpd.conf. For more information about htaccess and mod_rewrite go to my previous tutorial http://www.91weblessons.com/what-is-htaccess SEO friendly are known to be better than Dynamic URLs because of a number of reasons 1. SEO friendly [...]

Read More »
htaccess

HTACCESS, PHP, Tutorial

What is HTACCESS

These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer. These facilities include basic redirect functionality, for instance if a 404 file not found error occurs, or for more advanced functions such as content [...]

Read More »

PHP, Tutorial

Getting the Real IP Address of Website Visitors in PHP

Most of us should be relying on the server side environmental variable REMOTE_ADDR solely for client IP addresses. But how to get the real IP address, when the user is visiting your website from a proxy server. Because at that time REMOTE_ADDR may not return the true IP address of the client. If your client [...]

Read More »
what is php

PHP, Tutorial

What is PHP and Why PHP is Popular

What is PHP PHP was originally created by Rasmus Lerdorf in 1995. At that time PHP stands for Personal Home Page and now PHP stand for PHP: Hypertext Preprocessor, a recursive acronym. PHP supports all the major databases like MySQL, Oracle, Generic ODBC,Informix,Sybase, Solid, PostgreSQL,  etc PHP has also attracted the development of many frameworks [...]

Read More »

Copyright © 91 Web Lessons - a digital blog