Jump to content
Hostul a fost schimbat. Daca vedeti serverul offline readaugati rpg.b-zone.ro sau 141.95.124.78:7777 in clientul de sa-mp ×

SpikeMaster

Member
  • Posts

    2
  • Joined

  • Last visited

About SpikeMaster

  • Birthday 07/10/1992

Profile Information

  • Gender
    Male
  • Location
    Unde in Blcani

SpikeMaster's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. deci l`am rugat pe nick15 sa`mi redeschida putin topicul pentru a explica ceva observ ca m`ati inteles gresit, acest script nu`l folosesc pentru a sparge site-uri ... Se pare ca cel ce a venit cu ideea asta nu prea le are cu programarea ... un site nu`l spargi cu un astfel de script! Eu am cerut ajutor in rezolvarea unei probleme la acest script, problema pe care am rezolvato pe parcursul timpului. Dar din pacate am realizat ca nu este ceea ce caut! Oricum, eu, acest script vroiam sal folosesc la propriul site, ca un motor de cautare (cum e google de ex.) dar care ofera informatii din baza mea de date ... si mai repet odata dupa cum zice si titlul... MySQL nu SqLi Atat am vrut sa zic eu nu sparg site-uri, eu incerc sa le securizez mai mult Peace!
  2. Salut, am si eu o mica problema! Am codul urmator, pentru o functie de serach in MySQL. Cum as putea sal fac sa functioneze? Ce e gresit la el? Cand dau search, imi apare pagina alba Sau stie cineva un script mai bun? <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","*****","******"); //select which database you want to edit mysql_select_db("cheats"); $search=$_POST["search"]; //get the mysql and store them in $result //change whatevertable to the mysql table you're using //change whatevercolumn to the column in the table you want to search $result = mysql_query("SELECT * FROM >tabel< WHERE title LIKE '%$search%'"); //grab all the content while($r=mysql_fetch_array($result)) { //the format is $variable = $r["nameofmysqlcolumn"]; //modify these to match your mysql table columns $topic=$r["topic"]; $detail=$r["detail"]; $name=$r["name"]; $view=$r["view"]; //display the row echo "$topic <br> $detail <br> $name <br> $view"; } ?> OK, am facut setarile, am facut tot. Observ ca are la sfarsit: $topic=$r["topic"]; $detail=$r["detail"]; $name=$r["name"]; $view=$r["view"]; Iar ca sa afiseze datele, are astfel: echo "$topic <br> $detail <br> $name <br> $view"; Ce nu merge
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.