Facebook Twitter Reset

Adding Handlers Directly In httpd.conf Of Apache

Please dont do the below steps if you are not familiar with Apache and httpd.conf It may create errors if not done properly and your server might need a reinstallation. Hey guys here i am back again with another kind of approach for adding...

Adding apache handlers in cpanel

A “handler” is an internal Apache command that tells the Apache server software what action to perform when a file is called. Hi guys… Today i was trying to add apache handlers to one of my webserver through cpanel. I was actually...

“Header already sent” in php error and other use of Header function in PHP

  PHP main issue Header Already Sent Warning.Deal with it through an easy approach. “Header already sent” error and other use of Header function in PHP Useing the Header() function you can do the following things 1) Redirect...

Text Size Switching Using PHP

Change the text size in  your website with a simple script using php. Hi you must have come across many websites having an option to change the text size then and there itself wondering how it is done? Simple, here is the code which demonstrates...

How to run a SQL query in phpMyAdmin

How to run a SQL query in phpMyAdmin Objective: In this tutorial, you will learn how to run a query using phpMyAdmin for use in our other tutorials. Step 1: Create a database.Note:-If using cPanel, click MySQL® Databases, and create a new...

Reading file using php

Simple php code for reading lines Using the below PHP code you can easily read a txt file < ?php $file = fopen("mistonline.in.txt", "r") or exit("Unable to open file!"); //Output of the text file while(!feof($file)) ...

Creating random number using php

Here is the simple code to create random numbers in php, <?php srand((double)time()*1000000); echo rand(0,200); ?> OR <?php srand((double)microtime()*1000000); echo rand(0,100); ?> VN:F [1.9.13_1145]please wait...Rating: 0.0/10...

working with directories using php

Here we will discuss how to create directories, manipulate them etc using simple php script.A complete reference for php directory manipualtion. Let’s start with simple listing the contents of a directory. We need three functions to perform...

Getting Remote Webpage Info Using PHP

If you run any website that accepts submitted links, be it a tutorial website, a directory or a bookmarking site, you may find it useful to automatically retrieve information about a URL. Wouldn’t it be nice if you ran a web directory...

Total Number Of Rows In MYSQL

This tutorial will help you calculate the total number of rows in your MYSQL table with ease using simple php scripts. < ?php $link = mysql_connect("localhost", "root", ""); mysql_select_db("mails", $link); $result = mysql_query("SELECT * FROM...

Ajax Page With PHP

The AJAX HTML Page This is the HTML page. It contains a simple HTML form and a link to a JavaScript. First Name: <input type="text" id="txt1" onkeyup="showHint(this.value)"/> <p>Suggestions: <span...

Water mark images using PHP 5 and GD Library

All you have to do is just copy and paste the code below on to a file name in your localhost. Take two images any of .JPG OR .PNG OR .GIF Here for orginal image i have given the name as originalImage.jpg For water mark image i have given the...

PHP class simple tutorial

The Object of Our Affections Objects are really just a fancy variable type (as mentioned above) with some nifty features that come along with them. To create an object, you’ll need something called a class. Think of a class as the framework...
Affordable Seo PackagesSeo BlogEdu Backlinks