[thelist] PHP include
Jack Timmons
codeacula at codeacula.com
Fri Aug 6 13:45:41 CDT 2010
On Fri, Aug 6, 2010 at 1:25 PM, DAVOUD TOHIDY <dtohidy at hotmail.com> wrote:
> yes without including it works. But I would like to have some stuff out of the original file for some reasons and
> therefore I need to include it.
include.php
$processed = false;
if($stuff) {
doStuff();
$processed = true;
}
otherfile.php
include("include.php");
if(!processed) {
doOtherStuff();
}
--
Jack Timmons
@_Codeacula
More information about the thelist
mailing list