Hi, I am from germany. So I am sorry for all the mistakes I will write
And here is my problem: I have created a website in perl. Now I want to save a file (something like a cookie) on a local floppy (my harddisk) in the windows folder (C:/Windows/Temp/cookie.txt). The code, I have written looks like so:
open (DATEI,">C:/Windows/Temp/cookie.txt");
foreach my $i (@daten)
{
print DATEI $i;
}
close DATEI;
I have tested it on my local Apache, and there it works!?
But if I start the script at the net (it works with no errors) it does not create the file. Also if i create the file manually, its not beeing written...
My question is: how can I save a file on a local harddisk from the internet?
And please: do post my mistakes, a better english will help communicating in future, i am sure!
And here is my problem: I have created a website in perl. Now I want to save a file (something like a cookie) on a local floppy (my harddisk) in the windows folder (C:/Windows/Temp/cookie.txt). The code, I have written looks like so:
open (DATEI,">C:/Windows/Temp/cookie.txt");
foreach my $i (@daten)
{
print DATEI $i;
}
close DATEI;
I have tested it on my local Apache, and there it works!?
But if I start the script at the net (it works with no errors) it does not create the file. Also if i create the file manually, its not beeing written...
My question is: how can I save a file on a local harddisk from the internet?
And please: do post my mistakes, a better english will help communicating in future, i am sure!
