ID: 15496 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Reproducible crash Operating System: XP PHP Version: 4.1.1 New Comment:
$db = mysql_connect($dbhost,$dbuser,$dbpasswd) or die("Unable to connect to database"); @mysql_select_db("$dbname", $db) or die("Unable to select database $dbname"); $sqlquery = mysql_query("SELECT * FROM `text_questionnaire` " ,$db); while ($tablerows = mysql_fetch_row($sqlquery)) { $HTMLEmailText = "<html><head>"; $HTMLEmailText .= "<meta http-equiv=\"Content-Language\" content=\"en-us\">"; $HTMLEmailText .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">"; $HTMLEmailText .= "<title>$tablerows[14]</title>"; $HTMLEmailText .= "<meta http-equiv=\"Page-Enter\" content=\"revealTrans(Duration=3.0,Transition=12)\">"; $HTMLEmailText .= "<BODY BGCOLOR=#FFFFC0 TEXT=Black LINK=red VLINK=Green ALINK=Green>"; $HTMLEmailText .= "<H1>$tablerows[14] </H1>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>Here is the information we recieved </b></font><Table>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[9]</b></font><TD ALIGN=Left>$Name<TR>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[10]</b></font><TD ALIGN=Left>$Email<TR>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[11]</b></font><TD ALIGN=Left>$Phone<TR>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[12]</b></font><TD ALIGN=Left>$Fax<TR>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[1]</b></font><TD ALIGN=Left>$Contaminated<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[2]</b></font><TD ALIGN=Left>$When_and_how<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[3]</b></font><TD ALIGN=Left>$discovered<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[4]</b></font><TD ALIGN=Left>$symptom<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[5]</b></font><TD ALIGN=Left>$Government<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[6]</b></font><TD ALIGN=Left>$physicians<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[7]</b></font><TD ALIGN=Left>$adequate<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[8]</b></font><TD ALIGN=Left>$Comments<TR>"; //$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[13]</b></font><TD ALIGN=Left>$Contact<TR>"; $HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[16]</b></font><TD ALIGN=Left>$User_Data_1<tr>"; $HTMLEmailText .= " "; } It will send mail OK with the lines rem out Will not send mail with them in, if the user adds lost of data Previous Comments: ------------------------------------------------------------------------ [2002-02-16 22:50:43] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". ------------------------------------------------------------------------ [2002-02-16 22:14:29] [EMAIL PROTECTED] Is any one going to answer this? ------------------------------------------------------------------------ [2002-02-11 01:07:05] [EMAIL PROTECTED] There looks to be a bug in the email on size small is on put some data in the email and I get: Server=watson.microsoft.com UI LCID=1033 Flags=33552 Brand=WINDOWS TitleName=php.exe DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId RegSubPath=Microsoft\PCHealth\ErrorReporting\DW ErrorText=If you were in the middle of something, the information you were working on might be lost. Stage1URL=/StageOne/php_exe/0_0_0_0/php4ts_dll/0_0_0_0/000a09ed.htm Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=php4ts.dll&szModVer=0.0.0.0&offset=000a09ed DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER7F.tmp.dir00\php.exe.mdmp ErrorSubPath=php.exe\0.0.0.0\php4ts.dll\0.0.0.0\000a09ed Help Please ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15496&edit=1