You can disable Ctrl + key combinations to protect your page. This will prevent user from copy and paste your web page.
<SCRIPT language=javascript type=text/javascript>
function disableCtrlKeyCombination(e)
{//list all CTRL + key combinations you want to disable
var forbiddenKeys = new Array(‘a’, ‘n’, ‘c’, ‘x’, ‘v’, ‘j’);
var key;var isCtrl;
if(window.event)
{key = window.event.keyCode; //IE
if(window.event.ctrlKey)
isCtrl = true;
else
isCtrl = false;
}
else
{key = e.which; //firefox
if(e.ctrlKey)
isCtrl [...]
Archive for March, 2009
Protect Copy of Data On Page
PHP – Working with Session
To start a new session you have to use the session_start() function.
session_start();
To check if a session variable exists:
if (!isset($_SESSION['variablename'])){
$_SESSION['variablename']=$valueofvariablename; //session not set;
} else {
$valueofvariablename=$_SESSION['variablename']; //session already set;
}
If you want to end the session as a whole you can use the session_destroy() function.
session_destroy();
Well.. I think that’s enough!
Corner Adorners For Web Design
Corner adorner in designing web has come to importance thing cause it will make your web looks better. For implementation of this, you can use rounded corner image as background or you can use javascript as I will explain below.
- MySQL Select Last n Records Without Changing The Order
- How to implement jQuery facebox plugin
- PEAR Install Spreadsheet_Excel_Writer
- PHP code to display Alexa rank
- PHP Configurations for Uploading File
- wp_insert_post could not insert post into the database
- PHP in_array() and array_search() functions
- Storing array data to MySQL using PHP
- How To Write print_r Output To File
- PHP Redirect Page
- mlotfi in Extjs PHP MySQL Simple Tutorial
- Nitin in Extjs PHP MySQL Simple Tutorial
- ber in Extjs PHP MySQL Simple Tutorial
- Avinash in PEAR Install Spreadsheet_Excel_Writ…
- paratenilesh in Extjs PHP MySQL Simple Tutorial
- yoube.info in Remove Mybrowserbar From My Browser…
- Alzuun in Remove Mybrowserbar From My Browser…
- RMK in Remove Mybrowserbar From My Browser…
- Laura in Remove Mybrowserbar From My Browser…
- Mitani in Remove Mybrowserbar From My Browser…
160,000 Per Month With Google AdWords.
Learn The Secrets I Use To Make Over $160,000 Every Single Month By Advertising On Google AdWords with G Money Pro.
Tiger Submitter
Tiger Submitter is a PHP Script for submit website to thousand web directories automatically. Tiger Submitter has cron job system that will submit your website to a thousand web directorys automatically.
Escalating Density Training by Charles Staley
Edt Training builds muscle and strength with a simple, easy to understand method.
- Remove Mybrowserbar From My Browser
- Javascript - Get URL Parameters
- Fireworks: Make Rounded Corner Edges Image
- Get Domain Name From URL Using Javascript
- Hp Proliant ml350 g6 Win2003 Server Setup Bluescreen
- Merge Table Cells Using Javascript
- Extjs PHP MySQL Simple Tutorial
- Wp-O-Matic Plugin Cannot Add Campaign
- Javascript: Open new window containing php page
- Mozilla Firefox Add-ons for Downloading YouTube Video
- check string convert ip to number convert ip to numeric value copy table to a new table copy table using mysql dll file domain name domain name from url Export Data fireworks horizontal line effect get domain from url get url parameters golfer social network import data javascript alert javascript alert method javascript dialogue box javascript get url parameter javascript load php page javascript open new window javascript open php page javascript pops up javascript prompt javascript tabbed page JQuery Example location href merge table cells Motion Trail Text mysql copy table mysql ip to number PC Router php compress file php create zip file php error PHP fatal error php how to upload file php ip to number php session how to php uploaded file rounded corner edges image url domain url domain name WinXP auto logon WinXP File Sharing zip using php