i am trying to write to a text file the number of visitors in my site.
i create a global.asa file and wrote the following function:
sub Session_OnStart
{
my $filename = 'C:\Apache2\asp\data.dat';
my $input = "Session_OnStart - hello test";
open( OUT, ">> $filename" );
print( OUT "$input.\n" );
close(OUT);
}
unfortunatlly this those not write any thing to the 'C:\Apache2\asp\data.dat' file.
can someone have an idea? mbybe it is somthing in the httpd.conf?