The usual cause for the problem you've described is a very specific
permissions problem -- the file enquiry.htm is writable by the userid
running the process (so it can append to the file), but the directroy
containing enquiry.htm is not writable by the userid (so it can't create the
file in that location if it doesn't exist).
Before trying to puzzle out reasons why seemingly identical cgi commands
work differently in different circumstances, I'd check to make sure both are
running with the same userid and trying to write to the same directory (or
at least to directories with the same ownership and permissions). Depending
on what language the called cgi apps are written in, you might want to check
their ownership, permissions, and setuid bits as well.
If this isn't the problem, you might try including the html code fragments
(the entire form, unless it is immense, but in any case the <form> tag
itself and the offending lines) and the relevant parts of the programs they
call in a follow-up posting.
At 04:05 PM 1/21/99 +1100, you [Rod Farmer] wrote:
[deleted]
>if I have the same <form> field appear in a dynamically created file then
>it won't work. If enquiry.txt exists already then it is amended but if it
>isn't then it refuses to be created.
[deleted]
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
762 Garland Drive
Palo Alto, CA 94303-3603
650.321.3561 voice 650.322.1209 fax [EMAIL PROTECTED]
----------------------------------------------------------------