Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
edit.php<?php
$file="baner.php";
$fp = fopen($file,"r");
$content= fread ($fp, filesize($file));
echo "
<form method='post' action='edit.php?file=".$file."'>
<textarea name='text' cols='50' rows='20'>".$content."</textarea>
<input type='submit'>
</form>
";
?>
<?php
$text = stripslashes($_POST['text']);
$file = $_GET['file'];
$fp = fopen($file,"w");
fwrite($fp,$text);
fclose($fp);
?>