Re: pass by reference

From: Date: Fri, 23 Jan 2004 05:07:08 +0000
Subject: Re: pass by reference
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175493@lists.php.net to get a copy of this message
Hi, Friday, January 23, 2004, 2:17:07 PM, you wrote: KW> In a recent discussion about the MS terra server it was mentioned KW> this could not be done with PHP because the terraserver KW> " has special front-end code that allows images to be passed by reference, KW> so the image data goes directly from the database access back end to the KW> client browser, without having to be copied to and from an intermediate KW> middleware layer." KW> The implication is that the 'middle layer' (PHP) would slow things down KW> to an unusable state. so, when I extract an image from the database and KW> echo it to a webpage, is there any copying done? or is it a direct stream to the webpage? KW> Kind regards KW> Kevin KW> -- KW> ______ KW> (_____ \ KW> _____) ) ____ ____ ____ ____ KW> | ____/ / _ ) / _ | / ___) / _ ) KW> | | ( (/ / ( ( | |( (___ ( (/ / KW> |_| \____) \_||_| \____) \____) KW> Kevin Waterson KW> Port Macquarie, Australia What does the image tag look like on the request to the terra server ? php can output the stream without having to save it to a file first if that is what is worrying you. -- regards, Tom

« previous php.general (#175493) next »