Re: Is it possible to open a .txt file into a recordset for validation?
| From: | John W. Holmes | Date: | Mon, 08 Sep 2003 22:55:00 +0000 |
| Subject: | Re: Is it possible to open a .txt file into a recordset for validation? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30424@lists.php.net to get a copy of this message | ||
karen97214@yahoo.com wrote:
Want to allow users to upload .txt file and then loop through it's contents to validate and reject/accept based on results. Is this possible? Got any links, code, etc?Yes. http://us2.php.net/manual/en/features.file-upload.php and then http://us2.php.net/manual/en/ref.filesystem.php specifically http://us2.php.net/manual/en/function.fopen.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com