This is a discussion on RE: [PHP] Cannot send a hyperlink within the PHP General forums, part of the PHP Programming Forums category; Daniel Brown wrote: > On Nov 15, 2007 9:41 AM, Brad <brads@ftnco.com> wrote: >> ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Daniel Brown wrote:
> On Nov 15, 2007 9:41 AM, Brad <brads@ftnco.com> wrote: >> Beginning with >> $headers .= "--".$htmlalt_mime_boundary.$eol; >> It starts to read it as text and not html?? >> >> Could this be a server side problem? > > Negative. It's client-side error E304, resulting from a > null-pointer exception between the chair and keyboard. Usually abbreviated to PEBKAC if I'm not mistaken. -Stut -- http://stut.net/ |
|
|||
|
On Nov 15, 2007 11:10 AM, Stut <stuttle@gmail.com> wrote:
> Daniel Brown wrote: > > On Nov 15, 2007 9:41 AM, Brad <brads@ftnco.com> wrote: > >> Beginning with > >> $headers .= "--".$htmlalt_mime_boundary.$eol; > >> It starts to read it as text and not html?? > >> > >> Could this be a server side problem? > > > > Negative. It's client-side error E304, resulting from a > > null-pointer exception between the chair and keyboard. > > Usually abbreviated to PEBKAC if I'm not mistaken. I'm afraid we're going to have to do a stack trace. [Snaps on rubber glove] Just.... try to relax. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. |
|
|||
|
Daniel Brown wrote:
> On Nov 15, 2007 11:10 AM, Stut <stuttle@gmail.com> wrote: >> Daniel Brown wrote: >>> On Nov 15, 2007 9:41 AM, Brad <brads@ftnco.com> wrote: >>>> Beginning with >>>> $headers .= "--".$htmlalt_mime_boundary.$eol; >>>> It starts to read it as text and not html?? >>>> >>>> Could this be a server side problem? >>> Negative. It's client-side error E304, resulting from a >>> null-pointer exception between the chair and keyboard. >> Usually abbreviated to PEBKAC if I'm not mistaken. > > I'm afraid we're going to have to do a stack trace. > > [Snaps on rubber glove] > > Just.... try to relax. [Advises Brad to close his eyes and think of England] -Stut -- http://stut.net/ |
|
|||
|
On Nov 15, 2007 11:20 AM, Stut <stuttle@gmail.com> wrote:
> Daniel Brown wrote: > > On Nov 15, 2007 11:10 AM, Stut <stuttle@gmail.com> wrote: > >> Daniel Brown wrote: > >>> On Nov 15, 2007 9:41 AM, Brad <brads@ftnco.com> wrote: > >>>> Beginning with > >>>> $headers .= "--".$htmlalt_mime_boundary.$eol; > >>>> It starts to read it as text and not html?? > >>>> > >>>> Could this be a server side problem? > >>> Negative. It's client-side error E304, resulting from a > >>> null-pointer exception between the chair and keyboard. > >> Usually abbreviated to PEBKAC if I'm not mistaken. > > > > I'm afraid we're going to have to do a stack trace. > > > > [Snaps on rubber glove] > > > > Just.... try to relax. > > [Advises Brad to close his eyes and think of England] > > -Stut > > -- > http://stut.net/ > [Pulls out his sword, chants the words "oobi flexor gondalis exo" and conjures up LEVEL 12 warrior.] Figured if we were going to go OT and role-play, may as well geekspeak, too. ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. |
|
|||
|
> We are sending email now, > But we are back to the original problem, > No hyperlink! > > $email = $_REQUEST['email'] ; > $fromaddress .= 'admin@zoneofsuccessclub.com'; > $fromname .= 'Zone of success Club'; > $eol="\r\n"; > $headers .= "From: ".$fromname."<".$fromaddress.">".$eol; > $headers .= "Reply-To: ".$fromname."<".$fromaddress.">".$eol; > $headers .= "Return-Path: ".$fromname."<".$fromaddress.">".$eol; > $headers .= "Message-ID: <".time()."-".$fromaddress.">".$eol; > $headers .= "X-Mailer: PHP v".phpversion().$eol; > $msg .= "--".$htmlalt_mime_boundary.$eol; > $msg .= "Content-Type: text/html; charset=iso-8859-1".$eol; > $msg .= "Content-Transfer-Encoding: 8bit".$eol.$eol; > $body.= 'link '; > $msg .= $body.$eol.$eol; > mail($email, $subject, $msg, $headers); > > > Yields > > Parse error: parse error, unexpected T_STRING in > /home/zoneof5/public_html/index.php on line 76 If you can't deal with Example 1127. Sending HTML email http://php.net/manual/en/function.mail.php Check out http://phpmailer.sourceforge.net/ and http://phpmailer.sourceforge.net/tutorial.php#4 __________________________________________________ _______________ Boo!*Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-...wl_hotmailnews |
|
|||
|
> Next time Brad, please try to take a look yourself at the line the error > indicates (and the lines around it aswell) and TRY to figure out what > MIGHT be wrong. > > - Tul If it's not on the line it reported, it may be immediately above that line. The only unhelpful error I've seen (once you know what T_STRING means) is when it gives you the last line number in your entire file. __________________________________________________ _______________ Boo!*Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-...wl_hotmailnews |