Re: pass by reference
| From: | Kevin Waterson | Date: | Fri, 23 Jan 2004 04:53:05 +0000 |
| Subject: | Re: pass by reference | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175492@lists.php.net to get a copy of this message | ||
This one time, at band camp, Justin French <justin@indent.com.au> wrote:
> In other words, you HTML source looks like this:
>
> <img src='images.php?id=45'>
>
> NOT
>
> <img src='{RAW BINARY DATA HERE}'>
Yes, but how is this different from anything the terraserver is doing?
when the images.php script is called if would do something like
Select the image data from the database
header("Content-type: image/jpeg");
echo $row['image_data'];
surely this is as fast as we go, or is this adding an extra layer as
suggested in the first mail?
Kind regards
Kevin
--
______
(_____ \
_____) ) ____ ____ ____ ____
| ____/ / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia