Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11835

Re: file size

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: file size
Date 2013-11-18 17:26 +0100
Message-ID <528A3FB4.70702@arnowelzel.de> (permalink)
References <183jtrjk6qs7e$.1x0u99rjpkz2j$.dlg@40tude.net> <beskf3Fi2t5U1@mid.individual.net>

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

file size richard <noreply@example.com> - 2013-11-17 12:12 -0500
  Re: file size The Natural Philosopher <tnp@invalid.invalid> - 2013-11-17 17:24 +0000
    Re: file size Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-11-17 10:17 -0800
      Re: file size richard <noreply@example.com> - 2013-11-17 14:35 -0500
        Re: file size Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-11-17 20:23 -0800
        Re: file size Arno Welzel <usenet@arnowelzel.de> - 2013-11-18 17:22 +0100
  Re: file size "J.O. Aho" <user@example.net> - 2013-11-17 20:41 +0100
    Re: file size Jerry Stuckle <jstucklex@attglobal.net> - 2013-11-17 15:45 -0500
      Re: file size Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-18 18:19 +0000
    Re: file size Arno Welzel <usenet@arnowelzel.de> - 2013-11-18 17:26 +0100

csiph-web