Re: How to run one php app from another? RECAP

From: Date: Fri, 16 Jun 2006 12:35:42 +0000
Subject: Re: How to run one php app from another? RECAP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-238158@lists.php.net to get a copy of this message
tedd schrieb:
1. There was the suggestion to use includes(). However, includes simply adds code into the current application. It does not terminate the parent nor start another application. It simply bloats the parent.
Well it would if the webpage showed would also be included. You have one main code header which chooses what action to do and which code to load. So every app would have that code header. Applications run normally like that. You could even have tha analyzing done with include. But once output is made. You can't remove it. That isn't possible with PHP. Anything before that would not be seen by the user so you can do a lots of things before you output actually something. Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#238158) next »