File size: 868B
<?php
include "../../head.php";
echo '<link rel="stylesheet" href="../../style.css" type="text/css"/>';
$admin = $_POST['admin'];
$password = $_POST['pass'];
$email = $_POST['email'];
$title = $_POST['title'];
$index = $_POST['index'];
$skin = $_POST['skin'];
$mpass = md5($password);
$tmp="<?php\r\n".
"$"."zipdir=\"".$newzipdir."\";\r\n".
"$"."zipp=\"".$newzipp."\";\r\n".
"$"."dir=\"".$newdir."\";\r\n?>";
$file = fopen ("tmp.php","a");
flock ($file,LOCK_EX);
ftruncate ($file,0);
fputs($file,$tmp);
fflush ($file);
flock ($file,LOCK_UN);
fclose($file);
echo "Данные Записаны!<br><a href=new.php?login=$admin&pass=$pass>Создать архив!</a>";
echo '<BR><a href="../index.php">Админка</a><BR>
<a href="../../index.php">На главную</a>';
include "../../foot_admin.php";
?>