Thanks to your help, this now is working:

<?
 $session_id      = $HTTP_POST_VARS[session_id];
 $filename        = $HTTP_POST_VARS[filename];

/* Validate session_id here */

 header("Content-type: text/html");
 header("Content-Disposition: filename=" . $filename);
 $fp = fopen($filename, "r");
 if($fp) {
   fpassthru($fp);
   fclose($fp);
 }
?>

Now I would like to open the file in a new window and I am not sure how to do that.

Todd

--
Ariste Software, Petaluma, CA 94952 \n [EMAIL PROTECTED]

Reply via email to