sandrulis Posted November 15, 2009 Report Share Posted November 15, 2009 es gribu atvērt noteiktu failu, izlabot un pēctam saglabāt, at atvēršanu esmu ticis galā, bet ar saglabāšau man nekas nesanāk! :( es atveru <textarea>fails</textare> Bet kā varētu izskatīties tas kods, ka saglabā to izlaboto tekstu atvērtajā(noteiktajā) failā? Quote Link to comment Share on other sites More sharing options...
briedis Posted November 15, 2009 Report Share Posted November 15, 2009 if($_POST['teksts']){ file_put_contents("fails.txt",$_POST['teksts']); } 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.