Reply to Angle brackets cause string to truncate

Your name:

Reply:


Posted by Nunzio on 04/06/07 22:32

I am trying to build an email address in PHP code using v5.1.2. All
works well until I try to surround the email address with angle
brackets. Every method I try causes the email address to disappear
completely. I have to believe that this is a common problem, but I
can't find any answers in the PHP docs or in Google. Any insight
would be greatly appreciated. Below are some of my failed attempts.

$strAddressee = "$ContactName "."<"."$ContactEmail".">";
(brackets and email address disappear)

$strAddressee = "$ContactName <$ContactEmail>";
(brackets and email address disappear)

$strAddressee = "$ContactName \074 $ContactEmail \076";
(works, except for unwanted spaces between the brackets and address)

$strAddressee = "$ContactName \074{$ContactEmail}\076";
(brackets and email address disappear)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация