[sync] Re: How to use SyncML?

Jan Schneider jan at horde.org
Sat Jan 17 02:39:49 PST 2004


Zitat von Johny <horde at agotnes.com>:

> Got some help on IRC with how to use, and have got it kinda working.
>
> The SyncML code is invoked, but, slight issue;
>
> syncml.php:70
> $packetNum = @intval(file_get_contents($this->_debugDir .
> DIRECTORY_SEPARATOR . 'syncml.packetnum'));
>
> file_get_contents doesn't exist in PHP pre 4.3, and it just seems to
> stop there with no further error messages?
>
> Commented it out myself, should I rather upgrade PHP?

It it isn't the only 4.3 function, you should upgrade. Otherwise commenting
out is fine, it's a debug function there anyway. Even better: send us a
patch that uses fopen/fread instead.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the sync mailing list