Re: [PHP] running php in sequence

2004-03-30 Thread Robby Russell
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 (

Re: [PHP] running php in sequence

2004-03-30 Thread Ben Joyce
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()) {