leisure Posted June 4, 2005 Report Share Posted June 4, 2005 skatiit skriptu sheit. Tatad kaa ir javeido autputs #51 rindinjaa Men nekaadi nesanaak :/ Link to comment Share on other sites More sharing options...
bubu Posted June 4, 2005 Report Share Posted June 4, 2005 A kam jānotiek 51 rindiņā? Link to comment Share on other sites More sharing options...
leisure Posted June 4, 2005 Author Report Share Posted June 4, 2005 (edited) mainiigais $text .= ieguust faila saturu! faila saturaa ir iespejams php tapee ir probleemas :/ Vai tie6aam vieniigais variants ir kjeepaaties ar to fopen()? Edited June 4, 2005 by leisure Link to comment Share on other sites More sharing options...
bubu Posted June 4, 2005 Report Share Posted June 4, 2005 Tā kā tu dari, tā nevar. vajag apmēram šādi: ob_start(); include(....); $text = ob_get_contents(); ob_end_clean(); Sīkāk skaties dokumentāciju attiecīgajām funkcijām. Link to comment Share on other sites More sharing options...
leisure Posted June 5, 2005 Author Report Share Posted June 5, 2005 paldies par ideju, bet nesanaaca, visu akal izjauc php! Tur kur ir modulis ar tikai html vai vnk plain txt, viss ir kuliitee, bet ir dazhi modulji, kur ir piem if( $var == 'foo' ) { .... } utt... ka panakt to lai php neizjauc? Link to comment Share on other sites More sharing options...
leisure Posted June 5, 2005 Author Report Share Posted June 5, 2005 sanaaca ar shodu kodu! ob_start(); include(...); ob_end_clean(); Taga modulji kam ir iekshaa php - iet, bet kam naw tie neiet! :( kaada tur ir probleema? Link to comment Share on other sites More sharing options...
bubu Posted June 5, 2005 Report Share Posted June 5, 2005 Es nesaprotu, ko tu tur centies panākt? Izvadīt uz browseri to includējamo failu? Vai dabūt tā saturu (jau noparsētu ar php) iekš mainīgā kautkāda? Link to comment Share on other sites More sharing options...
leisure Posted June 5, 2005 Author Report Share Posted June 5, 2005 (edited) dabuut noparseetu php saturu! o! sanaca! :) Edit: Liec *Closed* Edited June 5, 2005 by leisure Link to comment Share on other sites More sharing options...
Recommended Posts