Author Archive

March 22, 2019

|

Tags: mariadb, mysql, PHP, WordPress

|

Categories: MariaDB, MySQL, PHP, WordPress

To know the number of accesses to the database by your site on WordPress, you need to file the theme footer. php before the tag add the following code. <!–?php echo get_num_queries(); ?–> queries in <!–?php timer_stop(1); ?–> You will also learn the time spent on processing all calls to the DATABASE.

March 13, 2019

|

Tags: PHP

|

Categories: PHP

To measure the speed of page generation in PHP, insert the following code at the beginning of the script: // Breathing start time of page generation $start_array = explode(” “,microtime());$start_time = $start_array[1] + $start_array[0]; And at the end of the script we write this: // Calculating the speed of page generation $end_array = explode(” “,microtime());$time […]

February 2, 2019

|

Tags: PHP

|

Categories: PHP

… So we’re introducing a plan-intercept. Only immediately prepare a report that the plan-interception no results. The Lord of the Rings: the Two Towers In order to load the contents of a file and display it in a certain place of a Web page, you can use file_get_contents, but if the file loaded in this […]

January 24, 2019

|

Tags: JavaScript

|

Categories: JavaScript

If it’s more important than that between the lines, put the lines away. String comparison in JavaScript if(“text string”==”text string”) will not return true because In fact, not the strings are compared, but the addresses of those strings in memory. To compare a string, you can wrap it like this: new String(“text string”).valueOf(). if(new String(“text string”).valueOf() […]

December 13, 2018

|

Tags: NGINX, PHP, update

|

Categories: NGINX, PHP

NGinx-is a quick and easy Web-server, to install it you need to enter several commands in the terminal: sudo apt update sudo apt install nginx php-fpm Check the health of the Web server: systemctl status nginx In this case, change the file /etc/nginx/sites-available/default server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; index index.html index.htm […]

November 26, 2018

|

Tags: bot, Domains, PERL

|

Categories: Bot, Domains, PERL

There are situations when you need to find a free and short domain, for example, three-character. I chose the .net domain zone for myself Method One: On the internet it is possible to find not actual today bases, for example: Https://www.domainresearchtool.com/lists/net.zone.gz But the problem is that this base is for 2014 and it is already […]

0
2
image
https://inc1.net/wp-content/themes/vanguarda/
https://inc1.net/en/main/
#f0bd65
style3
scrollauto
Loading posts...
/var/www/inc1.net/
#
on
none
loading
#
Sort Gallery
on
yes
yes
off
off
off
en