Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

PHP Maintenant

Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner

View previous topic :: View next topic  
Author Message

Joined: 12 Feb 2007
Posts: 75
Location: Montreal

PostPosted: Wed 19 Dec '07 18:38    Post subject: PHP Maintenant Reply with quote

I have some maintenance code on all my sites. This runs automatically (if needed) after the script has finished processing. I like this ideas better then having a separate chron running.

Is it possible to get php to get apache to send the (finished sending data) and just keep processing in the background whatever needs to be processed instead of having the page not finished loading cause it's running some process in the background...
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6460
Location: Germany, Next to Hamburg

PostPosted: Wed 19 Dec '07 19:07    Post subject: Reply with quote

1) you should split your page into different parts. Like a footer / header / etc.
Than you can a) include the files in the page. Works only if only the content is different but the page layout is the same.
b) store the content and / or the footer / header in a database. Which is easier to maintain.
2) create static pages with cache so you can maintain and the pages won't loose the preformance.

just my 2 cents
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1