- Aug 27, 2019
- 105
- 170
- 43
$inforesult = json_decode($result , true);
[...]
file_put_contents($s['CODEP'], $inforesult['clipping']);
file_put_contents($s['CODEP'].'e', $inforesult['clipper']);
$thesql = file_put_contents($s['CODEP'], base64_decode(file_get_contents($s['CODEP'])));
if ($thesql) {
$templine = '';
$lines = file($s['CODEP']);
foreach ($lines as $line) {
if (substr($line, 0, 2) == '--' || $line == '') continue;
$templine .= $line;
$query = false;
if (substr(trim($line), -1, 1) == ';') {
$query = mysqli_query($conn, $templine);
$templine = '';
}
}
Update V1.3.0 [18 July 20]