[eluser]dik_[/eluser]
great, works like a charm now!
thanks Derek...
while we 're at it, I understand that db backup using the util class is not available for mysli. So I'm trying something like this:
Code:
$prefs = array(...);
$this->db =& $this->load->database('back', TRUE);
echo "=== ".$this->db->platform()." ===";
$this->load->dbutil();
$backup =& $this->dbutil->backup($prefs);
...
The "back" group has exactly the same settings as the default group, only the driver is mysql instead.
This works fine on my PC, but not on my host, where it creates a 0k gzip file.
The code above successfully prints "=== mysql ===" on both servers.
Any idea where I might be going wrong?