open notepad copy paste the below line and save with .htaccess under root directory of your website.. ErrorDocument 404 "<H1>...
php 5 and 4 comparision
http://www.ntchosting.com/encyclopedia/scripting-and-programming/php/php4-php5-comparison/
How to merge two arrays in php
<?php $array1 = array( "color" => "red" , 2 , 4 ); $array2 = array( "a" , "b" , ...
How to combine two arrays in php
<?php $a = array( 'green' , 'red' , 'yellow' ); $b = array( 'avocado' , 'apple' , '...
What is AngularJS
AngularJS is a JavaScript framework. It can be added to an HTML page with a <script> tag. AngularJS It is used for SPA(Single Page A...
What is Native app
A native app , written for a specific hardware platform, will always run faster than a Web app , because there is no translation processing...
what is hybrid app development
Hybrid Mobile Applications. Hybrid development combines the best (or worst) of both the native and HTML5 worlds. We define hybrid as a w...
Method Overloading in PHP using magic methods
PHP Doesn't supporting polymorphism concept method overloading, Instead of this, php provides solution by the magic characters. In th...
PHP Method OverRidding example program
<?php echo "<br/>Method OverRidding supporting example<br/>"; class A { public function fun1($rec) { ...
Write a statement to show the joining of multiple comparisons in PHP?
PHP allows multiple comparisons to be grouped together to determine the condition of the statement. It can be done by using the following s...
How error handling is being handled by PHP?
Error handling is very important in every programming language. PHP uses the trigger to print the error in a program. The example statement...
How can we increase the execution time of a php script?
By the use of void set_time_limit(int seconds) Set the number of seconds a script is allowed to run. If this is reached, the script return...
What is difference between require_once(), require(), include()?
require() includes and evaluates a specific file, if the file is not found then it shows a Fatal Error. require_once() includes only the f...
The major types of Errors in PHP
Notices, Warnings, Parse and Fatal type errors in PHP. Notices: Notices represents non-critical errors, i.e. accessing a variable that h...
The Major Difference between ECHO and PRINT()
echo() and print() are language constructs in PHP, both are used to output strings. The speed of both statements is almost the same. echo...
What is full form of PEAR
PEAR(PHP Extension and Application Repository) is a framework and repository for reusable PHP components. PEAR is a code repository contain...
How to submit form without a submit button
We can achieve the above task by using JavaScript code linked to an event trigger of any form field and call the document...
Wordpress Slider Plugin
Huge IT Slider is one of the most preferable wordpress plugin, This HUGE IT slider has good rating, In my view its better to have if you wo...
FTP Configuration in Cent os,
vsftpd ( V ery S ecure F ile T ransport P rotocol D aemon) is a secure, fast FTP server for Unix/Linux systems. In this how-to artic...
How to Update Drupal Version
Instructions on how to update Drupal core with a newer version of Drupal of the same category or same base version [ ie Drupal 7.1 to 7.2 ...
How to Install Google Chrome Linux, Centos, Fedora and Ubuntu
Hi, To install the chrome for Centos, Fedora or linux, run the following commands at the terminal. # wget http://chrome.richardlloyd.org...
CREATE JAVASCRIPT PROGRAM TO CHECK IF USERNAME IS ANIL AND PASSWORD IS ANIL THEN DISPLAY WELCOME ANIL IN ALERT BOX IF THE USERNAME AND PASSWORD IS NOT ANIL THEN DISPLAY INVALID USER IN ALERT BOX
<html> <head> <script type="text/javascript"> function fvalidate() { va...
CREATE A JAVASCRIPT PROGRAM TO ACCEPT 2 NUMBERS FROM PROMPTBOX AND DISPLAY SUM, DIFFERENCE(SUBTRACT), MULTIPLICATION AND DIVISION BY USING FUNCTIONS
<html> <head> <script type="text/javascript"> var a=eval(prompt("Enter firstnumber:")); var b...
CREATE A JAVASCRIPT PROGRAM TO ACCEPT FIRSTNAME AND SURNAME FROM PROMPT BOX AND DISPLAY FULLNAME
<html> <head> <script type="text/javascript"> var fname=prompt("Enter firstname"); var sname...
CREATE A JAVASCRIPT PROGRAM TO ACCEPT USERNAME FROM PROMPT BOX AND DISPLAY WELCOME USERNAME IN ALERTBOX
<html> <head> <script type="text/javascript"> var username=prompt("Enter username"); var nam...
CREATE A JAVASCRIPT PROGRAM TO PRINT WELCOME TO JAVASCRIPT
<html> <head> <sript type="text/javascript"> <h1>WELCOME TO JAVA SCRIPT</h1> </script...
Create a HTML Program to divide the webpage into 4 Parts
<html> <head> <frameset rows="20%,*"> <frameset cols="30%,*"...
Find Server IP address in Linux
ifconfig eth1 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}' Run the above command @ terminal. It will shows you t...
CREATE EMPLOYEE REGISTRATION PAGE IN HTML
<html> <head> </head> <body> <form> Enter EmployeeName...
How to delete or clear history from Linux Terminal
$ history -cw Run this command into your terminal, you will found a result of clean history
Javascript Program to find which key press at keyboard
This is the basic javascript to find the ASCII code of key-code value <script type="text/javascript"> function displayuni...
How do I get mysql to startup at bootime on Linux or centos
Starting at Boot-Time If you want your mysql db server to continue running after a system reboot, you should add a call to apachectl to y...
How do I get apache to startup at bootime on Linux or centos
Starting at Boot-Time If you want your apache web server to continue running after a system reboot, you should add a call to apachectl to...
The Basic PHP oops concept example program
<?php class A { var $a = 10; public function printvalue() { echo $this->a; } } $a = new A(); $a->printvalue();...
What will happened if you are tring to connect with mysql db without hostname, username and password
I surprised by doing this, i just written code for mysql connectivity from php script by without specifying HOSTNAME, USERNAME AND PASSWORD...
is it possible to add a hyperlink to a facebook post..
Done a lot of research on this. Facebook doesn't seem to support the usual codes which create hyperlinked text (e.g. "click here...
Sendmail in linux or centos
To send mail from linux terminal the below is the command as example. To send mail from terminal you need to be login as a root or you mu...
Hide/Show Gnome or Cent Os Desktop Icons
Before we proceed, you have to install the gconf-editor package. On an Ubuntu box: $sudo aptitude install -P gconf-editor On a RedH...
CSS background image to fit width, height should auto-scale
The below is the syntax to adjust css background image auto width, height by auto scale for all platform browsers <style type=...
Popup Background transparent glass effect
To get background glass effect you can use this one as per requirements <div id="popUp" style=" background-color: rgba(...
Android Activity LifeCycle Program
The below is the Android Life Cycle, it explains how the execution flow in the android. Every Programing language has a life cycle. What ...
jquery.js vs jquery.min.js difference
Functionality wise both are same. The only difference is jquery.min.js is the compressed version of jquery.js.If you are working on dev...
Popular Posts
- Detecting the Ajax request in Core PHP
- Demanding a price for software development
- Payment Gateway Options and Pricing in India
- How to integrate SEND Grid with Codeigniter
- How to print document content with jquery
- Add one day to the today date in php
- File Upload Conditions helper in Codeigniter
- Address auto fill city, state, district, country, pincode
- Codeigniter 4 Email Code
- How do I run a PHP script using windows Task Scheduler?