<?php
include_once("files/ini.php");
include_once("files/data.php");
$fal = @file("data/reg/$log.dat");
$udata = explode(":||:",$fal[0]);
if(eregi("[^a-z0-9-]",$topas)){ header ("Location: profil.php?password&"); exit;}
$onepas=$topas;
$udata18=$email;
$udata1=$topas;
mysql_query("UPDATE `users` SET `udata1`='$udata1' WHERE `udata0`='$log'");
header ("Location: profil.php?save&log=$log&pas=$onepas");
include_once"files/down.php";
?>