1.8K Views
Recent Posts
Updated On Fri, Nov 04, 2022 (2 years ago)
<pre> <code class="language-html"><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Example</title> <style> /* Also works here */ a.not-a-class { color: blue; } </style> <body> <div style="color: green;"></div> <div style="color: yellow;">&l...
Updated On Fri, Nov 04, 2022 (2 years ago)
span.foo { background-color: navy; color: #BFD; } span.bar { background: rgba(105, 0, 12, .38); color: hsl(30, 100%, 50%); border-color: transparent; }
Updated On Fri, Nov 04, 2022 (2 years ago)
This is an example of code snippet how it display the content of you code (function () { if (typeof Prism === 'undefined' || typeof document === 'undefined') { return; } /** * Plugin name which is used as a class name for <pre> which is activating the plugin * * @type {string} */ var PLUGIN_NAME = 'line-numbers'; ...
Updated On Fri, Nov 04, 2022 (2 years ago)
<pre> <code class="language-html"><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="icon" href="assets/favicon.png" /> <title>Line Numbers ? Prism plugins</title> <base href="../.." /> <link rel="stylesheet" href="assets/style.css" /> <link rel="stylesheet...
Updated On Fri, Nov 04, 2022 (2 years ago)
<pre> <code class="language-javascript"> (function () { if (typeof Prism === 'undefined' || typeof document === 'undefined') { return; } function mapClassName(name) { var customClass = Prism.plugins.customClass; if (customClass) { return customClass.apply(name, 'none'); } else { return name; } } var PARTNER ...
Updated On Fri, Nov 04, 2022 (2 years ago)
<pre> <code class="language-css">// Variables $font-stack: Helvetica, sans-serif; $primary-color: #333; @mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; -ms-border-radius: $radius; border-radius: $radius; } body { font: 100% $font-stack; color: $primary-color; } .box { @...
Updated On Fri, Nov 04, 2022 (2 years ago)
<p>Protect fake email </p> <pre> <code class="language-javascript">function validate_email() { var request; try { request= new XMLHttpRequest(); } catch (tryMicrosoft) { try { request= new ActiveXObject("Msxml2.XMLHTTP"); } catch (otherMicrosoft) { try { request= new ActiveXObject("Microsoft.XMLHTTP"); } ca...
Updated On Fri, Nov 04, 2022 (2 years ago)
<p>Hacker can damage your website data, they redirect your DNS, use the bandwidth, add malicious data and use illegal activity by someone license so how we secure </p>
Updated On Wed, Nov 09, 2022 (2 years ago)
Let's create a login form page a user can login. <form class="modal-contentloginform" id="table" method="post" action="<?php echo BASE_URL . 'login.php'; ?>" onSubmit = "return validate()"> <div class="header_login"> <?php include(ROOT_PATH . '/includes/errors.php'); ?> <?php include(ROOT_PATH . ...
Updated On Wed, Nov 09, 2022 (2 years ago)
In previous post we design the login form, so finally implement PHP code // LOG USER IN if (isset($_POST['login_btn'])) { $email = esc($_POST['email']); $password = esc($_POST['password']); $time=time()-60; $ip_address=getIpAddr(); $check_login_result= "SELECT count(*) as total_count from login_log WHERE try_time&g...