summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-11-23 00:35:36 +0100
committerMichael Tänzer <neo@nhng.de>2011-11-23 00:35:36 +0100
commit14688d978e6f173b1de9a59f7ad37e1836ba45e6 (patch)
tree58143a00eea24de2411dc528f6d25d820d06c0b2
parent400bd0a0ebb2df2356bf242a1f98a02dda6d9f60 (diff)
downloadcacert-devel-14688d978e6f173b1de9a59f7ad37e1836ba45e6.tar.gz
cacert-devel-14688d978e6f173b1de9a59f7ad37e1836ba45e6.tar.xz
cacert-devel-14688d978e6f173b1de9a59f7ad37e1836ba45e6.zip
bug 827: fix copy and paste errors, remove quotes from timestamp literal
enable UTF-8 encoding in emails Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--scripts/send_thawte.php.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/send_thawte.php.txt b/scripts/send_thawte.php.txt
index 9299f30..ce0e73d 100644
--- a/scripts/send_thawte.php.txt
+++ b/scripts/send_thawte.php.txt
@@ -51,7 +51,7 @@
while(!feof($fp))
{
$line = trim(fgets($fp, 4096));
- $lines_EN .= wordwrap($line, 75, "\n")."\n";
+ $lines_NL .= wordwrap($line, 75, "\n")."\n";
}
fclose($fp);
}
@@ -63,7 +63,7 @@
while(!feof($fp))
{
$line = trim(fgets($fp, 4096));
- $lines_EN .= wordwrap($line, 75, "\n")."\n";
+ $lines_FR .= wordwrap($line, 75, "\n")."\n";
}
fclose($fp);
}
@@ -75,7 +75,7 @@
while(!feof($fp))
{
$line = trim(fgets($fp, 4096));
- $lines_EN .= wordwrap($line, 75, "\n")."\n";
+ $lines_ES .= wordwrap($line, 75, "\n")."\n";
}
fclose($fp);
}
@@ -87,7 +87,7 @@
while(!feof($fp))
{
$line = trim(fgets($fp, 4096));
- $lines_EN .= wordwrap($line, 75, "\n")."\n";
+ $lines_RU .= wordwrap($line, 75, "\n")."\n";
}
fclose($fp);
}
@@ -106,7 +106,7 @@
echo "ID now: $lastid\n";
- $query = "select `id`,`fname`,`lname`,`email`,`language` from `users` where `deleted` = '0' and `id` > '$lastid' order by `id`";
+ $query = "select `id`,`fname`,`lname`,`email`,`language` from `users` where `deleted` = 0 and `id` > '$lastid' order by `id`";
$res = mysql_query($query);
@@ -141,7 +141,7 @@
break;
}
- sendmail($row['email'], "[CAcert.org] $subject", $mailtxt, "mailing@cacert.org", "", "", "CAcert", "returns@cacert.org", 1);
+ sendmail($row['email'], "[CAcert.org] $subject", $mailtxt, "mailing@cacert.org", "", "", "CAcert", "returns@cacert.org", "");
$fp = fopen("send_thawte_lastid.txt", "w");
fputs($fp, $row["id"]."\n");