Edward Peloke typed this on 03/31/2004 08:11 AM:
I am using php in combination with ant to create a small automated build
process. Will php run sequentially? What I mean is I have a series of
modules or tasks:
Example:
//check out files
include("modules/checkout.php")
//zip up the files
include (
I'd recommend that you build a set of functions (or a class) to do your bits
and pieces, rather than include blocks of code. That way you can ZIP
depending on the outcome of your CHECKOUT code.
function checkoutStuff()
{
//if checkout code executes ok
return true;
}
if(checkoutStuff())
{
2 matches
Mail list logo