<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div><span style="font-family: arial,helvetica,sans-serif;">sorry Mr. 
Peter....my previous message iamnot purposely enter button Send. i just 
want to say, Thanks correct me in the coding, but i still got that 
message again after corrected the coding typo.<br>
  <br>
</span><b>Warning</b>:  session_start() [<a href="http://localhost/appweb/function.session-start">function.session-start</a>]:
 Cannot send session cache limiter - headers already sent (output 
started at I:\ms4w\apps\appweb\htdocs\index_spatialphtml.phtml:6) in <b>I:\ms4w\apps\appweb\htdocs\common\session\session.php</b> on line <b>509</b><br>
<br>
<span style="font-family: arial,helvetica,sans-serif;">Thanks, what should i do?<br><br>-dbee<br></span></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Peter &lt;webwiz@pl.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> elisabeth theresia &lt;dbee_kawai@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, August 19, 2010 4:02:59 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mapserver-users] how to disappear Warning: session_start() in the page?<br></font><br>
Theres a typo. get_contens() should be ob_get_contents().<br><br>Peter<br><br><br><br>elisabeth theresia wrote:<br>&gt; Hello Mr. Sumariva, i already did wht u said, but there's new error:<br>&gt; *error*: Call to undefined function: on_get_contens() in<br>&gt; *I:\ms4w\apps\appweb\htdocs\index_cobacham.phtml* on line *2<br>&gt;<br>&gt; here i put the cobachanphtml.phtml:<br>&gt; *&lt;?php<br>&gt; $html=on_get_contens();<br>&gt; ob_end_clean();<br>&gt;<br>&gt; include("./chameleon.php");<br>&gt; $szTemplate="./template_werror.html";<br>&gt; $szMapFile="../map/kelur_cobacham.map";<br>&gt; class SampleApp extends Chameleon //SampleApp merupakan turunan dari<br>&gt; Chameleon<br>&gt; {<br>&gt; function SampleApp() //Nama fungsi<br>&gt; {<br>&gt; parent::Chameleon(); //Menjalankan konstruktor class Chameleon<br>&gt; $this-&gt;moMapSession=new MapSession_RW; //Mbwt instance obj map session<br>&gt; $this-&gt;moMapSession-&gt;setTempDir<br>&gt;
 (getSessionSavePath()); //Mendefinisikan dir temporer yg akn digunk olh<br>&gt; obj map session<br>&gt; }<br>&gt; }<br></div></div>
</div><br>







      </body></html>