From: justin dot small at blueyonder dot co dot uk Operating system: CentOS(= Red Hat Enterprise Linu PHP version: 5.1.6 PHP Bug Type: *Mail Related Bug description: No log handling enabled - turning on stderr logging read_config_store open fail
Description: ------------ The script is failing when notifying the user that they have a new subscriber with the following error A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/home/proautor/public_html/ar/parser/parser.php generated by [EMAIL PROTECTED] The following text was generated during the delivery attempt: ------ pipe to |/home/proautor/public_html/ar/parser/parser.php generated by [EMAIL PROTECTED] ------ My hosts do not have a clue dispite pointing them to various solutions I have found but without access to their systems I cannot fix problems I need a work around for this you are my last resort please help fix this problem I have seen http://bugs.php.net/bug.php?id=32613 but this does not help as my hosts are reluctant to trying to fix due to their system not working if they attempt anything Reproduce code: --------------- |/home/proautor/public_html/ar/parser/parser.php #!/usr/bin/php -q <?php require "../globals.php"; require "../db_mysql.php"; require "../functions.php"; require "../datesf.php"; require "../token.php"; $tdate=date("Y-m-d"); $dtime=date("H"); $ctime=date("G:i"); $tt=date('H'); $newtt=$tt+1; if ($newtt=="24"){ $newtt="0"; } // read from stdin $fp = fopen('php://stdin', 'r'); $email = fread($fp,4096); fclose($fp); // handle email $email = explode("\n", $email); // empty vars $from = ""; $subject = ""; $headers = ""; $message = ""; $to=""; $failede=""; $sendacct=""; $id=""; $numLines = count($email); for ($i=0; $i<$numLines; $i++) { // look out for special headers if (preg_match("/^Subject: (.*)/", $email[$i], $matches)) { $subject = $matches[1]; } if (preg_match("/^From: (.*)/", $email[$i], $matches)) { $from = $matches[1]; } if (preg_match("/^To: (.*)/", $email[$i], $matches)) { $to = $matches[1]; } if (preg_match("/^Action: (.*)/", $email[$i], $matches)) { $aact = $matches[1]; } if (preg_match("/^Final-Recipient: (.*)/", $email[$i], $matches)) { $frecp = $matches[1]; } if (preg_match("/^X-Failed-Recipients: (.*)/", $email[$i], $matches)) { $failede = $matches[1]; } if (preg_match("/^X-Sender: (.*)/", $email[$i], $matches)) { $sendacct = $matches[1]; } if (preg_match("/^X-Sendera: (.*)/", $email[$i], $matches)) { $id = $matches[1]; } } if($subject=="SUBSCRIBE"){ #get responder name $to=trim($to); $to=strtolower($to); list($na,$em) = split( "<", $from); list($fn,$ln) = split(" ", $na); $em = str_replace("<","","$em"); $em = str_replace(">","","$em"); $to = str_replace("<","","$to"); $to = str_replace(">","","$to"); $fn = str_replace("\"","","$fn"); $to = str_replace("\"","","$to"); $from = str_replace("\"","","$from"); $ln = str_replace("\"","","$ln"); $from = str_replace(">","","$from"); $from = str_replace("<","","$from"); if($fn=="$na"){ $fn="Friend"; $em=$na; } $fn=trim($fn); $ln=trim($ln); $em=trim($em); $em=strtolower($em); $getautonamea= New DB_Sql; $getautonamea->query("select * from autorep where auto_email='$to' and auto_status='A'"); $getautonamea->next_record(); $aid=stripslashes($getautonamea->f("aid")); $acct_id=stripslashes($getautonamea->f("acct_id")); $auto_name=stripslashes($getautonamea->f("auto_name")); $auto_email=stripslashes($getautonamea->f("auto_email")); $auto_status=$getautonamea->f("auto_status"); $auto_importday=$getautonamea->f("auto_importday"); ## if account suspended then die if($auto_status=="S"){ exit; } ## get acctount plan info $getplani= New DB_Sql; $getplani->query("select plan_id from accts where acct_id='$acct_id'"); $getplani->next_record(); $planidn=$getplani->f("plan_id"); ## now get plan info $getplaninfo= New DB_Sql; $getplaninfo->query("select * from accounttypes where accts_id='$planidn'"); $getplaninfo->next_record(); $accts_confirm=$getplaninfo->f("accts_confirm"); $accts_dimportmax=$getplaninfo->f("accts_dimportmax"); $accts_maxlead=$getplaninfo->f("accts_maxlead"); $accts_allowimport=$getplaninfo->f("accts_allowimport"); ## get current lead count $getmesscount= New DB_Sql; $getmesscount->query("select count(aid) from leads where aid='$aid' and lstatus !='D'"); $getmesscount->next_record(); $leadcount = $getmesscount->f("count(aid)"); ## now check and if over or at limit then die if($leadcount=="$acct_maxlead"){ exit; } $tkn=genusr(8); $getuser= New DB_Sql; $getuser->query("select * from autorep where aid='$aid' and auto_status='A'"); $getuser->next_record(); $auto_fromemail=stripslashes($getuser->f("auto_fromemail")); $auto_fromname=stripslashes($getuser->f("auto_fromname")); $auto_url=stripslashes($getuser->f("auto_url")); $auto_url2=stripslashes($getuser->f("auto_url2")); $auto_url3=stripslashes($getuser->f("auto_url3")); $auto_url4=stripslashes($getuser->f("auto_url4")); $auto_url5=stripslashes($getuser->f("auto_url5")); $auto_cus=stripslashes($getuser->f("auto_cus")); $auto_cus2=stripslashes($getuser->f("auto_cus2")); $auto_cus3=stripslashes($getuser->f("auto_cus3")); $auto_cus4=stripslashes($getuser->f("auto_cus4")); $auto_cus5=stripslashes($getuser->f("auto_cus5")); $auto_redirecturl=stripslashes($getuser->f("auto_redirecturl")); $auto_footer=stripslashes($getuser->f("auto_footer")); $auto_header=stripslashes($getuser->f("auto_header")); ## check e-mail fromat if bad die if( !eregi( "^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+))*$", $em ) ){ exit; } ## now check the ban lists $getmstrmv=NEW DB_Sql; $getmstrmv->query("select masid from masterremove where masemail='$em'"); if ($getmstrmv->num_rows()!=0){ exit; } $getmstrmvdd=NEW DB_Sql; $getmstrmvdd->query("select masbid from mastban where masbemail='$em'"); if ($getmstrmvdd->num_rows()!=0){ exit; } ## now check if user is subscribed $getuserleads=NEW DB_Sql; $getuserleads->query("select lid from leads where lemail='$em' and aid='$aid' and acct_id='$acct_id' and lstatus !='D' "); $getuserleads->next_record(); if ($getuserleads->num_rows()>=1){ exit; } $tkn=genusr(8); $em=strtolower($em); if($accts_confirm=="Y"){ $addlead=NEW DB_Sql; $addlead->query("insert into leads (acct_id,aid,lnextdue,lnextduedate,lfname,llname,ldate,laddr1,laddr2,lcity,lstate,lzip,lphone,lfax,lemail,lstatus,lcamefrom,token,confirmdate,leadip,lspare1,lspare2,lspare3,lspare4,lspare5,lspare6,lspare7,lspare8,lspare9,lspare10) values ('$acct_id','$aid','','','$fn','$ln','$tdate','','','','','','','','$em','P','email','$tkn','','','','','','','','','','','','')"); $currentcount++; $getsetupe = New DB_Sql; $getsetupe->query("select * from sys_default"); $getsetupe->next_record(); $sys_spare2=stripslashes($getsetupe->f("sys_spare2")); $sys_spare9=stripslashes($getsetupe->f("sys_spare9")); $sys_spare9 = str_replace("[Date]","$tdate","$sys_spare9"); $sys_spare9 = str_replace("[SYSNAME]","$auto_email","$sys_spare9"); $sys_spare9 = str_replace("[AUTONAME]","$auto_fromname","$sys_spare9"); $sys_spare9 = str_replace("[OWNEREMAIL]","$auto_fromemail","$sys_spare9"); $sys_spare9 = str_replace("[SUBEMAIL]","$em","$sys_spare9"); $sys_spare2 = str_replace("[Date]","$tdate","$sys_spare2"); $sys_spare2 = str_replace("[SYSNAME]","$auto_email","$sys_spare2"); $sys_spare2 = str_replace("[AUTONAME]","$auto_fromname","$sys_spare2"); $sys_spare2 = str_replace("[OWNEREMAIL]","$auto_fromemail","$sys_spare2"); $sys_spare2 = str_replace("[SUBEMAIL]","$em","$sys_spare2"); $getid=NEW DB_Sql; $getid->query("select * from leads where aid='$aid' and lemail='$em' and lstatus !='D' and token='$tkn'"); $getid->next_record(); $lid=$getid->f("lid"); unset($headers); $headers .= "From: $auto_fromname <$auto_fromemail>\n"; $headers .= "Reply-To: $auto_fromname <$auto_fromemail>\n"; $headers .= "X-Sender: Acct No $acct_id\n"; $headers .= "Content-Type: text/plain; charset=us-ascii\n"; $mailbody=" $sys_spare9 "; $mailbody .="\n"; $mailbody .="$SelfPath/subconf.php?id=$lid&tkn=$tkn&m=1\n"; $mailbody .="\n"; $mailbody .="<a href=\"$SelfPath/subconf.php?id=$lid&tkn=$tkn&m=1\">AOL Users Click Here</a>"; mail("$em","$sys_spare2","$mailbody","$headers"); } else { ### added 8/25/2004 send first mail now and do not queue $addlead=NEW DB_Sql; $addlead->query("insert into leads (acct_id,aid,lnextdue,lnextduedate,lfname,llname,ldate,laddr1,laddr2,lcity,lstate,lzip,lphone,lfax,lemail,lstatus,lcamefrom,token,confirmdate,leadip,lspare1,lspare2,lspare3,lspare4,lspare5,lspare6,lspare7,lspare8,lspare9,lspare10,stime) values ('$acct_id','$aid','','','$fn','$ln','$tdate','','','','','','','','$em','A','email','$tkn','','','','','','','','','','','','','$newtt')"); $getlead= New DB_Sql; $getlead->query("select lid from leads where aid='$aid' and lemail='$em' and lstatus='A'"); $getlead->next_record(); $lid=stripslashes($getlead->f("lid")); $getuserss= New DB_Sql; $getuserss->query("select * from autorep where aid='$aid' and auto_status='A'"); $getuserss->next_record(); $auto_fromemail=stripslashes($getuserss->f("auto_fromemail")); $auto_fromname=stripslashes($getuserss->f("auto_fromname")); $auto_email=stripslashes($getuserss->f("auto_email")); $auto_url=stripslashes($getuserss->f("auto_url")); $auto_url2=stripslashes($getuserss->f("auto_url2")); $auto_url3=stripslashes($getuserss->f("auto_url3")); $auto_url4=stripslashes($getuserss->f("auto_url4")); $auto_url5=stripslashes($getuserss->f("auto_url5")); $auto_cus=stripslashes($getuserss->f("auto_cus")); $auto_cus2=stripslashes($getuserss->f("auto_cus2")); $auto_cus3=stripslashes($getuserss->f("auto_cus3")); $auto_cus4=stripslashes($getuserss->f("auto_cus4")); $auto_cus5=stripslashes($getuserss->f("auto_cus5")); $auto_redirecturl=stripslashes($getuserss->f("auto_redirecturl")); $auto_footer=stripslashes($getuserss->f("auto_footer")); $auto_header=stripslashes($getuserss->f("auto_header")); $getacctinfomss= New DB_Sql; $getacctinfomss->query("select * from accts where acct_id='$acct_id'"); $getacctinfomss->next_record(); $plan_id=stripslashes($getacctinfomss->f("plan_id")); $afname=stripslashes($getacctinfomss->f("rfname")); $alname=stripslashes($getacctinfomss->f("rlname")); $aadd1=stripslashes($getacctinfomss->f("radd1")); $aadd2=stripslashes($getacctinfomss->f("radd2")); $acity=stripslashes($getacctinfomss->f("rcity")); $astate=stripslashes($getacctinfomss->f("rstate")); $azip=stripslashes($getacctinfomss->f("rzip")); $aphone=stripslashes($getacctinfomss->f("rphone")); $getbanyss= New DB_Sql; $getbanyss->query("select accts_banner from accounttypes where accts_id='$plan_id'"); $getbanyss->next_record(); $mbaner=stripslashes($getbanyss->f("accts_banner")); $getsetupess = New DB_Sql; $getsetupess->query("select * from sys_default"); $getsetupess->next_record(); $sys_ulink=stripslashes($getsetupess->f("sys_ulink")); $textheader=stripslashes($getsetupess->f("sys_spare5")); $htmlheader=stripslashes($getsetupess->f("sys_spare6")); $textfooter=stripslashes($getsetupess->f("sys_spare7")); $htmlfooter=stripslashes($getsetupess->f("sys_spare8")); $getmsd= New DB_Sql; $getmsd->query("select * from messages where aid='$aid' and mess_num='1'"); $getmsd->next_record(); $subject=stripslashes($getmsd->f("mess_subj")); $body=stripslashes($getmsd->f("mess_body")); $html=stripslashes($getmsd->f("mess_type")); $mess_num=stripslashes($getmsd->f("mess_num")); $mess_interval=stripslashes($getmsd->f("mess_interval")); $mess_disable=stripslashes($getmsd->f("mess_disable")); $ssub=trim($subject); $sbody=trim($body); $ssub = str_replace("[MYFROMNAME]","$auto_fromname","$ssub"); $ssub = str_replace("[MYFULLNAME]","$afname $alname","$ssub"); $ssub = str_replace("[MYFNAME]","$afname","$ssub"); $ssub = str_replace("[MYLNAME]","$alname","$ssub"); $ssub = str_replace("[MYEMAIL]","$auto_fromemail","$ssub"); $ssub = str_replace("[MYADD1]","$aadd1","$ssub"); $ssub = str_replace("[MYADD2]","$aadd2","$ssub"); $ssub = str_replace("[MYCITY]","$acity","$ssub"); $ssub = str_replace("[MYSTATE]","$astate","$ssub"); $ssub = str_replace("[MYZIP]","$azip","$ssub"); $ssub = str_replace("[MYPHONE]","$aphone","$ssub"); $ssub = str_replace("[MYURL1]","$auto_url","$ssub"); $ssub = str_replace("[MYURL2]","$auto_url2","$ssub"); $ssub = str_replace("[MYURL3]","$auto_url3","$ssub"); $ssub = str_replace("[MYURL4]","$auto_url4","$ssub"); $ssub = str_replace("[MYURL5]","$auto_url5","$ssub"); $ssub = str_replace("[MYCUSTOM1]","$auto_cus","$ssub"); $ssub = str_replace("[MYCUSTOM2]","$auto_cus2","$ssub"); $ssub = str_replace("[MYCUSTOM3]","$auto_cus3","$ssub"); $ssub = str_replace("[MYCUSTOM4]","$auto_cus4","$ssub"); $ssub = str_replace("[MYCUSTOM5]","$auto_cus5","$ssub"); $ssub = str_replace("[FIRSTNAME]","$fn","$ssub"); $ssub = str_replace("[LASTNAME]","$ln","$ssub"); $ssub = str_replace("[FULLNAME]","$fn $ln","$ssub"); $ssub = str_replace("[EMAIL]","$em","$ssub"); $ssub = str_replace("[DATE]","$date","$ssub"); $ssub = str_replace("[DATE1]","$date1","$ssub"); $ssub = str_replace("[DATE2]","$date2","$ssub"); $ssub = str_replace("[DATE3]","$date3","$ssub"); $ssub = str_replace("[DATE4]","$date4","$ssub"); $ssub = str_replace("[DATE5]","$date5","$ssub"); $ssub = str_replace("[DATE6]","$date6","$ssub"); $ssub = str_replace("[DATE7]","$date7","$ssub"); $ssub = str_replace("[DATE8]","$date8","$ssub"); $ssub = str_replace("[DATE9]","$date9","$ssub"); $ssub = str_replace("[DATE10]","$date10","$ssub"); $ssub = str_replace("[DATE11]","$date11","$ssub"); $ssub = str_replace("[DATE12]","$date12","$ssub"); $ssub = str_replace("[DATE13]","$date13","$ssub"); $ssub = str_replace("[DATE14]","$date14","$ssub"); $ssub = str_replace("[DATE15]","$date15","$ssub"); $ssub = str_replace("[DATE16]","$date16","$ssub"); $ssub = str_replace("[DATE17]","$date17","$ssub"); $ssub = str_replace("[DATE18]","$date18","$ssub"); $ssub = str_replace("[DATE19]","$date19","$ssub"); $ssub = str_replace("[DATE20]","$date20","$ssub"); $ssub = str_replace("[DATE21]","$date21","$ssub"); $ssub = str_replace("[DATE22]","$date22","$ssub"); $ssub = str_replace("[DATE23]","$date23","$ssub"); $ssub = str_replace("[DATE24]","$date24","$ssub"); $ssub = str_replace("[DATE25]","$date25","$ssub"); $ssub = str_replace("[DATE26]","$date26","$ssub"); $ssub = str_replace("[DATE27]","$date27","$ssub"); $ssub = str_replace("[DATE28]","$date28","$ssub"); $ssub = str_replace("[DATE29]","$date29","$ssub"); $ssub = str_replace("[DATE30]","$date30","$ssub"); $ssub = str_replace("[DATE31]","$date31","$ssub"); $ssub = str_replace("[DATE32]","$date32","$ssub"); $ssub = str_replace("[DATE33]","$date33","$ssub"); $ssub = str_replace("[DATE34]","$date34","$ssub"); $ssub = str_replace("[DATE35]","$date35","$ssub"); $ssub = str_replace("[DATE36]","$date36","$ssub"); $ssub = str_replace("[DATE37]","$date37","$ssub"); $ssub = str_replace("[DATE38]","$date38","$ssub"); $ssub = str_replace("[DATE39]","$date39","$ssub"); $ssub = str_replace("[DATE40]","$date40","$ssub"); $ssub = str_replace("[DATE41]","$date41","$ssub"); $ssub = str_replace("[DATE42]","$date42","$ssub"); $ssub = str_replace("[DATE43]","$date43","$ssub"); $ssub = str_replace("[DATE44]","$date44","$ssub"); $ssub = str_replace("[DATE45]","$date45","$ssub"); $ssub = str_replace("[DATE46]","$date46","$ssub"); $ssub = str_replace("[DATE47]","$date47","$ssub"); $ssub = str_replace("[DATE48]","$date48","$ssub"); $ssub = str_replace("[DATE49]","$date49","$ssub"); $ssub = str_replace("[DATE50]","$date50","$ssub"); $ssub = str_replace("[DATE51]","$date51","$ssub"); $ssub = str_replace("[DATE52]","$date52","$ssub"); $ssub = str_replace("[DATE53]","$date53","$ssub"); $ssub = str_replace("[DATE54]","$date54","$ssub"); $ssub = str_replace("[DATE55]","$date55","$ssub"); $ssub = str_replace("[DATE56]","$date56","$ssub"); $ssub = str_replace("[DATE57]","$date57","$ssub"); $ssub = str_replace("[DATE58]","$date58","$ssub"); $ssub = str_replace("[DATE59]","$date59","$ssub"); $ssub = str_replace("[DATE60]","$date60","$ssub"); $ssub = str_replace("[DATE61]","$date61","$ssub"); $ssub = str_replace("[DATE62]","$date62","$ssub"); $ssub = str_replace("[DATE63]","$date63","$ssub"); $ssub = str_replace("[DATE64]","$date64","$ssub"); $ssub = str_replace("[DATE65]","$date65","$ssub"); $ssub = str_replace("[DATE66]","$date66","$ssub"); $ssub = str_replace("[DATE67]","$date67","$ssub"); $ssub = str_replace("[DATE68]","$date68","$ssub"); $ssub = str_replace("[DATE69]","$date69","$ssub"); $ssub = str_replace("[DATE70]","$date70","$ssub"); $ssub = str_replace("[DATE71]","$date71","$ssub"); $ssub = str_replace("[DATE72]","$date72","$ssub"); $ssub = str_replace("[DATE73]","$date73","$ssub"); $ssub = str_replace("[DATE74]","$date74","$ssub"); $ssub = str_replace("[DATE75]","$date75","$ssub"); $ssub = str_replace("[DATE76]","$date76","$ssub"); $ssub = str_replace("[DATE77]","$date77","$ssub"); $ssub = str_replace("[DATE78]","$date78","$ssub"); $ssub = str_replace("[DATE79]","$date79","$ssub"); $ssub = str_replace("[DATE80]","$date80","$ssub"); $ssub = str_replace("[DATE81]","$date81","$ssub"); $ssub = str_replace("[DATE82]","$date82","$ssub"); $ssub = str_replace("[DATE83]","$date83","$ssub"); $ssub = str_replace("[DATE84]","$date84","$ssub"); $ssub = str_replace("[DATE85]","$date85","$ssub"); $ssub = str_replace("[DATE86]","$date86","$ssub"); $ssub = str_replace("[DATE87]","$date87","$ssub"); $ssub = str_replace("[DATE88]","$date88","$ssub"); $ssub = str_replace("[DATE89]","$date89","$ssub"); $ssub = str_replace("[DATE90]","$date90","$ssub"); $ssub = str_replace("[DATE91]","$date91","$ssub"); $ssub = str_replace("[DATE92]","$date92","$ssub"); $ssub = str_replace("[DATE93]","$date93","$ssub"); $ssub = str_replace("[DATE94]","$date94","$ssub"); $ssub = str_replace("[DATE95]","$date95","$ssub"); $ssub = str_replace("[DATE96]","$date96","$ssub"); $ssub = str_replace("[DATE97]","$date97","$ssub"); $ssub = str_replace("[DATE98]","$date98","$ssub"); $ssub = str_replace("[DATE99]","$date99","$ssub"); $ssub = str_replace("[DATE100]","$date100","$ssub"); ## now the body $sbody = str_replace("[MYFROMNAME]","$auto_fromname","$sbody"); $sbody = str_replace("[MYFULLNAME]","$afname $alname","$sbody"); $sbody = str_replace("[MYFNAME]","$afname","$sbody"); $sbody = str_replace("[MYLNAME]","$alname","$sbody"); $sbody = str_replace("[MYEMAIL]","$auto_fromemail","$sbody"); $sbody = str_replace("[MYADD1]","$aadd1","$sbody"); $sbody = str_replace("[MYADD2]","$aadd2","$sbody"); $sbody = str_replace("[MYCITY]","$acity","$sbody"); $sbody = str_replace("[MYSTATE]","$astate","$sbody"); $sbody = str_replace("[MYZIP]","$azip","$sbody"); $sbody = str_replace("[MYPHONE]","$aphone","$sbody"); $sbody = str_replace("[MYURL1]","$auto_url","$sbody"); $sbody = str_replace("[MYURL2]","$auto_url2","$sbody"); $sbody = str_replace("[MYURL3]","$auto_url3","$sbody"); $sbody = str_replace("[MYURL4]","$auto_url4","$sbody"); $sbody = str_replace("[MYURL5]","$auto_url5","$sbody"); $sbody = str_replace("[MYCUSTOM1]","$auto_cus","$sbody"); $sbody = str_replace("[MYCUSTOM2]","$auto_cus2","$sbody"); $sbody = str_replace("[MYCUSTOM3]","$auto_cus3","$sbody"); $sbody = str_replace("[MYCUSTOM4]","$auto_cus4","$sbody"); $sbody = str_replace("[MYCUSTOM5]","$auto_cus5","$sbody"); $sbody = str_replace("[FIRSTNAME]","$fn","$sbody"); $sbody = str_replace("[LASTNAME]","$ln","$sbody"); $sbody = str_replace("[FULLNAME]","$fn $ln","$sbody"); $sbody = str_replace("[EMAIL]","$em","$sbody"); $sbody = str_replace("[DATE]","$date","$sbody"); $sbody = str_replace("[DATE1]","$date1","$sbody"); $sbody = str_replace("[DATE2]","$date2","$sbody"); $sbody = str_replace("[DATE3]","$date3","$sbody"); $sbody = str_replace("[DATE4]","$date4","$sbody"); $sbody = str_replace("[DATE5]","$date5","$sbody"); $sbody = str_replace("[DATE6]","$date6","$sbody"); $sbody = str_replace("[DATE7]","$date7","$sbody"); $sbody = str_replace("[DATE8]","$date8","$sbody"); $sbody = str_replace("[DATE9]","$date9","$sbody"); $sbody = str_replace("[DATE10]","$date10","$sbody"); $sbody = str_replace("[DATE11]","$date11","$sbody"); $sbody = str_replace("[DATE12]","$date12","$sbody"); $sbody = str_replace("[DATE13]","$date13","$sbody"); $sbody = str_replace("[DATE14]","$date14","$sbody"); $sbody = str_replace("[DATE15]","$date15","$sbody"); $sbody = str_replace("[DATE16]","$date16","$sbody"); $sbody = str_replace("[DATE17]","$date17","$sbody"); $sbody = str_replace("[DATE18]","$date18","$sbody"); $sbody = str_replace("[DATE19]","$date19","$sbody"); $sbody = str_replace("[DATE20]","$date20","$sbody"); $sbody = str_replace("[DATE21]","$date21","$sbody"); $sbody = str_replace("[DATE22]","$date22","$sbody"); $sbody = str_replace("[DATE23]","$date23","$sbody"); $sbody = str_replace("[DATE24]","$date24","$sbody"); $sbody = str_replace("[DATE25]","$date25","$sbody"); $sbody = str_replace("[DATE26]","$date26","$sbody"); $sbody = str_replace("[DATE27]","$date27","$sbody"); $sbody = str_replace("[DATE28]","$date28","$sbody"); $sbody = str_replace("[DATE29]","$date29","$sbody"); $sbody = str_replace("[DATE30]","$date30","$sbody"); $sbody = str_replace("[DATE31]","$date31","$sbody"); $sbody = str_replace("[DATE32]","$date32","$sbody"); $sbody = str_replace("[DATE33]","$date33","$sbody"); $sbody = str_replace("[DATE34]","$date34","$sbody"); $sbody = str_replace("[DATE35]","$date35","$sbody"); $sbody = str_replace("[DATE36]","$date36","$sbody"); $sbody = str_replace("[DATE37]","$date37","$sbody"); $sbody = str_replace("[DATE38]","$date38","$sbody"); $sbody = str_replace("[DATE39]","$date39","$sbody"); $sbody = str_replace("[DATE40]","$date40","$sbody"); $sbody = str_replace("[DATE41]","$date41","$sbody"); $sbody = str_replace("[DATE42]","$date42","$sbody"); $sbody = str_replace("[DATE43]","$date43","$sbody"); $sbody = str_replace("[DATE44]","$date44","$sbody"); $sbody = str_replace("[DATE45]","$date45","$sbody"); $sbody = str_replace("[DATE46]","$date46","$sbody"); $sbody = str_replace("[DATE47]","$date47","$sbody"); $sbody = str_replace("[DATE48]","$date48","$sbody"); $sbody = str_replace("[DATE49]","$date49","$sbody"); $sbody = str_replace("[DATE50]","$date50","$sbody"); $sbody = str_replace("[DATE51]","$date51","$sbody"); $sbody = str_replace("[DATE52]","$date52","$sbody"); $sbody = str_replace("[DATE53]","$date53","$sbody"); $sbody = str_replace("[DATE54]","$date54","$sbody"); $sbody = str_replace("[DATE55]","$date55","$sbody"); $sbody = str_replace("[DATE56]","$date56","$sbody"); $sbody = str_replace("[DATE57]","$date57","$sbody"); $sbody = str_replace("[DATE58]","$date58","$sbody"); $sbody = str_replace("[DATE59]","$date59","$sbody"); $sbody = str_replace("[DATE60]","$date60","$sbody"); $sbody = str_replace("[DATE61]","$date61","$sbody"); $sbody = str_replace("[DATE62]","$date62","$sbody"); $sbody = str_replace("[DATE63]","$date63","$sbody"); $sbody = str_replace("[DATE64]","$date64","$sbody"); $sbody = str_replace("[DATE65]","$date65","$sbody"); $sbody = str_replace("[DATE66]","$date66","$sbody"); $sbody = str_replace("[DATE67]","$date67","$sbody"); $sbody = str_replace("[DATE68]","$date68","$sbody"); $sbody = str_replace("[DATE69]","$date69","$sbody"); $sbody = str_replace("[DATE70]","$date70","$sbody"); $sbody = str_replace("[DATE71]","$date71","$sbody"); $sbody = str_replace("[DATE72]","$date72","$sbody"); $sbody = str_replace("[DATE73]","$date73","$sbody"); $sbody = str_replace("[DATE74]","$date74","$sbody"); $sbody = str_replace("[DATE75]","$date75","$sbody"); $sbody = str_replace("[DATE76]","$date76","$sbody"); $sbody = str_replace("[DATE77]","$date77","$sbody"); $sbody = str_replace("[DATE78]","$date78","$sbody"); $sbody = str_replace("[DATE79]","$date79","$sbody"); $sbody = str_replace("[DATE80]","$date80","$sbody"); $sbody = str_replace("[DATE81]","$date81","$sbody"); $sbody = str_replace("[DATE82]","$date82","$sbody"); $sbody = str_replace("[DATE83]","$date83","$sbody"); $sbody = str_replace("[DATE84]","$date84","$sbody"); $sbody = str_replace("[DATE85]","$date85","$sbody"); $sbody = str_replace("[DATE86]","$date86","$sbody"); $sbody = str_replace("[DATE87]","$date87","$sbody"); $sbody = str_replace("[DATE88]","$date88","$sbody"); $sbody = str_replace("[DATE89]","$date89","$sbody"); $sbody = str_replace("[DATE90]","$date90","$sbody"); $sbody = str_replace("[DATE91]","$date91","$sbody"); $sbody = str_replace("[DATE92]","$date92","$sbody"); $sbody = str_replace("[DATE93]","$date93","$sbody"); $sbody = str_replace("[DATE94]","$date94","$sbody"); $sbody = str_replace("[DATE95]","$date95","$sbody"); $sbody = str_replace("[DATE96]","$date96","$sbody"); $sbody = str_replace("[DATE97]","$date97","$sbody"); $sbody = str_replace("[DATE98]","$date98","$sbody"); $sbody = str_replace("[DATE99]","$date99","$sbody"); $sbody = str_replace("[DATE100]","$date100","$sbody"); ## now the footer $auto_footer = str_replace("[MYFROMNAME]","$auto_fromname","$auto_footer"); $auto_footer = str_replace("[MYFULLNAME]","$afname $alname","$auto_footer"); $auto_footer = str_replace("[MYFNAME]","$afname","$auto_footer"); $auto_footer = str_replace("[MYLNAME]","$alname","$auto_footer"); $auto_footer = str_replace("[MYEMAIL]","$auto_fromemail","$auto_footer"); $auto_footer = str_replace("[MYADD1]","$aadd1","$auto_footer"); $auto_footer = str_replace("[MYADD2]","$aadd2","$auto_footer"); $auto_footer = str_replace("[MYCITY]","$acity","$auto_footer"); $auto_footer = str_replace("[MYSTATE]","$astate","$auto_footer"); $auto_footer = str_replace("[MYZIP]","$azip","$auto_footer"); $auto_footer = str_replace("[MYPHONE]","$aphone","$auto_footer"); $auto_footer = str_replace("[MYURL1]","$auto_url","$auto_footer"); $auto_footer = str_replace("[MYURL2]","$auto_url2","$auto_footer"); $auto_footer = str_replace("[MYURL3]","$auto_url3","$auto_footer"); $auto_footer = str_replace("[MYURL4]","$auto_url4","$auto_footer"); $auto_footer = str_replace("[MYURL5]","$auto_url5","$auto_footer"); $auto_footer = str_replace("[MYCUSTOM1]","$auto_cus","$auto_footer"); $auto_footer = str_replace("[MYCUSTOM2]","$auto_cus2","$auto_footer"); $auto_footer = str_replace("[MYCUSTOM3]","$auto_cus3","$auto_footer"); $auto_footer = str_replace("[MYCUSTOM4]","$auto_cus4","$auto_footer"); $auto_footer = str_replace("[MYCUSTOM5]","$auto_cus5","$auto_footer"); $auto_footer = str_replace("[FIRSTNAME]","$fn","$auto_footer"); $auto_footer = str_replace("[LASTNAME]","$ln","$auto_footer"); $auto_footer = str_replace("[FULLNAME]","$fn $ln","$auto_footer"); $auto_footer = str_replace("[EMAIL]","$em","$auto_footer"); $auto_footer = str_replace("[DATE]","$date","$auto_footer"); $auto_footer = str_replace("[DATE1]","$date1","$auto_footer"); $auto_footer = str_replace("[DATE2]","$date2","$auto_footer"); $auto_footer = str_replace("[DATE3]","$date3","$auto_footer"); $auto_footer = str_replace("[DATE4]","$date4","$auto_footer"); $auto_footer = str_replace("[DATE5]","$date5","$auto_footer"); $auto_footer = str_replace("[DATE6]","$date6","$auto_footer"); $auto_footer = str_replace("[DATE7]","$date7","$auto_footer"); $auto_footer = str_replace("[DATE8]","$date8","$auto_footer"); $auto_footer = str_replace("[DATE9]","$date9","$auto_footer"); $auto_footer = str_replace("[DATE10]","$date10","$auto_footer"); $auto_footer = str_replace("[DATE11]","$date11","$auto_footer"); $auto_footer = str_replace("[DATE12]","$date12","$auto_footer"); $auto_footer = str_replace("[DATE13]","$date13","$auto_footer"); $auto_footer = str_replace("[DATE14]","$date14","$auto_footer"); $auto_footer = str_replace("[DATE15]","$date15","$auto_footer"); $auto_footer = str_replace("[DATE16]","$date16","$auto_footer"); $auto_footer = str_replace("[DATE17]","$date17","$auto_footer"); $auto_footer = str_replace("[DATE18]","$date18","$auto_footer"); $auto_footer = str_replace("[DATE19]","$date19","$auto_footer"); $auto_footer = str_replace("[DATE20]","$date20","$auto_footer"); $auto_footer = str_replace("[DATE21]","$date21","$auto_footer"); $auto_footer = str_replace("[DATE22]","$date22","$auto_footer"); $auto_footer = str_replace("[DATE23]","$date23","$auto_footer"); $auto_footer = str_replace("[DATE24]","$date24","$auto_footer"); $auto_footer = str_replace("[DATE25]","$date25","$auto_footer"); $auto_footer = str_replace("[DATE26]","$date26","$auto_footer"); $auto_footer = str_replace("[DATE27]","$date27","$auto_footer"); $auto_footer = str_replace("[DATE28]","$date28","$auto_footer"); $auto_footer = str_replace("[DATE29]","$date29","$auto_footer"); $auto_footer = str_replace("[DATE30]","$date30","$auto_footer"); $auto_footer = str_replace("[DATE31]","$date31","$auto_footer"); $auto_footer = str_replace("[DATE32]","$date32","$auto_footer"); $auto_footer = str_replace("[DATE33]","$date33","$auto_footer"); $auto_footer = str_replace("[DATE34]","$date34","$auto_footer"); $auto_footer = str_replace("[DATE35]","$date35","$auto_footer"); $auto_footer = str_replace("[DATE36]","$date36","$auto_footer"); $auto_footer = str_replace("[DATE37]","$date37","$auto_footer"); $auto_footer = str_replace("[DATE38]","$date38","$auto_footer"); $auto_footer = str_replace("[DATE39]","$date39","$auto_footer"); $auto_footer = str_replace("[DATE40]","$date40","$auto_footer"); $auto_footer = str_replace("[DATE41]","$date41","$auto_footer"); $auto_footer = str_replace("[DATE42]","$date42","$auto_footer"); $auto_footer = str_replace("[DATE43]","$date43","$auto_footer"); $auto_footer = str_replace("[DATE44]","$date44","$auto_footer"); $auto_footer = str_replace("[DATE45]","$date45","$auto_footer"); $auto_footer = str_replace("[DATE46]","$date46","$auto_footer"); $auto_footer = str_replace("[DATE47]","$date47","$auto_footer"); $auto_footer = str_replace("[DATE48]","$date48","$auto_footer"); $auto_footer = str_replace("[DATE49]","$date49","$auto_footer"); $auto_footer = str_replace("[DATE50]","$date50","$auto_footer"); $auto_footer = str_replace("[DATE51]","$date51","$auto_footer"); $auto_footer = str_replace("[DATE52]","$date52","$auto_footer"); $auto_footer = str_replace("[DATE53]","$date53","$auto_footer"); $auto_footer = str_replace("[DATE54]","$date54","$auto_footer"); $auto_footer = str_replace("[DATE55]","$date55","$auto_footer"); $auto_footer = str_replace("[DATE56]","$date56","$auto_footer"); $auto_footer = str_replace("[DATE57]","$date57","$auto_footer"); $auto_footer = str_replace("[DATE58]","$date58","$auto_footer"); $auto_footer = str_replace("[DATE59]","$date59","$auto_footer"); $auto_footer = str_replace("[DATE60]","$date60","$auto_footer"); $auto_footer = str_replace("[DATE61]","$date61","$auto_footer"); $auto_footer = str_replace("[DATE62]","$date62","$auto_footer"); $auto_footer = str_replace("[DATE63]","$date63","$auto_footer"); $auto_footer = str_replace("[DATE64]","$date64","$auto_footer"); $auto_footer = str_replace("[DATE65]","$date65","$auto_footer"); $auto_footer = str_replace("[DATE66]","$date66","$auto_footer"); $auto_footer = str_replace("[DATE67]","$date67","$auto_footer"); $auto_footer = str_replace("[DATE68]","$date68","$auto_footer"); $auto_footer = str_replace("[DATE69]","$date69","$auto_footer"); $auto_footer = str_replace("[DATE70]","$date70","$auto_footer"); $auto_footer = str_replace("[DATE71]","$date71","$auto_footer"); $auto_footer = str_replace("[DATE72]","$date72","$auto_footer"); $auto_footer = str_replace("[DATE73]","$date73","$auto_footer"); $auto_footer = str_replace("[DATE74]","$date74","$auto_footer"); $auto_footer = str_replace("[DATE75]","$date75","$auto_footer"); $auto_footer = str_replace("[DATE76]","$date76","$auto_footer"); $auto_footer = str_replace("[DATE77]","$date77","$auto_footer"); $auto_footer = str_replace("[DATE78]","$date78","$auto_footer"); $auto_footer = str_replace("[DATE79]","$date79","$auto_footer"); $auto_footer = str_replace("[DATE80]","$date80","$auto_footer"); $auto_footer = str_replace("[DATE81]","$date81","$auto_footer"); $auto_footer = str_replace("[DATE82]","$date82","$auto_footer"); $auto_footer = str_replace("[DATE83]","$date83","$auto_footer"); $auto_footer = str_replace("[DATE84]","$date84","$auto_footer"); $auto_footer = str_replace("[DATE85]","$date85","$auto_footer"); $auto_footer = str_replace("[DATE86]","$date86","$auto_footer"); $auto_footer = str_replace("[DATE87]","$date87","$auto_footer"); $auto_footer = str_replace("[DATE88]","$date88","$auto_footer"); $auto_footer = str_replace("[DATE89]","$date89","$auto_footer"); $auto_footer = str_replace("[DATE90]","$date90","$auto_footer"); $auto_footer = str_replace("[DATE91]","$date91","$auto_footer"); $auto_footer = str_replace("[DATE92]","$date92","$auto_footer"); $auto_footer = str_replace("[DATE93]","$date93","$auto_footer"); $auto_footer = str_replace("[DATE94]","$date94","$auto_footer"); $auto_footer = str_replace("[DATE95]","$date95","$auto_footer"); $auto_footer = str_replace("[DATE96]","$date96","$auto_footer"); $auto_footer = str_replace("[DATE97]","$date97","$auto_footer"); $auto_footer = str_replace("[DATE98]","$date98","$auto_footer"); $auto_footer = str_replace("[DATE99]","$date99","$auto_footer"); $auto_footer = str_replace("[DATE100]","$date100","$auto_footer"); ########################## ## Send Mail to Users ########################## if($html == "N"){ /*** Send Plain Text Message ***/ unset($headers); unset($body); $body=""; $headers .= "From: $auto_fromname <$auto_email>\n"; $headers .= "Reply-To: $auto_fromemail\n"; $headers .= "X-Sender: Acct No $acct_id\n"; $headers .= "X-Sendera: $lid\n"; $headers .="Content-Type: text/plain; charset=us-ascii\n"; if($mbaner=="Y"){ $body .="$textheader\n"; $body .="\n"; } if($auto_header !=""){ $body .="$auto_header\n"; $body .="\n"; } $body .= "$sbody\n"; $body .= "\n\n"; if($mbaner=="Y"){ $body .="$textfooter\n"; $body .="\n"; } if($auto_footer !=""){ $body .="$auto_footer\n"; $body .="\n"; } $body .= "\n\n"; $body .="$sys_ulink\n"; $body .="\n"; $body .="$SelfPath/r.php?un=$lid\n"; $body .="\n"; $body .="<a href=\"$SelfPath/r.php?un=$lid\">AOL Users Click Here</a>\n"; #$body .="\n\n"; #$body .="<a href=\"$SelfPath/r.php?un=$lid\">$sys_ulink</a>"; #print "queuing email to send for --- $lemail --- <br>"; #$sendcount++; #$lemail=addslashes($lemail); #$ssub=addslashes($ssub); #$body=addslashes($body); #$headers=addslashes($headers); #$preparenohtml= New DB_Sql; #$preparenohtml->query("insert into send (aid,acct_id,chtml,cheaders,cfrom,cto,subject,cbody,stime) values ('$aid','$acct_id','','$headers','','$lemail','$ssub','$body','$newtt')"); mail("$em","$ssub","$body","$headers"); } else /*** Send HTML Message ***/ { $bound="_NextPart_000_" . uniqid(rand()); unset($headers); unset($message); $body=""; $message=""; $headers .= "From: $auto_fromname <$auto_email>\n"; $headers .= "Reply-To: $auto_fromemail\n"; $headers .= "X-Sender: Acct No $acct_id\n"; $headers .= "X-Sendera: $lid\n"; $headers .="Mime-Version: 1.0\n"; $headers .="Content-Type: multipart/alternative; boundary=\"$bound\"\n"; if($mbaner=="Y"){ $body .="$htmlheader\n"; $body .="\n"; } if($auto_header !=""){ $body .="$auto_header\n"; $body .="\n"; } $body .= "$sbody\n"; $body .= "\n\n"; if($mbaner=="Y"){ $body .="$htmlfooter\n"; $body .="\n"; } if($auto_footer !=""){ $body .="$auto_footer\n"; $body .="\n"; } $body .= "\n\n"; #$body .="$sys_ulink\n"; $body .= "<br>\n"; #$body .="$SelfPath/r.php?un=$lid"; #$body .="\n\n"; #$body .="<a href=\"$SelfPath/r.php?un=$lid\">$sys_ulink</a>"; #print "queuing email to send for --- $lemail --- <br>"; #$sendcount++; $search = array ('@<script[^>]*?>.*?</script>@si', // Strip out javascript '@<[\/\!]*?[^<>]*?>@si', // Strip out HTML tags '@([\r\n])[\s]+@', // Strip out white space '@&(quot|#34);@i', // Replace HTML entities '@&(amp|#38);@i', '@&(lt|#60);@i', '@&(gt|#62);@i', '@&(nbsp|#160);@i', '@&(iexcl|#161);@i', '@&(cent|#162);@i', '@&(pound|#163);@i', '@&(copy|#169);@i', '@&#(\d+);@e'); // evaluate as php $replace = array ('', '', '\1\1', '"', '&', '<', '>', ' ', chr(161), chr(162), chr(163), chr(169), 'chr(\1)'); $text = ereg_replace("\r\n","\n",$body); $text = ereg_replace("<br>","\n",$body); $text = ereg_replace("<BR>","\n",$body); $text = ereg_replace("<p>","\n\n",$body); $text = preg_replace ($search, $replace, $body); unset($message); // text $message .= "--$bound\n"; $message .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n"; $message .= "Content-Transfer-Encoding: 7bit\n\n"; $message .= $text . "\n"; $message .= "\n"; $message .= "$sys_ulink\n\n"; $message .="$SelfPath/r.php?un=$lid\n"; $message .="\n"; $message .="<a href=\"$SelfPath/r.php?un=$lid\">AOL Users Click Here</a>\n"; $message .="\n"; // html $message .= "--$bound\n"; $message .= "Content-Type: text/html; charset=\"iso-8859-1\"\\n"; $message .= "Content-Transfer-Encoding: 7bit\n\n"; $message .= $body; $message .= "<br><br>\n"; $message .= "$sys_ulink\n\n"; $message .="<br><br><a href=\"$SelfPath/r.php?un=$lid\">Click Here To Remove</a>\n"; $message .="\n"; $message .="<br><a href=\"$SelfPath/r.php?un=$lid\">AOL Users Click Here</a>\n"; $message .= "\n--$bound--"; #print "queuing email to send for --- $lemail --- <br>"; #$sendcount++; mail("$em","$ssub","$message","$headers"); #$ssub=addslashes($ssub); #$message=addslashes($message); #$headers=addslashes($headers); #$preparenohtmln= New DB_Sql; #$preparenohtmln->query("insert into send (aid,acct_id,chtml,cheaders,cfrom,cto,subject,cbody,stime) values ('$aid','$acct_id','','$headers','','$lemail','$ssub','$message','$newtt')"); } #} ### update lead to next due now $nxtdmd=$mess_num+1; $getmsddd= New DB_Sql; $getmsddd->query("select * from messages where aid='$aid' and mess_num='$nxtdmd'"); $getmsddd->next_record(); $mess_numnd=stripslashes($getmsddd->f("mess_num")); $mess_intervalndd=stripslashes($getmsddd->f("mess_interval")); $newduedad=$mess_intervalndd; list($yr, $mon, $day) = explode("-",$tdate); $nextduemd = date("Y-m-d",mktime(0, 0, 0, $mon,$day+$newduedad,$yr)); if($mess_numnd==""){ $upnextddde= New DB_Sql; $upnextddde->query("UPDATE leads set lnextduedate='',lnextdue='' where lid='$lid'"); } else { $upnextddde= New DB_Sql; $upnextddde->query("UPDATE leads set lnextduedate='$nextduemd',lnextdue='$nxtdmd',stime='$tt' where lid='$lid'"); } } } else { if($failede==""){ $bleadnowf=NEW DB_Sql; $bleadnowf->query("UPDATE leads set lstatus='B' where lid='$id'"); exit; } $bleadnow=NEW DB_Sql; $bleadnow->query("UPDATE leads set lstatus='B' where lemail='$failede'"); } exit; ?> Expected result: ---------------- Delivery of message to subscriber and notification to owner of a new subscriber by email. Do not get notified of a new subscriber Actual result: -------------- This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/home/proautor/public_html/ar/parser/parser.php generated by [EMAIL PROTECTED] The following text was generated during the delivery attempt: ------ pipe to |/home/proautor/public_html/ar/parser/parser.php generated by [EMAIL PROTECTED] ------ No log handling enabled - turning on stderr logging read_config_store open failure on /var/net-snmp/snmpapp.conf read_config_store open failure on /var/net-snmp/snmpapp.conf read_config_store open failure on /var/net-snmp/snmpapp.conf ------ This is a copy of the message, including all the headers. ------ Return-path: <[EMAIL PROTECTED]> Received: from [82.36.41.53] (helo=office) by secure.eu-server.net with esmtpa (Exim 4.52) id 1GJQhc-0000El-IT for [EMAIL PROTECTED]; Sat, 02 Sep 2006 10:18:08 +0200 From: "Justin Small" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: SUBSCRIBE Date: Sat, 2 Sep 2006 09:17:56 +0100 Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0021_01C6CE70.AF14C1F0" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbOaCc7OSz0Zn9XTqK0ueKI1PCvjg== X-Antivirus: avast! (VPS 0635-4, 01/09/2006), Outbound message X-Antivirus-Status: Clean This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C6CE70.AF14C1F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit subscribe=yes ------=_NextPart_000_0021_01C6CE70.AF14C1F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc= hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times New Roman";} a:link, span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} p =09{mso-margin-top-alt:auto; =09margin-right:0cm; =09mso-margin-bottom-alt:auto; =09margin-left:0cm; =09font-size:12.0pt; =09font-family:"Times New Roman";} span.EmailStyle18 =09{mso-style-type:personal-compose; =09font-family:Arial;} @page Section1 =09{size:595.3pt 841.9pt; =09margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 =09{page:Section1;} --> </style> </head> <body lang=3DEN-GB link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:= Arial'>subscribe=3Dyes</span></font> <o:p></o:p></p> </div> <img src=3D"http://i.msgtag.com/al/pmnw/mgeyslC/hwCmC/yyew/swwrj/Ca/otk.gif= " alt=3D" " border=3D"0" id=3D"MSGTAGImage"/></body> </html> ------=_NextPart_000_0021_01C6CE70.AF14C1F0-- -- Edit bug report at http://bugs.php.net/?id=38690&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38690&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38690&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38690&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38690&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38690&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38690&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38690&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38690&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38690&r=support Expected behavior: http://bugs.php.net/fix.php?id=38690&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38690&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38690&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38690&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38690&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38690&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38690&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38690&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38690&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38690&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38690&r=mysqlcfg