airbus Posted July 21, 2009 Report Posted July 21, 2009 (edited) <?php $vards = $_POST["vars"]; $teksts = $_POST["teksts"]; htmlspecialchars($vards); htmlspecialchars($teksts); $cikls = fopen("ax.txt", 'r') or die("neizdevas!"); fwrite($cikls, $vards); fwrite($cikls, $teksts); fclose($cikls); echo 'Viss ok!'; ?> Bet viņš iekš ax.txt neko neraksta Edited July 21, 2009 by airbus Quote
Aleksejs Posted July 21, 2009 Report Posted July 21, 2009 Ko nozīmē 'r' parametrs fopen() funkcijā? ;) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.