View Single Post
  #8  
Old 14th March 2010, 02:28
fducloux fducloux is offline
Junior Member
 
Join Date: Mar 2010
Posts: 8
Thanks: 4
Thanked 7 Times in 3 Posts
Default

hi guys,
i think i screwup something 8-)
when i click on the web2ftp icon i get this

Code:
require_once('../../lib/config.inc.php'); require_once('../../lib/app.inc.php'); $app->auth->check_module_permissions('sites'); if (!isset($_GET['id'])){ die ("No site selected!"); } $domainId = intval($_GET['id']); $dbData = $app->db->queryOneRecord("SELECT server_id FROM web_domain WHERE domain_id = " . $domainId); $serverId = intval($dbData['server_id']); if ($serverId == 0){ die ("No Server found!"); } $serverData = $app->db->queryOneRecord( "SELECT server_name FROM server WHERE server_id = " . $serverId); header('location:/webftp?servername="'.$serverData['server_name'].'"'); exit; ?>
any ideas what i'm missing?
Reply With Quote