cvs: php-master-web /fetch events.php
| From: | Rasmus Lerdorf | Date: | Wed, 26 Sep 2001 17:26:44 +0000 |
| Subject: | cvs: php-master-web /fetch events.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-6713@lists.php.net to get a copy of this message | ||
rasmus Wed Sep 26 13:26:44 2001 EDT
Modified files:
/php-master-web/fetch events.php
Log:
base64 encode the long description
Index: php-master-web/fetch/events.php
diff -u php-master-web/fetch/events.php:1.2 php-master-web/fetch/events.php:1.3
--- php-master-web/fetch/events.php:1.2 Wed Sep 26 03:59:10 2001
+++ php-master-web/fetch/events.php Wed Sep 26 13:26:44 2001
@@ -18,14 +18,14 @@
if (!isset($cm)) $cm = (int)strftime('%m');
if (!isset($cy)) $cy = (int)strftime('%Y');
if (!isset($cd)) $cd = (int)strftime('%d');
-if (!isset($nm)) $nm = 1;
+if (!isset($nm)) $nm = 3;
while ($nm) {
$entries = load_month($cy,$cm);
$last = last_day($cy,$cm);
for ($i=$cd; $i<=$last; $i++) {
if (is_array($entries[$i])) foreach($entries[$i] as $row) {
- echo
"$i,$cm,$cy,".'"/events.php#'.$i.'_'.$cm.'","'.addslashes($row['sdesc']).'",'.$row['id'].',"'.addslashes($row['ldesc']).'","'.$row['url'].'",'.$row['recur'].','.$row['tipo'].','.$row['sdato'].','.$row['edato']."\n";
+ echo
"$i,$cm,$cy,".'"/events.php#'.$i.'_'.$cm.'","'.addslashes($row['sdesc']).'",'.$row['id'].',"'.base64_encode($row['ldesc']).'","'.$row['url'].'",'.$row['recur'].','.$row['tipo'].','.$row['sdato'].','.$row['edato']."\n";
}
}
$nm--;