Theres a typo. get_contens() should be ob_get_contents().

Peter



elisabeth theresia wrote:
Hello Mr. Sumariva, i already did wht u said, but there's new error:
*error*: Call to undefined function: on_get_contens() in
*I:\ms4w\apps\appweb\htdocs\index_cobacham.phtml* on line *2

here i put the cobachanphtml.phtml:
*<?php
$html=on_get_contens();
ob_end_clean();

include("./chameleon.php");
$szTemplate="./template_werror.html";
$szMapFile="../map/kelur_cobacham.map";
class SampleApp extends Chameleon //SampleApp merupakan turunan dari
Chameleon
{
function SampleApp() //Nama fungsi
{
parent::Chameleon(); //Menjalankan konstruktor class Chameleon
$this->moMapSession=new MapSession_RW; //Mbwt instance obj map session
$this->moMapSession->setTempDir
(getSessionSavePath()); //Mendefinisikan dir temporer yg akn digunk olh
obj map session
}
}
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to