airbus Posted July 21, 2009 Report Share 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 Link to comment Share on other sites More sharing options...
Aleksejs Posted July 21, 2009 Report Share Posted July 21, 2009 Ko nozīmē 'r' parametrs fopen() funkcijā? ;) Quote Link to comment Share on other sites More sharing options...
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.