XP is just a number | |
PerlMonks |
Re: flat file problemby gothic_mallard (Pilgrim) |
on Oct 28, 2004 at 07:36 UTC ( [id://403295]=note: print w/replies, xml ) | Need Help?? |
Your code syntax above is incorrect - the line:
..should read:
I don't know whether this is just an error you introduced while posting this question otherwise it should have given you an error. Apart from that I can't see anything wrong with the file writing logic which leads me to a couple of conclusions: Are you sure the permissions are correct? Chances are when you run it via the form it's not using same user account that it does at the command line - and that account may not have permission to write (which is likely as most "web-user" accounts on servers have very few permissions by default for security reasons). What platform/OS etc is this running on may I ask? All code is untested unless otherwise stated.
In Section
Seekers of Perl Wisdom
|
|