[RCD] Calendar plugin: caldav backend

Michael Rasmussen mir at datanom.net
Mon Mar 28 23:11:43 CEST 2011


On Mon, 28 Mar 2011 16:17:25 -0400
Julien Vehent <julien at linuxwall.info> wrote:

> 
>  But, since you're raising the point, I'm curious about that <<< _EOF 
>  syntax. Is it stock php ? I use it in bash but didn't know you could use 
>  it in php.
> 
Was introduced with PHP 4 ->
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

>   26   private $vevent = null;
>   27   private $new_vevent = <<<_EOF
>   28 BEGIN:VCALENDAR\r
>   29 VERSION:2.0\r
> 
Well, there must be something wrong with your installation because my
code does not contain any \r ?? So these \r can only have enter the
code after unpacking on your side.

Try replacing any MS Window \r\n or any Mac \r with the proper Unix line
delimiter \n

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Be security conscious -- National defense is at stake.



 --- 8< --- detachments --- 8< ---
 The following attachments have been detached and are available for viewing.
  http://detached.gigo.com/rc/vS/GC1XnFSS/signature.asc
 Only click these links if you trust the sender, as well as this message.
 --- 8< --- detachments --- 8< ---

-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80


More information about the Dev mailing list