• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

protect my blog content

phpjavascriptajax


PHP Snippet 1:

    * {
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: -moz-none;
        -o-user-select: none;
        user-select: none;
    }

PHP Snippet 2:

<body ondragstart="return false;" ondrop="return false;">

PHP Snippet 3:

@media print { * {display: none !important;} }

Related Snippets

Phpunit partial mock + proxy Entity

Additional price based on cart item count in WooCommerce

PHP: Print caught exception like Xdebug

Pages are working fine on localhost but not running on the hosting server

The "client_reference_id" argument is not passed

How to get the total hour from starting time to end time in php

mysql_result is defined but mysql_free_result warns it expected a resource

php curl requesting twice

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

XSS attack still works despite htmlspecialchars() doing its work

Hi, I am making a contact form thingy, and my php isn't working any reason why?

Insert database rows from columns of data from associative array of indexed arrays

Get WooCommerce product variation attribute terms in admin products general box

Must be of the type array, null given,

Laravel Mix Uncaught ReferenceError: $ is not defined

About Contact Privacy policy Terms and conditions