note 71316 rejected from function.header by bobby

From: Date: Wed, 22 Nov 2006 21:19:04 +0000
Subject: note 71316 rejected from function.header by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119990@lists.php.net to get a copy of this message
Note Submitter: zbweagle at yahoo dot co dot jp ---- i use "Header("Content-Disposition: attachment; filename= " . $file_name_test); readfile($file_name);" to output file. but i want to open it when it just outputed that file,how to do it? by the way,"header("Location: " . $file_name_test);" is invalid.

« previous php.notes (#119990) next »