>>> "David Spitzley" <[EMAIL PROTECTED]> 1/15/2008 1:42 PM >>> If I insert the print statement anywhere within that loop (aside from within if statements that evaluate as false), it prints the alert and halts as expected. If I insert the print statement after the loop, the page hangs. My first thought was that the hang might be a failure to terminate the foreach loop, so here's the print_r() dump of $InterMapFiles:
Array ( [0] => D:\wwwsites\davidaspitzleyorg\www\Test/scripts/intermap.txt [1] => D:\wwwsites\davidaspitzleyorg\www\Test/local/farmmap.txt [2] => $SiteGroup.InterMap [3] => local/localmap.txt ) ---------------------------------------------- Here's some further information: by making the print statement conditional, I have determined that the loop is able to iterate through [0] and [1], but never makes it to [2], so the non-existence of farmmap.txt may be at fault. David _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users