How to disabled Right click function in webpages?

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“> <html xmlns=”http://www.w3.org/1999/xhtml“> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <title>rightclick_disabled</title> </head> <body bgcolor=”#000000″> <script language=JavaScript> <!– //Disable right mouse click Script //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive //For full source code, visit http://www.dynamicdrive.com var message=”Function Disabled!”; ///////////////////////////////////…

PHP OOPS CONCEPTS WITH EXAMPLES

   PHP OOP Concepts Object Oriented Programming  is a paradigm which is nowadays the most popular way to develop any application and most of the modern day language is based on this paradigm. OOP or Object Oriented Programming PHP has so many features like: Class…

How to track the users IP and Stored in Database?

PHP CODING:- $ip = $_SERVER[‘REMOTE_ADDR’]; mysql_query(“insert into tbl_tracklog(tracklog_ipaddress) values (‘”.$ip.”‘)”); SQL DUMP:- CREATE TABLE IF NOT EXISTS `tbl_tracklog` (   `tracklog_id` int(11) NOT NULL AUTO_INCREMENT,   `tracklog_ipaddress` varchar(50) DEFAULT NULL,   `tracklog_datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,   PRIMARY KEY (`tracklog_id`) ) ENGINE=MyISAM  DEFAULT CHARSET=utf8…

Parameter passing one page to another page in PHP

index.php:- <html> <body> <form name=”form1″ action=”display.php” method=”post”>   <input type=”text” name=”var1″ value=””>   <input type=”submit” name=”submit” value=”submit”> </form> </body> </html> display.php:- <html> <body> <?php $variable_from_page1 = $_POST[‘var1’]; echo “<h1>”. $variable_from_page1.”</h1>”; ?> </body> </html>

PHP & MYSQL INTERVIEW QUESTIONS AND ANSWERS:-

What’s PHP ? The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. What Is a Session? A session is a logical object created by…

PHP INTERVIEW QUESTIONS & ANSWER?

1.Who is the father of PHP ? Rasmus Lerdorf is known as the father of PHP.             2.What is the difference between $name and $$name? $name is variable where as $$name is reference variable like $name=sonia and $$name=singh so $sonia value is singh. 3.How…

PHP interview Question and Answers

1)What is the difference between strstr & stristr? For strstr, the syntax is: string strstr(string $string,string $str ); The function strstr will search $str in $string. If it finds the string means it will return string from where it finds the $str upto end of…

PHP Interview Questions

What’s PHP ? The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications. What Is a Session? A session is a logical object created by…