hoho Posted April 12, 2007 Report Share Posted April 12, 2007 kaa var dabuut failinjus, kurus padod no php faila, pimeeraam: http://www.amberestate.lv/ui.php?rand=1176...63827449394.jpg parasti es dariiju taa: $imgIn = fopen("http://www.amberestate.lv/ui.php?rand=1176406875019228&s=0&u=742&f=11763827449394.jpg","rb"); bet sajaa gadiijumaa ar fopen nevar dabuut failu ... kaut kaa savadaak var? Link to comment Share on other sites More sharing options...
hackerman Posted April 12, 2007 Report Share Posted April 12, 2007 Pag...es tā īsti nesapratu =/ Tu gribi, lai uz tavas lapas ir ~ tā: bildes.php?bilde=123.jpg ? Link to comment Share on other sites More sharing options...
hoho Posted April 12, 2007 Author Report Share Posted April 12, 2007 es taisu sludinaajumu eksportu un meeginju uz sava servera dabuut bildes .... no citiem portaaliem bija viegli dabuut bildes, pimeeram: $imgIn = fopen("http://www.arcoreal.lv/img/oimg_1163.jpg","rb"); bet tagad amberestate.lv lapaa nevar dabuut bilzu source, jo visas bildes ir ka php fails kurs atgriez bildi peec GET parametra ... taapeec $imgIn = fopen("http://www.amberestate.lv/ui.php?rand=1176384644373531&s=0&u=742&f=11763827449394.jpg","rb"); neko neatgriez .... :( vai kaut kaa veel dabuut to bildi? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted April 12, 2007 Report Share Posted April 12, 2007 iespejams ka vinjiem pret taadu primitiivu bilzju kopeeshanu ir aizsardziiba .... Pajautaa vinjiem pashiem ;) Ja nem bez atljaujas tad taa ir vienkarshi Zaksana .... P.S. spriezjot cik tur garsh GET pieprasijums.... Link to comment Share on other sites More sharing options...
Stopp Posted April 12, 2007 Report Share Posted April 12, 2007 PHP konfigurācijā fopen uz ārpasaules failiem ir atļauts? Link to comment Share on other sites More sharing options...
bubu Posted April 12, 2007 Report Share Posted April 12, 2007 Iespējams, ka tikai vienkārša pārbaude uz tipiskiem browsera headeriem (Accept/Host/User-Agent). Paņem fsockopen vai curl un padod tādus pašus headerus kādus padod tavs browseris. Stopp, es ar ar vienkāršu fopen pamēģināju. A bet tur agrieza: HTTP request failed! HTTP/1.1 406 Not Acceptable Link to comment Share on other sites More sharing options...
hoho Posted April 12, 2007 Author Report Share Posted April 12, 2007 nee, taa nav zagsana! :) viss ir sarunaats un vinji tos linkus paadod XML failaa .... bet kaa dabuut bildes nezinu :( Link to comment Share on other sites More sharing options...
4e4en Posted April 13, 2007 Report Share Posted April 13, 2007 Kātad.... ja būtu sarunāts, tad tu te neko neprasītu, bet bojātu nervus viņiem :P Link to comment Share on other sites More sharing options...
Recommended Posts