Redirect
Moderator: General Moderators
Re: Redirect
if your dowload page is all script (you do not output text like "downloading file...please wait", then add the following at the end of the script:
if you do spit out something, do it with javascript:
(you can echo this in php, it will work too.)
Code: Select all
header('Location: http://www.example.com/');Code: Select all
<script>
setTimeout ("window.location.href='http://www.example.com/'", 1000);
</script>Re: Redirect
Thanks, I'll give it a try.