Re: Downloading PHP source from a PHP
| From: | JeRRy | Date: | Tue, 02 Dec 2003 10:09:00 +0000 |
| Subject: | Re: Downloading PHP source from a PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31833@lists.php.net to get a copy of this message | ||
To: php-db@lists.php.net
From: "Kim Steinhaug" <kim@steinhaug.com>
Date: Mon, 1 Dec 2003 22:48:00 +0100
Subject: Re: Downloading PHP source from a PHP
filename, possible?
What you do is, if my logic is correct...
Read the entire file in to a variable and send it back
to
the browser with another header information, typicall
TEXT.
Just like the force download method for a PDF file, or
other
files. This should work very well.
--
Kim Steinhaug
Hi Kim,
Do you have an example to show? ( if possible test it
to see if it works :) )
J
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.