GS_ Posted October 13, 2006 Report Share Posted October 13, 2006 Ka bez html formas tip POST metodes var dabut 'filename' $_FILES['filename'] ? Nekadus $filename vins nenem. Link to comment Share on other sites More sharing options...
v3rb0 Posted October 13, 2006 Report Share Posted October 13, 2006 5min atpakaļ vēl bija tā, ka aizpildīts $_FILES 'uzrodas' tikai pēc failu uploada.. Link to comment Share on other sites More sharing options...
GS_ Posted October 13, 2006 Author Report Share Posted October 13, 2006 Nevajag taisīt muļķīgas QUOTEs (bubu) Nesapratu... Moska ir kads upload piemers kur augsupladejama faila lokacija tiek nemta no datubazes vai ka savadak. Cik izmeklejos visi piemeri ar POST metodi.... Link to comment Share on other sites More sharing options...
andrisp Posted October 13, 2006 Report Share Posted October 13, 2006 Kas tad tas par uploadu ? Tev jau vairāk jāskatās uz fopen vai līdzīgām fjām. Vai arī datubāzes fjām. Nu nez - neko nevar saprast, ko tu gribi. Link to comment Share on other sites More sharing options...
GS_ Posted October 13, 2006 Author Report Share Posted October 13, 2006 Nevajag taisīt muļķīgas QUOTEs (bubu) Man vajag lai no cita servera tiktu panemts konkrets fails un saglabats uz mana servera, faila lokacija ir ierakstita datu baze ! Link to comment Share on other sites More sharing options...
andrisp Posted October 13, 2006 Report Share Posted October 13, 2006 Tas fails ir pieejams caur URL ? Tipa - http://serveris.lv/fails_ko_vajag_panemt.ext ? Šādi var paņemt ? Link to comment Share on other sites More sharing options...
GS_ Posted October 13, 2006 Author Report Share Posted October 13, 2006 Nevajag taisīt muļķīgas QUOTEs (bubu) Jaa ir pieejams Link to comment Share on other sites More sharing options...
andrisp Posted October 13, 2006 Report Share Posted October 13, 2006 (edited) Ja konfigurācijā ir eneiblots allow_url_fopen (ja es nemaldos, tad tā ir by default), tad izmanto fopen. Sīkāk skaties php.net dokumentācijā. http://lv2.php.net/manual/en/function.fopen.php PS. Ja atbildi pa tiešo (nav neviena posta pa starpu), ted nequotē to, ko tev saka. Edited October 13, 2006 by andrisp Link to comment Share on other sites More sharing options...
Klez Posted October 13, 2006 Report Share Posted October 13, 2006 use wget :) Link to comment Share on other sites More sharing options...
GS_ Posted October 14, 2006 Author Report Share Posted October 14, 2006 atverot piemeram ar fopen rodas jautajums kur tie faili tiek saglabati ? Ja ieks temp tad kaa uzzinat faila temp name ? Link to comment Share on other sites More sharing options...
bubu Posted October 14, 2006 Report Share Posted October 14, 2006 Faili nekur netiek saglabāti. Faila saturs tiek ielasīts ar fread fju (stringā). Link to comment Share on other sites More sharing options...
GS_ Posted October 14, 2006 Author Report Share Posted October 14, 2006 Man vajag saglabat failu no viena servera uz otru serveru ka to varetu izdarit. Ludzu iemetat kadu paraugu, jau 2 dienu cakarejos nekur talak netieku..... Link to comment Share on other sites More sharing options...
Klez Posted October 14, 2006 Report Share Posted October 14, 2006 shitaadaa garaa arii taalu netiksi. tak wget izmanto. nekaa vienkaarshaaka nau lai pumpeetu failus Link to comment Share on other sites More sharing options...
GS_ Posted October 14, 2006 Author Report Share Posted October 14, 2006 iemet ludzu piemeru wget un talaku saglabasanu kada direktorija Link to comment Share on other sites More sharing options...
GS_ Posted October 14, 2006 Author Report Share Posted October 14, 2006 Eu nu cilveki iemetat kadu piemeru vienalga ar kadu komandu ! Ka no viena serva novilkt un saglabat failu mana serva ! Jau 2 dienu cakarejos nekur talak netieku un tikt nevaru kamer neatrisinasu so problemu :/ Link to comment Share on other sites More sharing options...
Recommended Posts