hey everyone,
i'm trying to download files from a remote server that i have access to through php, however, the script isn't pointing to the remote server 🙁 is there anyway around this?
here's the code:
<?php
// DOWNLOAD DEMO
header('Content-type: application/zip');
header('Content-Disposition: attachment; filename="' . $row_rsDemoDL['filename'] . '.zip"');
readfile($demoURL . $row_rsDemoDL['id'] . '.demo');
header('Location: ' . KT_removeParam($url, 'actions'));
?>
thankls,