Subject | How make a back up from php? |
---|---|
Author | Oscar Darío Perdiguero |
Post date | 2009-06-23T21:36:16Z |
Hi. My name is Darío and I'm needing some help to put to work the
following code
Please help me and forgive me my english.
function BackUp()
{
$host = "whitegandalf";
$username = "SYSDBA";
$password = "masterkey";
$charset = "NONE";
$base = "C:\SysAdmin\Sistemas\Repositorio SA\Herramientas
SA\InfoTester\Datos\DBClientServer\DBINFOTESTER.GDB";
$resource_service_handle = ibase_service_attach ($host,
$username, $password);
if ($resource_service_handle)
{
ibase_backup($resource_service_handle, $base,
'C:\SysAdmin\Sistemas\Repositorio SA\Herramientas
SA\InfoTester\Datos\DBClientServer\Respaldo\DBINFOTESTER.GDB');
ibase_service_detach ($resource_service_handle);
}
}
but I'm having this error.
Warning: ibase_backup() [function.ibase-backup]: unassigned code in
C:\Documents and Settings\SysAdmin\Mis documentos\Delphi for PHP
Projects\firebirdbackup.php on line 23
Thanks in advance
following code
Please help me and forgive me my english.
function BackUp()
{
$host = "whitegandalf";
$username = "SYSDBA";
$password = "masterkey";
$charset = "NONE";
$base = "C:\SysAdmin\Sistemas\Repositorio SA\Herramientas
SA\InfoTester\Datos\DBClientServer\DBINFOTESTER.GDB";
$resource_service_handle = ibase_service_attach ($host,
$username, $password);
if ($resource_service_handle)
{
ibase_backup($resource_service_handle, $base,
'C:\SysAdmin\Sistemas\Repositorio SA\Herramientas
SA\InfoTester\Datos\DBClientServer\Respaldo\DBINFOTESTER.GDB');
ibase_service_detach ($resource_service_handle);
}
}
but I'm having this error.
Warning: ibase_backup() [function.ibase-backup]: unassigned code in
C:\Documents and Settings\SysAdmin\Mis documentos\Delphi for PHP
Projects\firebirdbackup.php on line 23
Thanks in advance