|
-
Jun 17th, 2000, 04:26 AM
#1
Thread Starter
Addicted Member
open (INFILE, "somedata.txt");
@mydata = <INFILE>;
close (INFILE);
print $mydata[0];
open (OUTFILE, ">/forumdata/$mydata[0].txt");
why does this produce the error
Status: 302 Found Location: http://cgi1.tripod.com/bin/error?err...0line%2040.%0A URI: http://cgi1.tripod.com/bin/error?err...0line%2040.%0A Content-type: text/html
Razzle
ICQ#: 31429438
What is the difference between a raven?
-The legs. The length is equal, especially the right one. 
-
Jun 22nd, 2000, 05:07 AM
#2
New Member
Probably has something to do with the Perl taint switch (/usr/bin/perl -t).
Seems to me like it limits which directories can be written to.
Also check directory and file permissions.
Oreilly as updated their Perl web programming book.
It will be released in July. They have a sample
chapter on their web site. The chapter is on security
and it discusses the taint feature.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|