> > I can execute the command that I'm passing to the function at the server > command line and everything runs successfully. Don't know what 126 is off-hand, but when you say run at the command line, are you running it as the same user as the web server? Tom http://www.liphp.org