cvs: pear /Contact_Vcard_Build test.php
| From: | Paul Jones | Date: | Sat, 28 May 2005 15:10:34 +0000 |
| Subject: | cvs: pear /Contact_Vcard_Build test.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32178@lists.php.net to get a copy of this message | ||
pmjones Sat May 28 11:10:34 2005 EDT
Modified files:
/pear/Contact_Vcard_Build test.php
Log:
updated eyeball test for colon-escapes (make no jokes ;-)
http://cvs.php.net/diff.php/pear/Contact_Vcard_Build/test.php?r1=1.1&r2=1.2&ty=u
Index: pear/Contact_Vcard_Build/test.php
diff -u pear/Contact_Vcard_Build/test.php:1.1 pear/Contact_Vcard_Build/test.php:1.2
--- pear/Contact_Vcard_Build/test.php:1.1 Sun Apr 25 12:21:34 2004
+++ pear/Contact_Vcard_Build/test.php Sat May 28 11:10:34 2005
@@ -34,7 +34,11 @@
'Beverly Hills', 'CA', '90210', 'US');
$vcard->addParam('TYPE', 'WORK');
+ // set the title (checks for colon-escaping)
+ $vcard->setTitle('The Title: The Subtitle');
+
// send the vcard
- $vcard->send('boshag.txt', 'inline');
+ header('Content-Type: text/plain');
+ echo $vcard->fetch();
?>
\ No newline at end of file