Send Parts of the File

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Send Parts of the File

Post by tecktalkcm0391 »

Is there a way to send part of the HTML and then send the rest, after it is processed by PHP, this would speed up the pages by displaying what it sends as it sends it, as it processes it.
User avatar
aerodromoi
Forum Contributor
Posts: 230
Joined: Sun May 07, 2006 5:21 am

Re: Send Parts of the File

Post by aerodromoi »

tecktalkcm0391 wrote:Is there a way to send part of the HTML and then send the rest, after it is processed by PHP, this would speed up the pages by displaying what it sends as it sends it, as it processes it.
Even though there is no such thing as a "standard" php script, I'd say a moderate script (with database routine) takes usually far less than half a second to parse (in a shared hosting environment). So speed shouldn't really be an issue.

Marc
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

yeah I was just wondering how on http://24.60.5.106/upload.php
(user: admin | pass: test ) it shows top half of the page then the rest (or atleast on my computer)
Post Reply