<?php header("Location: $csv_filename"); ?>
"Mikhail Avrekh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can say something like: > > <?$csv_filename= "whatever.csv";?> > <script language=javascript> > window.open("<?=$csv_filename?>", > "target", > "resizable,status,width=500,height=200"); > </script> > > > > On Wed, 3 Apr 2002, Joe Keilholz wrote: > > > Hello All! > > > > I think this is a pretty simple question. I have a file that I am writing > > information to and when the process is complete, I am needing to send the > > file to the user. In Javascript all I would need to do is window.open() and > > the file would be sent to the user (it's a .csv file). How would I > > accomplish this in PHP? Can I incorporate Javascript into my PHP code? If > > so, how? > > > > Any help would be appreciated! > > Thanks! > > Joe Keilholz > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php