Skip to content

Redirecting to stdout

diego torres edited this page Jan 24, 2015 · 4 revisions

How to get output to stdout, so it can be redirected:

    include_once(dirname(__FILE__) . '/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php');
    $dump = new Ifsnop\Mysqldump\Mysqldump( 'database', 'username', 'password');
    $dump->start('php://output');
Clone this wiki locally