<? session_start(); ?>
<? if($dane!="ok") {echo "<h4>You dont heave premision to see this page</h4></body></html>"; exit;} ?>
<?
include "conf.php";
include "addpuszbaza.php";
if(eregi(" ", $newcolumn)) {echo "Column name can't contain spaces. Please return and choose other name"; exit(); }
if($newcolumn=="") {echo "Column name can't be empty. Please return and choose other name"; exit(); }
$file = $url.$nzw;
rencolumn_pb($file, $oldcolumn, $newcolumn);
header("Location: showtable.php?nzw=$nzw&na=$na");
?>