Ahh, i forget about this sql query. Ok please close topic, my mistake wink

Hi smile

I found a little error in include/dblayer/mysqli.php, what error? Ok listen.
I use this database class on my page, when i turn on to see how many is querys i see 1 SQL QUERY, but I did not create any sql query.

   
I'm not sure, but in PunBB may add +1 empty query, ofc where User choise is db_type MYSQLI (config.php -> $db_type = 'mysqli';)

Please check this.

Forum core? where is "Forum core" tongue It is common.php?

Hi.

In \include\dblayer\mysqli.php we can see Query/Query build function:

#1
function query($sql, $unbuffered = false)

#2
function query_build($query, $return_query_string = false, $unbuffered = false)

Can anybody tell me when unbuffered is true?

OK, thanks for help big_smile

/Close topic ;-)

Ok, i have last question (i think so..:P)

In the prefix_online (structure) we can see "idle" please tell me, what is this?

Ok, can you tell me what is this csrf token ?
This is to update the list online & Status Online user?

Hi !

I have one question about some code from include/common.php.

if (!empty($_POST) && (isset($_POST['confirm_cancel']) || (!isset($_POST['csrf_token']) || $_POST['csrf_token'] !== generate_form_token(get_current_url()))) && !defined('FORUM_SKIP_CSRF_CONFIRM'))
    csrf_confirm_form();

Where i found a $_POST['confirm_cancel'] ? and this constants "FORUM_SKIP_CSRF_CONFIRM" ?

/Sorry for my English tongue