JAKuT Posted July 25, 2008 Report Share Posted July 25, 2008 Es gribetu, uzzinat... ka to izdarit?? nekadas idejas nenak galva.. PHP <form method="POST" action="smscw.php"> <select name="prece"> <option value="1">#1</option> <option value="2">#2</option> <option value="3">#3</option> <option value="4">#4</option> <option value="5">#5</option> <option value="6">#6</option> <option value="7">#7</option> </select><br> <input type='hidden' name='action' value='insert'> <tr bgcolor="#ffffff"> <td height='16' width='30%'>Код (который получиле в SMS):</td> <td height='16' width='70%'><input type='text' name='kods' style='font-family: verdana, tahoma, arial; font-size: 10px; width: 100px'></td> </tr> <tr bgcolor="#ffffff"> <td height='16' width='100%' colspan='2'align='right'><input type='submit' name='submit' value='Загрузить' style='font-family: verdana, tahoma, arial; font-size: 10px;'></td> </tr> </form> </center> uzspiezot, pogu zagruzit`.. lai ja kods, der.. tad uzreiz lade nevis atveras taads raksts PHP //parbauda vai der if(mysql_result(mysql_query("SELECT COUNT(*) FROM code WHERE code = '$code'"),0,'COUNT(*)') > 0){ echo "<b><body background-color:#C0C0C0><br>Ваш код подошол! Теперь можете кочать по этой <a href='$links'>сылке</a>!"; } else{ echo "<script>alert('Код не правельный!');window.back()</script>"; unset($code); exit(); } Link to comment Share on other sites More sharing options...
wap1337 Posted July 25, 2008 Report Share Posted July 25, 2008 (edited) header('links') un pārmetīs header('Location: http://links/'); edited: šitā ir pareizi! ! else { header('Location:links/'); } Edited July 25, 2008 by wap1337 Link to comment Share on other sites More sharing options...
JAKuT Posted July 25, 2008 Author Report Share Posted July 25, 2008 Nepareizi, raksta tagad kad uzspiedzu zagruzit`.. Parse error: parse error, unexpected T_ELSE in C:\AppServ\www\s\smscw.php on line 87 //parbauda vai der if(mysql_result(mysql_query("SELECT COUNT(*) FROM code WHERE code = '$code'"),0,'COUNT(*)') > 0){ else { header('Location:&links'); } else{ echo "<script>alert('Код не правельный!');window.back()</script>"; unset($code); exit(); } $delete = "DELETE FROM code WHERE code = '$code'"; mysql_query($delete) or die(mysql_error()); mysql_close(); ?> izradiju, taa... kads var palidzet???? kad uzspiez, zagruzit`, ta vins parbaud vai kods der, un dod noladet tev failu! uzreiz! nevis, uz link jaspiez! Link to comment Share on other sites More sharing options...
X ID Posted July 25, 2008 Report Share Posted July 25, 2008 (edited) Pārāk neiedziļināšos //parbauda vai der $res=mysql_query("SELECT COUNT(*) AS c FROM `code` WHERE code='".mysql_real_escape_string($code)."'"); $row=mysql_fetch_object($res); if($row->c>0){ // laižam klāt }else{ header("Location: /links/"); exit; } $delete="DELETE FROM code WHERE code = '".mysql_real_escape_string($code)."'"; mysql_query($delete)or die(mysql_error()); ?> EDIT: Par to download`ošanu - paskaties tepat forumā, nesen vienā topikā iedevu kodu. Edited July 25, 2008 by X ID Link to comment Share on other sites More sharing options...
JAKuT Posted July 25, 2008 Author Report Share Posted July 25, 2008 Nekaa, nestrada...! man vajag, lai vins pats skatas. kadu failu izvelejies, jo tas &links rada, kuru failu tu gribi! if(isset($_POST['prece'])) { if ($_POST['prece'] == '1') { $links = '/s/web.rar'; } elseif ($_POST['prece'] == '2') { $links = '/s/acc_php_script.rar'; } elseif ($_POST['prece'] == '3') { $links = '/s/unban_php_script.rar'; } elseif ($_POST['prece'] == '4') { $links = '/s/cw_own_web.rar'; } elseif ($_POST['prece'] == '5') { $links = '/s/zombie_server.rar'; } } elseif ($_POST['prece'] == '6') { $links = '/s/csdm_server.rar'; } elseif ($_POST['prece'] == '7') { $links = '/s/cw_server.rar'; } Link to comment Share on other sites More sharing options...
wap1337 Posted July 26, 2008 Report Share Posted July 26, 2008 mjā pats pārbaudīju uz header , atver tukšu lapu, viņs to failu nolasa kā lapu tpc vajag , laikam linku uz html or php faila un tad lai tas nokačā to sūdu, vel jau var kaut kā dabūt tā kad uzspiežot "Piekriest" un ja kods pareizs uzreiz downlodot! Link to comment Share on other sites More sharing options...
JAKuT Posted July 26, 2008 Author Report Share Posted July 26, 2008 es ari ,ta gribu izdarit.. Link to comment Share on other sites More sharing options...
JAKuT Posted July 27, 2008 Author Report Share Posted July 27, 2008 Nu kads, var palidzet? Link to comment Share on other sites More sharing options...
X ID Posted July 27, 2008 Report Share Posted July 27, 2008 Man poh*j, ka tu gribi vai, ka tev vajag, es jau teicu, ka tepat forumā ir tas skripts. Neviens neies to meklēt tavā vietā, takā sāc kautko darīt un nepīksti, ja negribi darīt. Link to comment Share on other sites More sharing options...
dimka62 Posted July 29, 2008 Report Share Posted July 29, 2008 Plzz palidziet man ari dareetu sho fishku... Link to comment Share on other sites More sharing options...
Cepж Posted July 7, 2009 Report Share Posted July 7, 2009 (edited) Sheit var iedot vo sho shopu ka wejt prasija vin4? vai kaut kadam ir tads http://d-night.lv/shop/ bushu ljoti patejcigs.. Edited July 7, 2009 by Cepж Link to comment Share on other sites More sharing options...
the best Posted July 8, 2009 Report Share Posted July 8, 2009 http://d-night.lv/shop/ bushu ljoti patejcigs.. tas ir taspats shops LOL ko jakyta megina atrisinat problemas Link to comment Share on other sites More sharing options...
Cepж Posted July 8, 2009 Report Share Posted July 8, 2009 Nu esli tads pats tad, a vin4 tev ir esli ir vari man iedot vinju ludzu.. Link to comment Share on other sites More sharing options...
SĀPE Posted July 8, 2009 Report Share Posted July 8, 2009 Uzraksti tak sakarīgi, kautvai krieviski ja tev tā vieglāk. Link to comment Share on other sites More sharing options...
Cepж Posted July 8, 2009 Report Share Posted July 8, 2009 У каво есть етат СМС магазин можете дать силку, очень буду благодарен. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now