Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: Reading and Writing to Files on the Server

Feedback on: Reading and Writing to Files on the Server

Sent by Cory Scott on March 29, 1999 at 20:16:56: - feedback #133

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
Nice article... was looking for some good examples on flock!

Found 'em!



Sent by Dan on April 13, 1999 at 15:00:47: - feedback #151

Technical:
Just right

Comments:
The example of the script that you listed is not working properly. Just an FYI.



Sent by Jeremiah on June 28, 1999 at 09:14:49: - feedback #261

Worth:
Worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
Not enough security issues were addressed. opening pipel;ines can open securitty holes. And with out form validation users can fool the script into executing shell commands



Sent by Sher on October 26, 2000 at 09:50:31: - feedback #1914

Worth:
Very worth reading

Comments:
I have a script that needs to read information from a data file on the server.

The data file is actually the contents of a recursive array such that it contains an array in an array:

file content:
["a",1,2,3,5],
["b",1,2,3,5],
["c",1,2,3,5],
["d",1,2,3,5],

In the script:
I tried to load the file into a temp scalar and then assign it to an array.

I get the length of the array by scalar(@array); to see if the contents are assigned to the array and it returns the number of elements as it should.

However when I try to access individual elements like:

$var= $array[1]->[2];
print "$var";

the script runs but there is no output.

I would be most grateful if you could advise.

thanks

Sher



Sent by Vvarak on February 06, 2001 at 14:52:03: - feedback #2336

Length:
Too short

Comments:
The title stated that you were read and WRITING to a file. But no where did I see anything about writing to a file. I've been to MANY sites that do the exact same thing. I am trying to write to a file data that is being read in from another computer using perl. Could you email me a way to write to a file. Thanks.


©2018 Martin Webb