Developer Blog
In this sense, we should continually be striving to transform every art into a science: in the process, we advance the art.

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.

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

-Would you be kind to me in which direction to go? -In the famous you, – replied the cat. -I don’t know it. -So, in the unknown. In any case, it is known that in a known time you will find yourself therrre or herrre,-purring cat. Nginx Installation: apt update apt install nginx Installing PHP

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()

If you were waiting for the right moment… It was him. Make a backup of the MySQL database, MariaDB: mysqldump -u username -p database_to_backup > backup_name.sql Restore from the dump MySQL, MariaDB: mysql -u username -p database_name < backup_name.sql

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

You will not have time to be attached to any pleasant, calm place, and already some voice makes you stand up and retire from it, as the hour of rest has passed. –Charlotte Bronte. Jane Eyre–Edward Rochester In case you need to reinstall postfix, spamassassin and dovecot in ubuntu, first remove: apt-get –purge remove postfix

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:// But the problem is that this base is for 2014 and it is already

Loading posts...
Sort Gallery