Location: PHPKode > projects > Phpqadmin > phpqadmin-0.4/update_list_file.php
<?php

require_once('include/functions.php');
@include('include/top.php');

$company = $_POST['company'];
$user = $_POST['user'];


if (!is_company($company))
	die('Not a real company...');
	
if (!is_user($company,$user))
	die('Not a real user');
	
if (!is_user_mailinglist($company,$user))
	die('Not a real mailinglist');
	
$file = $_POST['file'];
$text = $_POST['text'];

set_user_file($company,$user,'text'.DIR_SLASH.$file,$text);
redir("show_user.php?company={$company}&user={$user}&noc=".time());

@include('include/bottom.php');
?>
Return current item: Phpqadmin