When the phpbb forum is posted, the SQL statement is written to the text file
so think of the previous Discuz6.0 forum post code backup code.
is in the post and reply, to record the update database data, create and write to a text file,
time (I basically once a day). Download this file with FTP, then delete the file on the server,
when you need to recover, such as space hanging out, unable to retrieve the backup file, import these backup SQL statements files in PHPMYADMIN, and try to restore the forum post.
[color=# 0000FF] to suggest that you first upload after the machine environment test is successful. Cover the file in the space. [/color]
open your forum directory /includes/functions_posting.php file
1 with Notepad, look up
[code]$make_global = false; [/code]
Bak_topic.txt.quot;.Quot; a.quot)) {
flock ($fd, LOCK_EX);
fseek ($fd, SEEK_END); Time, 0, 1, 0, 0, 0, 0,.Quot;.$data.#91;'post_id'.#93;..quot;'.quot;.$user-.gt; data.#91;'username'.#93;..quot;'.quot;.$user-.gt; dialectical; dialectical; dialectical; Quot; ','.quot;.$user-.gt; data.#91;'user_colour'.#93;..quot;''$subject', $current_time, $current_time, 0, 0, 0,'.quot;.$poll.#91;'poll_title'.#93;'poll_title'.#93;', 0, 0); Fclose ($fd);
}
/ / theme write to bak_topic.txt end [/code]
save the modified file.
2, let's test:
random post test, look at your forum directory is not a backup file?
bak_topic.txt
open to see, the inside of the SQL statements can be directly imported in phpMyAdmin.