snip from manual for -p option: |-------------
-p[password], --password[=...] Password to use when connecting to server. If a password is not given on the command line, you will be prompted for it. Note that if you use the short form -p you can't have a space between the option and the password. -------------| regds, -----Original Message----- From: Niels Andersen [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 16:09 To: [EMAIL PROTECTED] Subject: Re: mysqldump There mey, but need not be a space. As far as I know, the option scanner in mysqldump ignores spaces between short options and their values. "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks! > > > exec("mysqldump -c -q database -u user -ppassword", $sql); > > Why is there no space between the -p and password? > > >-ppassword > > Am I wrong? > > Thanks, > John > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php