PHP Developer's Network
: Network Member
Forums
Subject: spaces in filenames
Search
All class groups
Latest entries
Top 10 charts
Newsletter
Blog
Forums
Help FAQ
Login
Register
Recommend
this page to a friend!
Trackback URL:
http://www.phpclasses.org/trackback/discuss/package/1560/thread/4/
MySQL Backup Pro
All threads
spaces in filenames
(Un) Subscribe thread alerts
Subject:
spaces in filenames
Summary:
Linux-friendly = no spaces
Messages:
1
Author:
Jake Gibson
Date:
2007-06-14 19:54:26
1. spaces in filenames
Reply
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.
Jake
Advertise on this site
Site map
Statistics
Site tips
Privacy policy
Contact
For more information send a message to :
info at phpclasses dot org
.
Copyright (c)
Icontem
1999-2008
PHP Classes
-
PHP
Class Scripts
PHP Book Reviews
- Reviews of books and other products