Re: Parse info from 1,000 files to file

From: Date: Wed, 02 Jun 2010 20:50:29 +0000
Subject: Re: Parse info from 1,000 files to file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-305757@lists.php.net to get a copy of this message
Hello Sam, Consider using opendir(), readdir(), fopen(), file_get_contents(), fwrite(). -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule ----- Original message ----- From: Sam Smith <ss@ssmith.com> To: php-general@lists.php.net <php-general@lists.php.net> Date: Wednesday, June 2, 2010, 9:24:20 PM Subject: [PHP] Parse info from 1,000 files to file Can someone briefly point me to the functions I'll need to parse some information from thousands of files in a single directory and then prepare the extracted info into a single file for SQL import? Like file() or readfile() and some regex and writefile?? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#305757) next »