Path : /home/bethanyinvest/.trash/ |
Current < : /home/bethanyinvest/.trash/importDB.php |
<?php $db_host = 'localhost'; $db_user = 'bethanyinvest_ino_qibaz'; $db_pass = '0*B!0JFKZu+$'; $db_name = 'bethanyinvest_bet_a7tyy'; // Path to the uploaded SQL file $sql_file = './bethany.sql.zip'; // Command to execute $command = "mysql -h $db_host -u $db_user -p'$db_pass' $db_name < $sql_file"; // Execute the command system($command, $output); // Output the result echo "Import completed with output: " . $output; ?>