Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (14 sloc) 0.392 kB
c16c57b E-mail sending
jakubvrana authored
1 <?php
676e168 Move unused function
jakubvrana authored
2 function email_header($header) {
3 // iconv_mime_encode requires PHP 5, imap_8bit requires IMAP extension
4 return "=?UTF-8?B?" . base64_encode($header) . "?="; //! split long lines
5 }
1ee3dd9 Separate get_key_vals function
jakubvrana authored
6
7 function get_key_vals($query) {
8 global $connection;
9 $return = array();
10 $result = $connection->query($query);
11 while ($row = $result->fetch_row()) {
12 $return[$row[0]] = $row[1];
13 }
14 return $return;
15 }
Something went wrong with that request. Please try again.