topical media & game development
basic-php-14-admin-transact.php / php
<?php
require('config.php');
require('class.SimpleMail.php');
conn);
if (isset(_POST['action']) {
case 'Add New Mailing List':
_POST['listname'] . "')";
mysql_query(sql = "DELETE FROM ml_lists WHERE ml_id=" . sql)
or die('Could not delete mailing list. ' . mysql_error());
_POST['ml_id'];
mysql_query(_POST['msg'], _POST['ml_id'])) {
_POST['ml_id'] . "'";
sql, row = mysql_fetch_array(listname = listname = "Master";
}
_POST['ml_id'] != 'all') {
_POST['ml_id'];
}
sql)
or die('Could not get list of email addresses. ' . mysql_error());
row = mysql_fetch_array(_POST['ml_id'])) {
ft .= ft .= "this e-mail in error, or would like to\n remove your ";
ft .= "following URL:\n";
_SERVER['HTTP_HOST'] .
dirname(row['user_id'] . "&ml=" . ft = "You are receiving this e-mail because you subscribed ";
ft .= "URL to change your subscriptions:\n";
_SERVER['HTTP_HOST'] .
dirname(row['user_id'];
}
_POST['msg']) . "\n\n";
msg .= email = new SimpleMail();
row['email'],
stripslashes(msg,
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.