View file blackgbs/postnastr.php

File size: 650B
<?php
include "config.php";
if ($pass==$user_pass)
{
$page=$_POST['page'];
$passuser=$_POST['passuser'];
$mysite=$_POST['mysite'];
$linkoff=$_POST['linkoff'];
$bgcolor=$_POST['bgcolor'];
$color=$_POST['color'];
$link=$_POST['link'];
$vlink=$_POST['vlink'];
$msg=$_POST['msg'];
$zag=$_POST['zag'];
$cop=$_POST['cop'];
$file = fopen("./users/$id.dat","w");
fputs($file,"$passuser\r\n$mysite\r\n$linkoff\r\n$bgcolor\r\n$color\r\n$link\r\n$vlink\r\n$msg\r\n$zag\r\n$cop\r\n");
fclose($file);
}
$site='http://'.$_SERVER['HTTP_HOST'].''.str_replace('postnastr.php','index.php',$_SERVER['PHP_SELF']).'?id='.$id.'&page='.$page;
header ("Location: $site");
?>