csuhockey3 has asked for the wisdom of the Perl Monks concerning the following question:
When I run the script from the command line (off-line mode), it creates/writes to flatfile.data. When I run from the form (on submit), it does not create or write to flatfile.data, however a confrimation email is sent and everything else is fine. Permissions are correct and I get no warnings or errors. Any ideas?... $FieldName = $cgi->param('Field Name'); ... sub flatFile{ open(FLATFILE, ">> /tmp/flatfile.data") or die $!; #will loop through and tab params, just for testing print FLATFILE $FieldName; close (FLATFILE); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: flat file problem
by gothic_mallard (Pilgrim) on Oct 28, 2004 at 07:36 UTC | |
by csuhockey3 (Curate) on Oct 28, 2004 at 07:55 UTC | |
|
Re: flat file problem
by PodMaster (Abbot) on Oct 28, 2004 at 08:07 UTC | |
by csuhockey3 (Curate) on Oct 28, 2004 at 08:25 UTC | |
by PodMaster (Abbot) on Oct 28, 2004 at 08:49 UTC | |
|
Re: flat file problem
by pelagic (Priest) on Oct 28, 2004 at 07:34 UTC | |
by gothic_mallard (Pilgrim) on Oct 28, 2004 at 07:39 UTC |