jalbstmeijer
Verified User
- Joined
- Jan 25, 2009
- Messages
- 5
That means nothing will be excluded and kill all your legitimate apache processes. Script edited above.
I'm not sure if I understand what you mean.
Emptying $exclude2 at the beginning of the while loop will not cause "nothing will be excluded", as $exclude2 gets filled based on $exclude later in the loop.
But I agree, your solution is nicer, just place the $exclude2 filling outside if the while loop.
Thanks for adding the $bodyofemail = ""; too.