Dan'l,
Don't worry too much about what "Pointed Head" says. He's a resident
troll; anyone who doesn't meet his specifications is "fundamentally wrong".
Using awk isn't necessarily the best way to do it, for a number of
reasons (i.e. many hosting companies have shell_exec() disabled due to
security reasons). And yes, you *can* do most anything in PHP that you
can do in awk.
But that doesn't mean that awk is "fundamentally wrong". It's just
another way of doing things. And a new PHP programmer like yourself has
a lot of things to learn; I don't see using something you're already
familiar with (and have working in another environment) as being
"wrong". You can always go back and change it later once you've learned
more PHP.
--
==================
Remove the "x" from my email address
Jerry Stuckle
jstu...@attglobal.net
==================