Nov 9, 2001, 11:30 AM
Post #1 of 2
Originally, I get a page from a url and save it in a temp file called ABC. Then I read each line from ABC and do some operations (check regular pattern). But I am afriad that if there are some uers run my cgi program at the same time, some ABC files will create (but they should be different!!)
so how can I solve the problem?
is it possible that no temp file need to make? And directly can read each line from $page?
open (OUTPUT, ">ABC") || die ("Could not open file \n");
print OUTPUT $page;
open (INPUT, "ABC") || die ("Could not open 7 \n");