Here is what the start of the file should look like.
SkipCode:<?php /** * $Id header_php.php V1.1 01.23.2010 * Written by SkipWater <[email protected]> * * /includes/modules/pages/fetch/header_php.php * * @package page * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: Define Generator v0.1 $ * * NOTE: this file must contain only PHP code and nothing else. No blank lines * before or after. Blank lines before will cause PHP to default to * Content-type: text/html. Blank lines after will be sent as additional "garbage" * data after the file, potentially causing problems. * */ include(DIR_WS_CLASSES."fetch_download.php"); // load the class file require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php')); $intDownloadId = $_GET['id']; $strEmail = $_GET['email']; $sql = "SELECT fetch_email, file_id, UNIX_TIMESTAMP(date_created) as unix_date_created , count FROM ".TABLE_DOWNLOAD_FETCH." WHERE download_fetch_id = '$intDownloadId'"; $result = $db->Execute($sql);


Reply With Quote
