Todd,
if that script is the result of a link being follwed, add target="blank" to
the end.
George
> -Original Message-
> From: Todd Cary [mailto:[EMAIL PROTECTED]
> Sent: 10 March 2003 5:28 pm
> To: [EMAIL PROTECTED]
> Subject: [PHP] Opening a file in a new wind
Thanks to your help, this now is working:
/* 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 windo
2 matches
Mail list logo