in reply to Problems getting system call to work

You're passing an absolute pathname to your script, but I doubt the /cgi directory is at the root of your filesystem. You need to give the real path to the script, not the web server's document path.

Replies are listed 'Best First'.
Re^2: Problems getting system call to work
by greymoose (Beadle) on Nov 18, 2006 at 06:00 UTC
    Thanks for that friedo
    It's all sorted. Just out of interest, is it possible to enter a relative path name? From memory I think I tried that and got the same result but if I'm reading between the lines of your reply correctly I didn't have to use an absolute path.
      Yes, you can pass a relative path. However, it's relative to your current directory, which is not necessarily the one in which the calling script resides. Some web servers set the current directory to the root directory.