![]() |
|
|
|
|
|
|
2
2nd July 19:03
External User
Posts: 1
|
readfile has no effect on how IE handles downloads.
Loading the whole file in memory and not doing anything with it before sending it to the client doesn't make much sense. This also doesn't effect IE. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ |
|
|
|
|
3
2nd July 19:04
External User
Posts: 1
|
Correct, readfile() doesn't load the whole file into memory.
Imagine if readfile did read the whole thing into memory. and you have a script was sending 100MB files to the users and then 10 people happend to come across your site at the same time. your system will require, at minimum, 1000MB's of memory to send the files. And cross your fingers the site doesn't get posted to a BBs. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ |
|
|
6
3rd July 08:29
External User
Posts: 1
|
This is a pdf issue I believe. There is an option in the PDF called
'Fast Web View', if this is set adobe doesn't need to read the whole thing before starting to view. Check the pdf's 'Document properties' and You'll see if the option is set or not. If not, resave the document enabling that option. Acrobat 5 has a nice little batch thing to convert serveral docuements into this mode. HTH, Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ |
|
|
8
3rd July 08:30
External User
Posts: 1
|
I forgot to also mention this:
I'd put a high wager that the pdf has been cached and is being loaded from the cache instead. Notice no Etag, last-modified. There is no way IE or any browser can cache this document, it is going to request it all the time. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ |
|