Miva Merchant 4 Module FAQs » Soft Goods (DEN_SOFTGOODS)


{docurl}

Is it possible to display a download "splash" screen, i.e. an HTML page that displays before the download begins?

This can be done by creating a new download.php script, and renaming the original to download2.php.

- Save the script below as a download.php. Edit the html to your liking.

- Rename the original download.php script to download2.php, and upload the new download.php to replace the original.

<?php

<!-- new download.php -->

<?
php

$url
= "download2.php?sc=".$HTTP_GET_VARS['sc']."&id=".$HTTP_GET_VARS['id'];

?>



<html>

<head>

<?php echo "<META HTTP-EQUIV='Refresh' CONTENT='1;URL=".$url."'>";?>

</head>

<body>

If your download does not start automatically <?php echo "<a href='".$url."'>click here</a>.";?>

</body>

</html>

<!-- end new download.php -->

?>



Last update: 2003-12-30 02:34
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry