I have a little skin.php file (WebCalendar.PublishResults.php) as follows:

<?php
global $FmtPV;
$calendar=$_GET['calendar'];
if (!$calendar) return;
ob_start();
include("http://dufferinpark.ca/webcalendar/publish.php?user=_NUC_$calendar";);
$filecontents = ob_get_contents();
ob_end_clean();
$file = 
fopen("/var/vhosts2/henrik/public_html/dufferinpark/calendar/data/$calendar.ics",'w');
fputs($file, $filecontents);
fclose($file);
$FmtPV['$Test']= '"Successfully published calendar ics file"';
?>

And I can't for the life of me get the page variable {$Test} to appear 
in the wiki page.

What am I doing wrong?

Thanks,

- Henrik

-- 

Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to