• How to Create Multiple Headers & Footers in WordPress

    By default, the WordPress header and footer are typically the same on every page of the site. But what happens when you want to create a landing page with a simplified version of both the header and footer? Or when you want to construct a brand new header but don’t want the public to see it until you are done? By using multiple headers and footers we can quickly and easily solve these problems. This post will walk you through the steps for creating multiple headers and footers on your very own WordPress site! Step One: Duplicate your header.php file and name it header-new.php. You can replace the word new with something that makes sense for your website. Step Two: Open up the Page.php file associated with the template that you want to use. Then replace the normal header code with the code below. Update the page…

    ...
    PHP,  Wordpress
  • What is Cryptography?

    Cryptography is about constructing and analyzing protocols that prevent third parties or the public from reading private messages. Various aspects of information security such as data confidentiality, data integrity, authentication, and non-repudiation are central to modern cryptography. Modern CRYPTOGRAPHY Prior to the modern age, cryptography was effectively synonymous with encryption, the conversion of information from a readable state to apparent nonsense. Modern cryptography is heavily based on mathematical theory and computer science. Cryptographic algorithms are designed around computational hardness assumptions, making the algorithms hard for adversaries to break. There exist information-theoretically secure schemes that probably cannot be broken even with unlimited computing power.

    ...
    cryptography
  • Blockchain – what is it and where is it used?

    Blockchain - in simple

    Blockchain – in simple terms, is a clearly designed database in which the requirements of building chains of operations are met. It can contain not only information about financial transactions but also a system that can be used as a long-lasting archive for information about all transactions performed. How blockchain works The work of the blockchain system can be represented on the basis of a bank cell that is accessible to all users, i.e. everyone can see, but only those who have access to it, or the one to whom the cell owner has granted this access can use. Structure and safety The blockchain structure is based on interrelated transactions and reliability of information, while there is no possibility to withdraw any block of information because all the others change, this eliminates the possibility of hacking theft and fraud. Security…

    ...
    blockchain
  • Google Presentation

    Google Presentation

    Google Presentation is a web presentation processing service. Do not replace MS PowerPoint, but there are useful features, for example, for teamwork. The presentation is available where there is Internet is placed on GoogleDisk. For example, when you need a business presentation on a business trip. You can only choose PowerPoint, but it is far from perfect.

    ...
    News
  • A loop inside a loop in PHP

    PHP Nested Loop

    Nested loops in PHP In This article we will talk about nested loops in PHP. A loop inside another loop is called a nested loop. Below we give some examples for illustrating the concept of nested loops and the convenience of their use. Nested WHILE loop in PHP: This cycle repeats WHILE our condition is true and checks the value with each pass at the beginning of the cycle, and if the condition is not true, the cycle will not be executed even once. Syntax of the while loop inside the while loop: An example of a nested while loop: output : i am programmer i am programmer i am programmer i am programmer Nested Do While loop in php The Do While loop is different from the While loop by one feature, it checks the truth of the expression…

    ...
    PHP
  • High-tech Russian robot Boris turns out to be actor in robot suit

    Russian Robot Boris

    The Russian robot Boris, presented at the forum “Future Intellectual Leaders of Russia”, was a man in a fancy dress “Robot” When the truth came out, russian the federal TV channel «Russia 24»  removed that video from their official YouTube account . Journalists presented it as “the most modern robot in the world” as well as much that Russia represents under the slogan “The best in the world” – it turned out to be fake.   As users wrote, there were no sensors visible on the robot, there was no information about it on other resources, or information about the development stages of the Russian Robot named Boris. Everyone understood that the robot on TV was an actor – animator in the “Robot Alyosha” costume. Perhaps, if the Internet was local in Russia (Russia wants to separate from the Internet…

    ...
    News
  • How to run php in javascript

       Topics with a title like this, I’m  often found on forums for programmer. And of course the beginners in web development is most interested in this.    We all studied, and the best step is to ask a professional about it, although on the forums in the Rf, the answer is given, after insults of the topic starter. PHP runs inside JS, and does it successfully, which is very often I used in my practice. Here is PHP and JS code example , probably the most relevant. First we have PHP inside HTML, then JavaScript inside PHP, And PHP variables inside js with concatenation operator. I hope everyone understood this, I tried to show the interaction of these programming languages with a very simple script as clearly as possible. Leave your questions and suggestions in the comments. Thank you.

    ...
    Coding,  JavaScript,  PHP
  • Google’s Chrome browser is now 10 years old

    For 10 years we have been using this browser, today, on the basis of the Chrome engine, my favorite browser is Opera. Google first released its Chrome browser 10 years ago today. Marketed as a “fresh take on the browser,” Chrome debuted with a web comic from Google to mark the company’s first web browser. It was originally launched as a Windows-only beta app before making its way to Linux and macOS more than a year later in 2009. Chrome debuted at a time when developers and internet users were growing frustrated with Internet Explorer, and Firefox had been steadily building momentum.

    ...
    Без рубрики