freak Posted July 1, 2004 Report Share Posted July 1, 2004 (edited) Problema man ir tada, ka es gribu ,lai ievietojot so koda rindinju: <script language=JavaScript src=http://www.blaba.lv/script.php></script> jebkuraa web lapa, varetu palaist skriptu script.php uz mana servera, bet tas strada tikai, ja to izvieto uz mana servera un bez http://www.blaba.lv, bet tikai noradot src=script.php Kapec? Ko man darit? Meginaju shim skriptam mainit ari permission , bet tas neko nemainija. Edited July 1, 2004 by freak Link to comment Share on other sites More sharing options...
рпр Posted July 1, 2004 Report Share Posted July 1, 2004 varbuut probleema tajaa, ka htmlaa parametri tomeer jaaliek peedinjaas Link to comment Share on other sites More sharing options...
freak Posted July 1, 2004 Author Report Share Posted July 1, 2004 (edited) Tas neko nemaina. Kas vel varetu but par vainu? Edited July 1, 2004 by freak Link to comment Share on other sites More sharing options...
Aleksejs Posted July 1, 2004 Report Share Posted July 1, 2004 (edited) Varbūt tā ir pārlūkos iebūvētā aizsardzība pret "cross-site scripting"... Edited July 1, 2004 by Aleksejs Link to comment Share on other sites More sharing options...
freak Posted July 1, 2004 Author Report Share Posted July 1, 2004 Diezvai. Ka tad darbojas visi counteri? Link to comment Share on other sites More sharing options...
Venom Posted July 1, 2004 Report Share Posted July 1, 2004 Pag, pag. Tu gribi lai tas source.php "nokopējās" un izpildās uz _mana_ datora? Ka tik tu nejauc servera un klienta tehnoloģijas. Ko tev tas script.php izpilda? Link to comment Share on other sites More sharing options...
freak Posted July 1, 2004 Author Report Share Posted July 1, 2004 (edited) Izpildas vinsh uz mana servera un izgenere ar JVS palidzibu html lapaa kodu. Piemeram: <? print "document.write('test');"; ?> Shis piemers gan strada, bet ja skripta izmanto DB tad nekas nestrada. Konkretak izgustot rezultatu: while($row=mysql_fetch_array($result)): endwhile; ,bet, ja to izpilda uz sava servera tad tas strada. Kaut kas nav kartiba ar to $result!!! Edited July 1, 2004 by freak Link to comment Share on other sites More sharing options...
freak Posted July 1, 2004 Author Report Share Posted July 1, 2004 Atvainojiet, ka piesarnjoju forumu, kluda izradijas ieksh DB host. Uzliekot scriptu uz cita servera nenomainiju hostname. Link to comment Share on other sites More sharing options...
Recommended Posts