PHP code example of aifrus / fc2s
1. Go to this page and download the library: Download aifrus/fc2s library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
aifrus / fc2s example snippets
namespace Aifrus\Fc2s;
your exported zip?
$export_dir = __DIR__ . '/export';
@mkdir($export_dir);
// your SQL database credentials
$config = [
'host' => '127.0.0.1',
'user' => 'nasr',
'pass' => 'nasr',
'prefix' => 'NASR_',
'export_dir' => $export_dir,
];
if (!Process::getCurrent($config)) die("Failed to process\n");
echo "Success\n";