Re: Re: problem with exec()

From: Date: Mon, 08 Oct 2001 01:04:33 +0000
Subject: Re: Re: problem with exec()
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-9742@lists.php.net to get a copy of this message
At 17:44 7/10/2001 -0700, Shane Caraveo wrote:
$cmd="mysqldump -h $host --user=$user --password=\"$pass\" --opt $database > $backup_file"; I'm gettting error return 2... which (according to 'man errno') means EACCESS or 'Permission denied'. How can something be denied in Win98 since it doesn't handle permissions, users and stuff? Don't confuse unix with windows. error 2 == ERROR_FILE_NOT_FOUND Likely, mysqldump is not in the system path.
thanks... where did you get this info (error 2 == ...) ?? right... it isn't in the path... but I used chdir() to get to where mysqldump is, and $backup_file has a full path in it... _____________________________ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br

« previous php.windows (#9742) next »