coennie Posted March 22, 2006 Share Posted March 22, 2006 hello,I've wrote a script that will convert audiofiles from a db on the fly and after that it will push the file to the client. This all works great with with win 95,98,2000 and NT, but XP has a block on pushed downloads. The well know yellow bar at the top of the internet explorer window.The script works as follow: select audio file => details audiofile => start conversion / progress bar after click => conversion done push file to client.I try to push the file to the client with this code:[code]header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("Content-type: application/x-download");header("Content-Disposition: attachment; filename={$doelbestand}");header("Content-Transfer-Encoding: binary");set_time_limit(0);@readfile($bestand) or die("Ik kan de inhoud niet lezen.");[/code]Anybody who knows witch code to use with XP SP2?Regards,Coen van der Kolk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.