RE: [PHP-WIN] extracting email addresses
| From: | Svensson, B.A.T. | Date: | Thu, 17 May 2001 19:48:09 +0000 |
| Subject: | RE: [PHP-WIN] extracting email addresses | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7697@lists.php.net to get a copy of this message | ||
>1. I have "some" basic programming skills
>(see sites I already programmed by
Well, quite nice design!, but... <yaaawn> what
do you want for that? A medal or what? ;-)
>and some more sites...) BUT I expect to find here some
>people they will TEACH me something I still do not know
>(and, of course, there is a still a lot of things I do not know).
Isn't that true for each and every one... ;-)
>2. I'm sorry not being specific: the large text file is simply .txt file. A
>huge amount of text with email addresses within it. I never had a problem
>like this and just wanted some ideas, like Michael Kelly did it.
Well, you just don't get it: extracting information like that is regarded
as a very basic trivial programming problem. If a programmer is not able
to formulate a trivial problem like that in programming or meta-programming
statements, then that programmer is not worth being named a programmer.
But on the contrary:
Most normal intelligent persons without any programming skills are able
to put together a workable program if they only have a manual, because
humans are creative beings. But then manage to make a program that works
for a task doesn't mean that these guy can do programming! These fellows
will usually construct programs that a experience programmer would, to
put it nicely, call "unusual constructions". Probably these program will
suffer from bad degrees of coupling and cohesion (aka: spaghetti programs
in popular terms).
>3. I found solution.
Good!
Regards,
/Anders
D.S. Your description above about the file with e-mail address is still
not sufficient enough for a programmer to understand how (s)he should
employ an algorithm to extract e-mail addresses from it. You suffer
from the "general-customer-ignorance-problem", where the customer
believes that programmers are mind reader and can extract all the
details from a transcendental spiritual plane... Well, let me tell
you this: programming haven't reached that state - yet. :) D.S.