Hi
I'm trying to write a "make a backup, page". I do the backup of all
the databases (into /tmp/CopiaSeguranca), I do the copying of some
directories to /tmp/CopiaSeguranca, and then I want to write a DVD of
all the files in /tmp/CopiaSeguranca.
Everything is ok, except for the last step.
(...)
$saida=system("growisofs -Z /dev/hda -R -J -input-charset
iso8859-1 /tmp/CopiaSeguranca/",$return_value);
echo "<p>--- $saida --- </p>";
echo "<p>--- $return_value --- </p>";
if(!$return_value){
echo "<p>Success</p>";
echo"<a href=../index.html> return </a></p>";
}
else
echo "<p>Error.</p>";
(...)
The "growisofs" command does nothing... if I do the same command in a
bash window, in the command line everything works fine, I think that
the permissions are ok, I put the www-data user in the "plugdev" and
"cdrom" groups...
Is it possible to use growisofs inside PHP?
???
Thanks.
--
At\'e breve
Professor Auxiliar Pedro Quaresma
Departamento de Matem\'atica
Faculdade de Ci\^encias e Tecnologia
Universidade de Coimbra
P-3001-454 COIMBRA, PORTUGAL
correio-e: [EMAIL PROTECTED]
p\'agina: http://www.mat.uc.pt/~pedro/
telef: +351 239 791 181; fax: +351 239 832 568
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php