djmartins Posted December 19, 2005 Report Share Posted December 19, 2005 Tatad man ir 2 free hostingi www.members.lycos.co.uk un eclub.lv. seit www.members.lycos.co.uk/djmartins man ir mape file kur staav faili.Ir iespeja ar php uzataisit ta lai tos failus kas stav taja mape izvada piemeram eclub.lv/lapa? Taa it kaa tie faili atrastos uz eclub servera? Link to comment Share on other sites More sharing options...
php_Stopp Posted December 19, 2005 Report Share Posted December 19, 2005 domā tā, ka adresē ierakstu eclub.lv/lapa/plurks.mp3 un man atvērsies fails members.lycos.co.uk/djmartins/plurks.mp3 ? Link to comment Share on other sites More sharing options...
djmartins Posted December 19, 2005 Author Report Share Posted December 19, 2005 nop ;)Šitaa! members.lycos.co.uk/djmartins/file file->mape kurā atrodas daudz failu :) eclub.lv/lapa->ir smuki viss uzatisits un izskatas saadi ::Faila nosaukums:: |janis.mp3 | | maris.mp3 | | lacis.mp3 | | kamielis.jpg| apmeram taa! Link to comment Share on other sites More sharing options...
php_Stopp Posted December 19, 2005 Report Share Posted December 19, 2005 eemm.. http://php.net/readdir - varbūt ar šito funkciju var nolasīt cita hosta direktorijas saturu.. neesmu ar tādām lietām ņēmies Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 19, 2005 Report Share Posted December 19, 2005 php_Stopp--> ja serveris ir pareizi nokonfigureets tad nekas neiznaaks, tiks atdoti tikai tie faili kuru nosaukumus zinaasi --> zinaasi pilnu celju Link to comment Share on other sites More sharing options...
Klez Posted December 19, 2005 Report Share Posted December 19, 2005 uz taa anglju servera ar php uztaisi failu list.txt kuraa staav taas direktorijas saraksts. un tad jau viss paareejais ir vienkaarsh. bet ja tu domaa nolisteet piemeeram http://popular.lv/useri/ tad sanjemsi 403 error - tev nau tiesiiibu listeet direktoriju. uz jebkura normaala servera buus aizliegts listeet direktoriju. ja tev doma ir kko chiept, tad diez vai sanaaks ... Link to comment Share on other sites More sharing options...
php_Stopp Posted December 19, 2005 Report Share Posted December 19, 2005 members.lycos.co.uk gadījumā nebija kaukas līdzīgs vienk id kartei ? :) ja jau tur ir PHP atbalsts un tu pats vari rakstīt, tad jau vienkārši.. Link to comment Share on other sites More sharing options...
Garais333 Posted December 19, 2005 Report Share Posted December 19, 2005 nekas nesanāks. uz eclub nevar lasīt failus no citiem serveriem. Link to comment Share on other sites More sharing options...
djmartins Posted December 20, 2005 Author Report Share Posted December 20, 2005 members.lycos.co.uk vienkarsi uz sita gribu izvietot failus jo uz eclub baigi maz vietas un ja saksu kaut kadas bildes un mp3 vai ko tadu likt tad atri vien eclubs bus pilns!Tad taa nevares ka domaju? Link to comment Share on other sites More sharing options...
KAC Posted December 20, 2005 Report Share Posted December 20, 2005 ja baigi gribas, vari meegjinat caur ftp (ja iespeejams) Link to comment Share on other sites More sharing options...
djmartins Posted December 20, 2005 Author Report Share Posted December 20, 2005 ir iespejams!Un kaa to var izdarit? Link to comment Share on other sites More sharing options...
KAC Posted December 20, 2005 Report Share Posted December 20, 2005 http://lv.php.net/manual/en/ref.ftp.php Link to comment Share on other sites More sharing options...
Klez Posted December 20, 2005 Report Share Posted December 20, 2005 nu ar php nogenree uz taa anglju servera failu ar sarakstu .. un ievelc to failu sev skriptaa... ar js nevar failu atvilkt no kkurieniim ... php veel ir curl arii ... Link to comment Share on other sites More sharing options...
Recommended Posts