Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: file size Date: Mon, 18 Nov 2013 17:26:28 +0100 Lines: 21 Message-ID: <528A3FB4.70702@arnowelzel.de> References: <183jtrjk6qs7e$.1x0u99rjpkz2j$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net yxf/XWMK3Y3kKVKIeZW4XQ3EoCpX/+4c9WQETVhTty6aV7o0T4 Cancel-Lock: sha1:APKDlvgRAGMlC4Ob0ozRW4+TfBg= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: Xref: csiph.com comp.lang.php:11835 Am 17.11.2013 20:41, schrieb J.O. Aho: > On 17/11/13 18:12, richard wrote: >> Just curious. >> Say I have a php page that has a file size of 5kb. >> In the script I include a page that is 300kb in size. >> Is the server seeing the page as 305kb or 5kb? > > This is really OT as it has nothing to do with PHP. > > The server will see two files, one 5kb and another 300kb large, the web > service will send you a stream of 305 kb (plus hand shaking, headers, > cookies). No - it won't. How much is being *sent* depends on what the PHP script produces as output and not on the script size. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de