I am reading up on it now.
I am going to take your advice.

Be prepared for a few questions as I make it past the learning curve!

:o)

-----Original Message-----
From: Jochem Maas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 4:47 PM
To: Brad
Cc: php-general@lists.php.net
Subject: Re: [PHP] Cannot send a hyperlink

Brad wrote:
> I am not sure that would help.

I am.

> Just another can of worms.

no, not really, not at all.

> The $_REQUEST is tied into a whole bunch of database functions.

wtf. $_REQUEST is a super global - nothing what so ever to do
with databases.

> 
> My present code....
> 

.... is about as robust as a soap bubble. in a world where 60-70
of all mail is SPAM how far do you think the crufty output your generating
is going to get? my guess is generally just as far as /dev/null
on the recipient machine.

which is why I suggested a mailer class that is known to work and wraps
up all the tricky crap (and protects you from making stupid mistakes like
opening up the mail() function to mail header injection attacks.

most people will probably be using a DB as the source of dynamic content
for generated emails, your situation is nothing special in that regard.

> 
> <?
>   $email = $_REQUEST['email'] ;

oh yeah and taking the 'to' email address from the request is just asking
for your script to be turned into spambot.

>   $message = '<a href="'.www.zoneofsuccessclub.com.'">link </a>';
>  $headers  = 'MIME-Version: 1.0' . "\r\n";
>  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>   mail( $email, "Your FREE book from Zone of Success Club .com",
>     $headers, $message, "From: $email" );
> ?>
> 
> -----Original Message-----
> From: Jochem Maas [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, November 10, 2007 3:44 PM
> To: Brad
> Subject: Re: [PHP] Cannot send a hyperlink
> 
> this will help: http://phpmailer.sourceforge.net/
> 

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

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

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

Reply via email to