Archive for March, 2019

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 […]

0
1
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