Are you sure it's "in the same directory"? CGI scripts may execute in a different directory than their physical location. Try using an absolute path to the second script (not a URL, a path). What error message do you get from running the second script?