• 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

Symfony Mercure "Failed to send an update"

PHPSpreadsheet - How Do I Use Auto Migration Tool

Sort a multidimensional array by integer inside of a string value which is two levels down

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

image source not readable

Laravel : How to Create Dropdown to Select FOREIGN KEY from Other Table?

(Cache::lock()) -> get() -- Under what conditions does it return false?

How to render html from a @foreach loop in a textarea

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

Adding custom body class to the custom archive pages

Testing subscription renewals on Stripe

GRPC installed successfully on ubuntu but php is looking for it in another folder

Call authenticate manually in router middleware

ConstraintViolationListInterface to Exception in Symfony

Alert message after submitting form in PHP

About Contact Privacy policy Terms and conditions