<?php //include php core class include('validate.class.php'); $import = new arrayManager('emails.txt'); $true_emails_array = $import->execute_class(); // $true_emails_array is ready to add to database ?>