Ok,
Not possible the way it works .. Maybe I call Php from VB script after download?
Could I make a php like this and work, I don't do php good, will this work ..
<?php
$main_template = 0;
define('GET_CACHES', 1);
define('ROOT_PATH', './');
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
$sql = "UPDATE ".IMAGES_TABLE."
SET image_downloads = image_downloads + 1
WHERE image_id = $image_id";
$site_db->query($sql);
exit;
?>
Maybe doing away with vb and using a window.external call from php, passing fname (skin Name) as parameter?
window.external.setfilename = fname