Re: [PHP] look at all files, then go elsewhere

2007-09-11 Thread Jim Lucas
Wolf wrote: All, I'm trying to figure out the logic piece, and I'm pretty sure I am missing something simple. I have a script that I want to check all files in a directory for information, if it doesn't find it when all done, I want it to go elsewhere, however if it does find it, I want it t

Re: [PHP] look at all files, then go elsewhere

2007-09-11 Thread brian
Wolf wrote: All, I'm trying to figure out the logic piece, and I'm pretty sure I am missing something simple. I have a script that I want to check all files in a directory for information, if it doesn't find it when all done, I want it to go elsewhere, however if it does find it, I want it to b

RE: [PHP] look at all files, then go elsewhere

2007-09-11 Thread Jay Blanchard
[snip] I have a script that I want to check all files in a directory for information, if it doesn't find it when all done, I want it to go elsewhere, however if it does find it, I want it to break out of the search and perform a function. CODE: if ($userinfo == "") { if ($handle = opendir('./bp_c

[PHP] look at all files, then go elsewhere

2007-09-11 Thread Wolf
All, I'm trying to figure out the logic piece, and I'm pretty sure I am missing something simple. I have a script that I want to check all files in a directory for information, if it doesn't find it when all done, I want it to go elsewhere, however if it does find it, I want it to break out of