sry am newbie in php !
header("Content-Type: plain/text");
header("Content-Disposition: Attachment; filename=c:\protocol.txt");
// header("Pragma: no-cache");
echo "text text ";
exit ;
Moderator: General Moderators
Yeah i didn't mean "use javascript to download the file" i meant "use javascript to create the pop-up" but i see you already getting some type of pop-up with your existing php code; Good luck with it btw.<span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> wrote:v aint using any javascripts for this
Yeah i didn't mean "use javascript to download the file" i meant "use javascript to create the pop-up" but i see you already getting some type of pop-up with your existing php code; Good luck with it btw.