Hermann Bier wrote: Hermann, Even in CLI scripts, you must enclose the php script in <? ?> delimiters.
> Hi!! > > i`ve wrote a little script to run under shell, so this script: > #!/usr/bin/php > <? > $saslpasswd = "/usr/sbin/saslpasswd -p $username"; > $saslproc = popen($saslpasswd,"w"); > fputs($saslproc, $passwd); > pclose($saslproc); > ?> > php-parser gives me the following as output: > # > sh: /saslpasswd: No such file or directory > # > > what i`m doing wrong?? > > > please help. > > > bye > > Mike... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php