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 :: add zeros in front of number php 
Php :: laravel migration remove unique constraint 
Php :: usleep php 
Php :: php remove bom 
Php :: echo first 100 prime numbers php 
Php :: Connecting to the database using mysqli 
Php :: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes 
Php :: behamin bresource collection 
Php :: php get myme type of image 
Php :: php get remote file last modified 
Php :: check if array has value php 
Php :: select in php mysql 
Php :: how to disable/hide menu admin page wordpress dev 
Php :: object to array in php 
Php :: how to add properties to the request object in laravel 
Php :: laravel check method is post 
Php :: phpstan ignore 
Php :: getting current timestamp in php 
Php :: php escape special characters 
Php :: yii2 a href confirm 
Php :: laravel pluralization text 
Php :: wordpress if is in categroy 
Php :: laravel migration add unique column 
Php :: use wordpress functions in external php file 
Php :: php header base64 pdf 
Php :: import session laravel 
Php :: php date format 
Php :: php post curl json 
Php :: phpmailer for wordpress 
Php :: the requested php extension ext-intl * is missing from your system ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =