|
Posted by Erwin Moller on 10/03/05 11:46
Philip Ronan wrote:
> "Erwin Moller" wrote:
>
>> Taxi Driver wrote:
>>
>>> Does anyone know of a good script to gather email addresses from a
>>> specific web site.
>>>
>>> Thank you.
>>
>> Yes, try this one:
>>
>> $tomail = "7sumari@mail.goo.ne.jp";
>> $subject = "Great new mailprogram! Try it now!";
>> $body = "Buy now the latest greatest mailprogram.";
>> while("spam" == "spam") {
>> mail($to, $subject, $body);
>> }
>>
>>
>> Regards,
>> Erwin Moller
>
> Hang on, shouldn't that be "mail($tomail, $subject, $body);"?
>
> Maybe someone should try running this on their server just to make sure
> there aren't any other bugs.
>
Oh yes, you are right.
I disabled scripttimeout and tested it for the night, and your improved code
runs a lot better.
Thanks.
;-)
Regards,
Erwin Moller
[Back to original message]
|