Sveiki. Man iškilo tokia problema. Nežinau kaip įsaugot..
<form action="Wall.php" method="post">
Name: <input type="text" name="msg">
<input type="submit">
</form>
o Wall.php failas atrodo taip:
<?php
$myFile = "testFile.txt";
$fh = fopen($myFile, 'w') or die("can't open file");
$stringData = "$msg";
fwrite($fh, $stringData);
$stringData = "$msg";
fwrite($fh, $stringData);
fclose($fh);
?>
gal galima padaryti per vieną faila. kad galimėtų išsaugoti paspaudus?