Stopp Posted January 30, 2007 Report Share Posted January 30, 2007 Otrādi, bet tas tāpat neko daudz nedos. Un onload atribūtā this.src nevis vienkārši src. Link to comment Share on other sites More sharing options...
larvae Posted January 31, 2007 Report Share Posted January 31, 2007 <img src="orginals.jpg" onload="viltot_bildi(this,123)" alt="" /> <script type="text/javascript"> function viltot_bildi(bilde,bildnumurs) { bilde.src = "/bilzhu_vemklis.php?x=" + bildnumurs; // neesmu paarliecinaats par .src } Link to comment Share on other sites More sharing options...
v3rb0 Posted January 31, 2007 Report Share Posted January 31, 2007 bildes src mainīt nav jēgas.. firebug rāda kāds ir bildes src pēc tam kad js to ir izmainījis. Link to comment Share on other sites More sharing options...
Delfins Posted January 31, 2007 Report Share Posted January 31, 2007 grozies kā gribi, HTTP headeros tāpat var visu "atrast" :) Nevajag te utopijas... Link to comment Share on other sites More sharing options...
andrisp Posted January 31, 2007 Report Share Posted January 31, 2007 Tiešām, ja jau tās bildes ir tik svarīgas, ka nekādā ziņā nedrīkst pieļaut tās nozagšanu, tad jāliek aiz paroles. Link to comment Share on other sites More sharing options...
neprasa Posted January 31, 2007 Report Share Posted January 31, 2007 ka piemeram uztaisit lai ir ka nonstop .lv ja ver bildi tiesi tad rada to nonstop bildi ar linku , bet ja parsti skatas tad rada normalo bildi, tur laikam httacess jamaina? Link to comment Share on other sites More sharing options...
v3rb0 Posted January 31, 2007 Report Share Posted January 31, 2007 par .htaccess īsti bez gūgles nezinu, bet var ar php šitā lapa.php <?php session_start(); $_SESSION['esmu lapaa'] = 1; ?><img src="bilde.php" /> ========================= bilde.php <?php session_start(); if(isset($_SESSION['esmu lapaa'])) { bildes saturs } else { logo bildes saturs } Link to comment Share on other sites More sharing options...
4e4en Posted February 1, 2007 Report Share Posted February 1, 2007 bildes jau var translēt caur PHP :) Link to comment Share on other sites More sharing options...
andrisp Posted February 1, 2007 Report Share Posted February 1, 2007 4e4en, ja tā ir atbilde uz v3rb0 ieteikumu, tad ko tu ar to īsti gribēji teikt ? Link to comment Share on other sites More sharing options...
Paulinjsh Posted February 2, 2007 Report Share Posted February 2, 2007 4e4en un aizkakāt ramu? Link to comment Share on other sites More sharing options...
4e4en Posted February 2, 2007 Report Share Posted February 2, 2007 ja to normāli realizē, tad nav tik traģiski :P Link to comment Share on other sites More sharing options...
Paulinjsh Posted February 2, 2007 Report Share Posted February 2, 2007 Pie maziem apjomiem varbūt.. Link to comment Share on other sites More sharing options...
4e4en Posted February 2, 2007 Report Share Posted February 2, 2007 Nu loģiski, ja visu laiku vaļā vērs bildes, kas smagākas par ~ 10mb, tad točna būs kādas probas.... bet priekš piemeram foruma, var mēģināt izdzīvot :) Link to comment Share on other sites More sharing options...
Stopp Posted February 2, 2007 Report Share Posted February 2, 2007 Tičo, 10mb parsēt cauri? Labi, šis jau ir offtopiks. Link to comment Share on other sites More sharing options...
4e4en Posted February 3, 2007 Report Share Posted February 3, 2007 var jau to speciāli laizt cauri per vai kadam citam serverside skriptiņam :) Link to comment Share on other sites More sharing options...
Recommended Posts