Use header to start file download: http://www.php.net/manual/en/function.header.php
Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com > -----Original Message----- > From: Joe Keilholz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 04, 2002 1:12 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Javascript and PHP?? > > 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