Delfins Posted October 20, 2003 Report Share Posted October 20, 2003 Droshi vien shii jau ir aizmirsta teema, bet gribeeju piebilst ka veel viena iespeeja aizvaakt reklaamu ir faila beigaas ierakstiit PHP kodinju : <code><font color="#000000"> <code><font color="#000000"> <br /><font color="#0000CC"><font color="#0000CC"><? </font><font color="#006600"></</font><font color="#0000CC">font</font><font color="#006600">><</font><font color="#0000CC">font color</font><font color="#006600">=</font><font color="#CC0000">"#006600"</font><font color="#006600">>die(</</font><font color="#0000CC">font</font><font color="#006600">><</font><font color="#0000CC">font color</font><font color="#006600">=</font><font color="#CC0000">"#CC0000"</font><font color="#006600">></font><font color="#CC0000">""</font><font color="#006600"></</font><font color="#0000CC">font</font><font color="#006600">><</font><font color="#0000CC">font color</font><font color="#006600">=</font><font color="#CC0000">"#006600"</font><font color="#006600">>); </</font><font color="#0000CC">font</font><font color="#006600">><</font><font color="#0000CC">font color</font><font color="#006600">=</font><font color="#CC0000">"#0000CC"</font><font color="#006600">></font><font color="#0000CC">?></font><br /></font> </font> </code></font> </code> nu domaajams ka reklaamu var iebaazt i pirms die :) piemineetais outputs itr jaanostraadaa function my_ob( $data ) { return str_replace( '<!-- reklaama -->', '', $data ); } ob_start( 'my_ob' ); Link to comment Share on other sites More sharing options...
Recommended Posts