> >

When the Re: phpbb forum posts, the SQL statement is written to the text file.

time:12-04-17 forum:PHPBB forum program, plug-in collection and modification
  2, when replying to the old post, the same file title will also be inserted into the bak_topic.txt file, while the recovery will prompt the data line to exist and can not insert the data
[quote]#1062 - Duplicate entry'5261'for key'PRIMARY'[/quote]
simple solution: before the backup statement is added to delete the topic table, the current to insert Row data
[code]fwrite ($fd,
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

prev:2G memory bar 55 yuan next:no next
post comments
Notice



Approved   Utility tools or components, framewo...   Mother recorded the 44 weeping of he...   The 71 moments of survival of the po...   Post retirement pension crisis: perh...   How much do you know about the histo...
rand   The modification of the phpbb forum ...   PHPBB adds hidden tags to restore vi...   PHP framework, class library   Phpbb 3 display floor   Test backup function
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com