[PHP-DB] mysqldump and OS X

2005-05-10 Thread Richard Dyce
Wonder if anyone out there can help? I'm trying to execute a mysql dump on my local Mac (running 10.4), and I'm running into an odd problem, possibly something to do with permissions or $PATH setup. Here's the code... ?php $dbhost = 'localhost'; $dbuser = 'user'; $dbpass = 'blah';

Re: [PHP-DB] mysqldump and OS X

2005-05-10 Thread Richard Dyce
On 10 May 2005, at 07:24, Constantin Brinzoi wrote: maybe you have to specify the full path to mysqldump like: passthru(/path/to/mysqldump --opt -h$dbhost -u$dbuser -p$dbpass $dbname It was worth a try - but no, changing the exec line to:

[PHP-DB] Re: Encrypting DB content

2005-12-31 Thread Richard Dyce
On 31 Dec 2005, at 04:15, Chris Payne [EMAIL PROTECTED] wrote: I am about to launch the website for my complex where the homeowners can login and check their billing status etc .. what is the best way, with PHP and MySQL, to store an ENCRYPTED password into the database so that if someone