Posted by Hans-Henry Jakobsen
So here’s how I parsed to flat files with e-mail addresses (nothing special about it)
approved_emails.txt has the following emails in it:
check_emails.txt is composed of:
My php file that I’m actually running from a command prompt is check_email_addresses.php
You could pipe this out to another file if you needed it for later use.
php check_email_addresses.php > delete_these_addresses.txt
Tags: PHP