gunmetal Posted May 2, 2010 Report Share Posted May 2, 2010 Kurš var pateikt, kur var BEZMAKSAS nolādēt šo skriptu un vai līdzīgu http://www.interlogy.com/products/pmpre/ Paldies jau iepriekš Lūdzu tizlus komentārus nerakstiet :) Quote Link to comment Share on other sites More sharing options...
xmas12 Posted May 3, 2010 Report Share Posted May 3, 2010 (edited) Pricips ir šāds : tikai saliec pareizu selektu un ceļu uz config failu :) , NU protams pielabo tā kā tev vajag! <? include("include/config.php"); if(isset($_GET['user'])) { $userid = $_GET['user']; $query = mysql_query("SELECT * FROM lietotaji WHERE id = '$userid'"); while($userrow = mysql_fetch_array($query)){ echo "<br /> <br >Vārds: " . $userrow['vaards'] . " <img align='right' class='photo_author' style='margin-top: -35px;' src='" . $userrow['bilde'] . "' width='90' height='90' alt='Bilde' /> <br >Uzvārds: " . $userrow['uzvards'] . " <br >Vecums: " . $userrow['vecums'] . " <br >Ēmails: " . $userrow['epasts'] . " "; } } else{ } ?> Edited May 3, 2010 by xmas12 Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted May 3, 2010 Report Share Posted May 3, 2010 Kurš var pateikt, kur var BEZMAKSAS nolādēt šo skriptu un vai līdzīgu Nolādet var Baznicā. :) Quote Link to comment Share on other sites More sharing options...
gunmetal Posted May 3, 2010 Author Report Share Posted May 3, 2010 Nolādet var Baznicā. :) hā hā hā :D Quote Link to comment Share on other sites More sharing options...
xmas12 Posted May 3, 2010 Report Share Posted May 3, 2010 Nu, iet tas code ko iedevu ? :) Quote Link to comment Share on other sites More sharing options...
chizijs Posted May 3, 2010 Report Share Posted May 3, 2010 Nu, iet tas code ko iedevu ? :) Neies, nav datubāzes :D Quote Link to comment Share on other sites More sharing options...
xmas12 Posted May 3, 2010 Report Share Posted May 3, 2010 Datubaazi lai pats veido, es vinam iedevi tikai piemeeru! :P Quote Link to comment Share on other sites More sharing options...
m8t Posted May 3, 2010 Report Share Posted May 3, 2010 (edited) Xmas12 - kas notiks, ja es ieiešu, piemēram ?user=1' OR '1'='1 ?? Caurs ir tas tavs kods. Edit: pārrunājos. Drīzāk tur varētu likt drop table. Edited May 3, 2010 by m8t Quote Link to comment Share on other sites More sharing options...
gunmetal Posted May 3, 2010 Author Report Share Posted May 3, 2010 Lab nesākšu jaunu tēmu :D Nah man rāda Error - The field is using invalid characters. Tad nesaprotu kā es varu pievienot ko datubāzei :D Quote Link to comment Share on other sites More sharing options...
chizijs Posted May 3, 2010 Report Share Posted May 3, 2010 Lauks izmanto nederīgas rakstzīmes. Quote Link to comment Share on other sites More sharing options...
gunmetal Posted May 3, 2010 Author Report Share Posted May 3, 2010 Lauks izmanto nederīgas rakstzīmes. Ja lauks ir tukš? :DDD Quote Link to comment Share on other sites More sharing options...
briedis Posted May 3, 2010 Report Share Posted May 3, 2010 Xmas12 - kas notiks, ja es ieiešu, piemēram ?user=1' OR '1'='1 ?? Caurs ir tas tavs kods. Edit: pārrunājos. Drīzāk tur varētu likt drop table. ar mysql_query var izpildīt tikai vienu kvēriju. Quote Link to comment Share on other sites More sharing options...
gta1151 Posted May 8, 2010 Report Share Posted May 8, 2010 Kaut kā nesanāk palaist mans config <?php $db_host="localhost"; $db_user="root"; $db_pass="parole"; $db_name="db"; $connection=mysql_connect($db_host, $db_user, $db_pass) or die(mysql_error()); mysql_select_db($db_name, $connection); mysql_query("SET NAMES utf8"); ?> Kā īsti apskatīt to profilu.Neprotu ka palaist ?user=1 vai 1=1 Quote Link to comment Share on other sites More sharing options...
daGrevis Posted May 8, 2010 Report Share Posted May 8, 2010 Pirmkārt, Tev ir izveidota datubāze?? =) (Tu ar to skriptu tai tikai pieslēdzies) Vai Tev ir datubāzē vajadzīgie dati?? =) (piereģistrēts lietotājs) Quote Link to comment Share on other sites More sharing options...
Леший Posted May 8, 2010 Report Share Posted May 8, 2010 briedis, ' WHERE id IN (DROP DATABASE) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.