Mark Cubitt wrote:
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).

Where as Perl would probably be quicker with the text file.

I could be wrong though

It would really depend on the size of the file, and how the db table is set up. No matter the size of the file, or if you're using php / Perl, you still have to open the file, and parse it line for line until you find the value you're looking for. If the db table is indexed, it's going to be faster than most text files (unless you only have like 10 records).


--
***********************************************************************
*  _  __       __      __       _                      * John  Nichel *
* | |/ /___ __ \ \    / /__ _ _| |__ ___  __ ___ _ __  * 716.856.9675 *
* | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ '  \ * 737 Main St. *
* |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150   *
*          |___/                                       * Buffalo, NY  *
* http://www.KegWorks.com            [EMAIL PROTECTED] * 14203 - 1321 *
***********************************************************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to