FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » file size
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: file size [message #183766 is a reply to message #183737] Mon, 18 November 2013 16:26 Go to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: what syntax errors will cause mismatching arrays?
Next Topic: searching an array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:43:49 GMT 2024

Total time taken to generate the page: 0.03980 seconds