in reply to system call not working
Are you running your script from the command line or from a CGI script? If it's a CGI script, then it will be running with some user ID (eg: nobody, httpd, www) which probably does not have permission to write in the current directory. Try '-f/tmp/output_file.txt' - usually everyone has write access to /tmp
|
|---|