Skip to the content

nano.cat

Snippets of Mălin Cenușă

  • Home
  • Categories
  • Malware Samples
  • mălin.ro
  • blackhat.pm
  • palma.solutions

Hide DIV on specific pages

Date: April 24, 2020
Tags: hide content, PHP
Categories: PHP, Programming & Scripting

PHP snippet to hide a specific DIV or content from specific pages:

<?php if (strpos($_SERVER[‘REQUEST_URI’],’/checkout/’) === false ||…

[root@nano.cat]# Check it out!

Error reporting in PHP

Date: April 23, 2020
Tags: error reporting, PHP
Categories: Programming & Scripting, PHP

<?php    
// Turn off error reporting    
error_reporting(0);    

// Report runtime errors    
error_reporting(E_ERROR |…

[root@nano.cat]# Check it out!

Snippets navigation

1 2
Newer snippets

Categories



© 2021 nano.cat. All rights reserved. Powered by WordPress.