marnix Posted October 25, 2006 Report Share Posted October 25, 2006 Sveiki.. Varbūt jūs zinat kā var uztaisīt vai dabūt skriptu kas pēc kārtas nem skaitlus no 1-999999 Nu kipa. Piemērs.. folderī stāv 999999 faili piem 1.htm un utt. Skripts pec kartas nem un parbauda 1 tad 2 tad 3 un utt. Mosk kads var pateikt.... Link to comment Share on other sites More sharing options...
andrisp Posted October 25, 2006 Report Share Posted October 25, 2006 for($i = 1; $i <=999999; $i++) { if (is_file($i.'htm')) { $f_content = file_get_contents($i.'htm'); } } Link to comment Share on other sites More sharing options...
marnix Posted October 25, 2006 Author Report Share Posted October 25, 2006 (edited) Un ka var piem.. Uz servera stav fails piem html fails kuru atverot radas teksts piem sniegbaltite un septinji rukishi Nu man vajadziba lai skripts to failu nolasa un visu tekstu saglaba mainigaja vertiba.... Nu kipa man vajag funkciju ar kuru var nolasit faila tekstu Edited October 25, 2006 by marnix Link to comment Share on other sites More sharing options...
andrisp Posted October 25, 2006 Report Share Posted October 25, 2006 Tu vispār paskatījies kodu, ko tev parādīju ? Link to comment Share on other sites More sharing options...
marnix Posted October 25, 2006 Author Report Share Posted October 25, 2006 ups..... sorry... :) Link to comment Share on other sites More sharing options...
Recommended Posts