PHP Classes

spaces in filenames

Recommend this page to a friend!

      MySQL Backup Pro  >  All threads  >  spaces in filenames  >  (Un) Subscribe thread alerts  
Subject:spaces in filenames
Summary:Linux-friendly = no spaces
Author:Jake Gibson
Date:2007-06-14 19:54:26

  1. spaces in filenames   Reply   Report abuse  
Picture of Jake Gibson Jake Gibson - 2007-06-14 19:54:26
Note many Linux utilities won't gracefully deal with files with spaces in their names. The default filenames for backups are set in backup.class.php - just edit the three lines that look like

$fname = $this->dbName."-$prefix-".date("Y-m-d H-i-s").".sql";

to replace that space between Y-m-d and H-i-s with something. Another "-" works.


For more information send a message to info at phpclasses dot org.