Dat is helemaal niet nodig, die oplossing is alleen nodig als het echt niet anders kan. Je verliest er namelijk veel meer gegevens mee dan door gewoon even de queries die je nodig hebt laat uitvoeren, in dit geval:
Code: Selecteer alles
INSERT INTO forum_config (config_name, config_value) VALUES ('config_id','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_disable','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('sitename','yourdomain.com');
INSERT INTO forum_config (config_name, config_value) VALUES ('site_desc','A _little_ text to describe your forum');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_name','phpbb2mysql');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_path','/');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_domain','');
INSERT INTO forum_config (config_name, config_value) VALUES ('cookie_secure','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('session_length','3600');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_html','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_html_tags','b,i,u,pre');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_bbcode','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_smilies','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_sig','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_namechange','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_theme_create','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_avatar_local','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_avatar_remote','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_avatar_upload','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('enable_confirm', '0');
INSERT INTO forum_config (config_name, config_value) VALUES ('allow_autologin','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_autologin_time','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('override_user_style','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('posts_per_page','15');
INSERT INTO forum_config (config_name, config_value) VALUES ('topics_per_page','50');
INSERT INTO forum_config (config_name, config_value) VALUES ('hot_threshold','25');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_poll_options','10');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_sig_chars','255');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_inbox_privmsgs','50');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_sentbox_privmsgs','25');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_savebox_privmsgs','50');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_email_sig','Thanks, The Management');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_email','youraddress@yourdomain.com');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_delivery','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_host','');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_username','');
INSERT INTO forum_config (config_name, config_value) VALUES ('smtp_password','');
INSERT INTO forum_config (config_name, config_value) VALUES ('sendmail_fix','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('require_activation','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('flood_interval','15');
INSERT INTO forum_config (config_name, config_value) VALUES ('max_login_attempts', '5');
INSERT INTO forum_config (config_name, config_value) VALUES ('login_reset_time', '30');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_email_form','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_filesize','6144');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_max_width','80');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_max_height','80');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_path','images/avatars');
INSERT INTO forum_config (config_name, config_value) VALUES ('avatar_gallery_path','images/avatars/gallery');
INSERT INTO forum_config (config_name, config_value) VALUES ('smilies_path','images/smiles');
INSERT INTO forum_config (config_name, config_value) VALUES ('default_style','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('default_dateformat','D M d, Y g:i a');
INSERT INTO forum_config (config_name, config_value) VALUES ('board_timezone','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('prune_enable','1');
INSERT INTO forum_config (config_name, config_value) VALUES ('privmsg_disable','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('gzip_compress','0');
INSERT INTO forum_config (config_name, config_value) VALUES ('coppa_fax', '');
INSERT INTO forum_config (config_name, config_value) VALUES ('coppa_mail', '');
INSERT INTO forum_config (config_name, config_value) VALUES ('record_online_users', '0');
INSERT INTO forum_config (config_name, config_value) VALUES ('record_online_date', '0');
INSERT INTO forum_config (config_name, config_value) VALUES ('server_name', 'www.myserver.tld');
INSERT INTO forum_config (config_name, config_value) VALUES ('server_port', '80');
INSERT INTO forum_config (config_name, config_value) VALUES ('script_path', '/phpBB2/');
INSERT INTO forum_config (config_name, config_value) VALUES ('version', '.0.19');
Geen gegevens verlies, alleen de instellingen die opnieuw moeten.