Jump to content

zzmelzz

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by zzmelzz

  1. <?php
    $pathToMysqldump = "C:\xampp\mysql\bin";
    $user= "root";
    $pass= "";
    $namedb= "test";
    $output= "C:\xampp\htdocs\test\test.sql

    //backup saved
    exec("$pathToMysqldump --user=$user--password=$pass $namedb> $output");


    //header('Location: http://localhost/test);
    exit;

    Hi people, i cant do it work, I use xampp and back dont creat the file .sql.

    Thanks a lot.

     

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.