|
|
could it be this easy? [message #25327 is a reply to message #25304] |
Mon, 06 June 2005 19:56   |
jhogue
 Messages: 28 Registered: April 2005 Location: at the computer
Karma: 0
|
Junior Member |
|
|
replace:
send_email($GLOBALS['NOTIFY_FROM'], $to, $subj, $body_email, $headers);
}
?>
with:
send_email($r[0], $to, $subj, $body_email, $headers);
}
?>
OR do I need to do this?
$variable_sender = db_saq('SELECT name FROM {SQL_TABLE_PREFIX}mlist WHERE id='.$mtf->mlist_id);
send_email($variable_sender, $to, $subj, $body_email, $headers);
}
?>
|
|
|
|
|
|
Meltdown [message #25427 is a reply to message #25331] |
Wed, 08 June 2005 14:21   |
jhogue
 Messages: 28 Registered: April 2005 Location: at the computer
Karma: 0
|
Junior Member |
|
|
I inserted the code below, and the site shut down. First I got an SQL error, then blank pages. Fortunately, all is back up.
I need help with this code. I would really appreciate some help.
All of our test users are hitting Reply in their email clients, and find it confusing to use the reply button IN the email body.
Jeff
}
$variable_sender = q_singleval('SELECT name FROM {SQL_TABLE_PREFIX}mlist WHERE id='.$mtf->mlist_id);
send_email($variable_sender, $to, $subj, $body_email, $headers);
}
?>
error:
(/var/www/html/fudforum/index.php:125
/var/www/html/fudforum/index.php:187
/var/www/html/fudforum/theme/default/post.php:2022
/var/www/html/fudforum/theme/default/post.php:1718
/var/www/html/fudforum/theme/default/post.php:3750
/var/www/html/fudforum/index.php:1182
) 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
Query: SELECT name FROM fud26_mlist WHERE id=
_GET: t=post&
_POST: msg_subject=test again June 6&thr_ordertype=0&thr_orderexpiry=1000000000&fnt_size=&fnt_ color=&fnt_face=&msg_body=testing 6.42&tmp_f_val=1&msg_poster_notif=Y&S=934599b76633d468c6ac40066 efa2112&SQ=c3cc1ca30df10dbb7b9bdc7a6e2cc38a&submitted=1&reply_t o=0&th_id=&frm_id=1&start=0&msg_id=0&pl_id=0&old_su bject=&prev_loaded=1&btn_submit=1&
Server Version: 4.1.9-standard-log
[Referring Page] http://www.xxxxxxxxx.org/fudforum/index.php?t=post&frm_id=1&S=93459 9b76633d468c6ac40066efa2112
[Updated on: Wed, 08 June 2005 14:46] Report message to a moderator
|
|
|
|
|
|
|
|