Search
 
SCRIPT & CODE EXAMPLE
 

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);
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: two digits after decimal point in php 
Php :: wp safe redirect 
Php :: php set selected option 
Php :: highlight search text in php 
Php :: php add string inside string at position 
Php :: codeigniter 4 pagination descending 
Php :: rollback laravel transaction 
Php :: strpos codeigniter php 7 
Php :: laravel insert with id 
Php :: group_concat laravel 
Php :: php include file in parent directory 
Php :: php date strtotime add days 
Php :: Add Laravel .env variable to Vue component 
Php :: laravel auth register false 
Php :: how to add property to the request object in laravel 
Php :: get post title by post id wordpress 
Php :: remove html tags from a string except p in php 
Php :: array to object php 
Php :: laravel print exception message 
Php :: Print exact sql statement executed 
Php :: laravel singular 
Php :: error first laravel 
Php :: php cors 
Php :: if is checkout page woocommerce 
Php :: php file read 
Php :: php validate name 
Php :: PHP dynamic property name 
Php :: how to delete image from floder in laravel 
Php :: a backwards counting forloop 
Php :: create array from string with commas php 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =