That's what she said
New member
Hi, I know it is possible to write to my server...but I would like to, ya know, back up on my c drive, incase something happens to my server...
I have been playing around with the FWrite function...
$myFile = "C:\testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "Bobby Bopper\n";
fwrite($fh, $stringData);
$stringData = "Tracy Tanner\n";
fwrite($fh, $stringData);
fclose($fh);
but that will only allow me to write to my server...(creates a text file called C:\testFile.txt)..
so yeah, can i write to my machine?
thanks.
I have been playing around with the FWrite function...
$myFile = "C:\testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "Bobby Bopper\n";
fwrite($fh, $stringData);
$stringData = "Tracy Tanner\n";
fwrite($fh, $stringData);
fclose($fh);
but that will only allow me to write to my server...(creates a text file called C:\testFile.txt)..
so yeah, can i write to my machine?
thanks.