RE: [PHP] mcal-problems
| From: | Matthew Loff | Date: | Wed, 17 Oct 2001 23:06:08 +0000 |
| Subject: | RE: [PHP] mcal-problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71419@lists.php.net to get a copy of this message | ||
Did you create the mcal username/password file?
Use the htpasswd utility included with apache to create a file called
/etc/mpasswd with the username/password combinations you want to use.
(That was the problem I had with getting mcal to work)
-----Original Message-----
From: Morten Dreier [mailto:mdreier@pobox.com]
Sent: Wednesday, October 17, 2001 6:25 PM
To: php-general@lists.php.net
Subject: [PHP] mcal-problems
I've installed mcal, but can't get it to work.
setup: RedHat 7.0, php 4.0.6, apache 1.3.20 and libmcal 0.6.
my testscript:
<?php // -*- c++ -*-
$test=mcal_open("mycalendar","myuser","mypass");
?>
and my error:
Warning: Couldn't open stream mycalendar in
/usr/www/htdocs/cal/index.php
on line 2
Obviously, the manual is wrong, since it states that the function
returns
a stream, and the first parameter should be the calendar name.
I'm stuck - any clues, anyone?
--
Morten Dreier
Institutt for Datateknikk og Informasjonsvitenskap
http://www.idi.ntnu.no/~mdreier/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net