Automatische punten geven..

Gestart doorNathan17 reacties111 weergaven

18 berichten · pagina 1 van 2

Nathan

Lid · Topicstarter

Berichten
4.936
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik wil dat je automatische punten krijgt dus niet wanneer je op de bottom klikt..

( http://www.davoee.nl/geefcredits.php?user=Nathan )

[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]settings.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]){[/COLOR]
?>
<meta http-equiv="refresh" content="0;URL=[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"$siteurl"[/COLOR][COLOR= #007700];[/COLOR] ?>">
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
}[/COLOR]
[COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT * FROM users WHERE id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$memberid[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$object[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700])){[/COLOR]
[COLOR= #0000BB]$buy[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$object[/COLOR][COLOR= #007700]->[/COLOR]button[COLOR= #007700];
}[/COLOR]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link rel="stylesheet" type="text/css" href="images/style.css" />
    <title>Geef [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR] ?> credits!</title>
</head>
<div align="center" id="content"> 
  <div align="center" class="header"> 
    <h1 align="center"><a href="#">Geef gebruiker [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR] ?> een credit</a></h1>
  </div>
  <div align="center" class="subheader"> 
    <p align="center">Je staat op het punt om gebruiker [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR] ?> 
      een credit te geven.<br />
      <br />
     met die credits kan[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR] ?> geld verdienen!<br />
      Het kost jou helemaal niets, dus waarom zou je hem niet even een credit 
      geven?<br />
      <br />
      [COLOR= #0000BB]<?[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$buy[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]){[/COLOR]
    ?>Klik op de button om [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR] ?> &eacute;&eacute;n 
      credit te geven.<br />
      Dit kun je een keer per dag doen.</p>
    <form name="form1" id="form1" method="post" action="">
<input type="submit" name="Submit" value="Geef [COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]][/COLOR] ?> een credit" />
      <strong> 
      [COLOR= #0000BB]<?[/COLOR] [COLOR= #007700]}[/COLOR] ?>
      <br>
      [COLOR= #0000BB]<?
$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$buy[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]"no"[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$post[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"1"[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REQUEST_METHOD[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"POST"[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$post[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"1"[/COLOR][COLOR= #007700];
}}[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$post[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]"1"[/COLOR][COLOR= #007700]){[/COLOR]
[COLOR= #0000BB]$ip[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$date[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"Ymd"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO creditlink (ip, date) VALUES ($ip, $date)"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/print"]print[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[COLOR= #0000BB]$result[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM creditlink WHERE ip = $ip AND date = $date"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$result[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]){[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE `users` SET saldo=saldo+1 WHERE `username` = $_GET[user]"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"<font size="4">Je hebt $user succesvol een credit gegeven!</font><br>Je wordt zo doorgestuurd naar een adverteerder...<meta http-equiv="refresh" content="0;URL=$redirect">"[/COLOR][COLOR= #007700];
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"<font size="4">Je hebt $user vandaag al een credit gegeven!</font>"[/COLOR][COLOR= #007700];
}}[/COLOR]
?>
      </strong> </font>
    </form>
    <font size="3"><strong><br>
    </strong></font> 
    <h1 align="center"><a href="[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"$siteurl"[/COLOR][COLOR= #007700];[/COLOR] ?>aanmelden.php?ref=[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700]];[/COLOR] ?>" target="_blank"> 
      Meld je aan! en verdien ook geld met kliks!
  </div>
  <div align="center" class="footer"></div>
</div>
</body>
</html>
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
t Is wel superveilig allemaal. emo
0
Nathan

Lid · Topicstarter

Berichten
4.936
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Maar daar gaat het nu niet om -.-
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Nee, maar dat zou ik eerst ff aanpassen, ik ga er iig niet naar kijken als t zon bende is, maar iemand anders wellicht wel. emo
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$query = "SELECT * FROM users WHERE id = ".$memberid."";
$result = mysql_query($query) or die(mysql_error());
while($object = mysql_fetch_object($result)){
$buy = $object->button;
}


vervangen met

$buy = no;
0
Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
mysql_query("UPDATE `users` SET saldo=saldo-HOEVEELHEID WHERE `username` = $_GET[user]");
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jurrie:
mysql_query("UPDATE `users` SET saldo=saldo-HOEVEELHEID WHERE `username` = $_GET[user]");

wat versta jij onder het woord geven ?

met je -

oeps... ik deed perongeluk ?user= OR 1=1--
das kut... iedereen heeft er punten bij emo
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Sjerdo:
oeps... ik deed perongeluk ?user= OR 1=1--
das kut... iedereen heeft er punten bij emoDaarom zei ik ook dat het niet veilig was, maarja, als niemand wil luisteren; dan niet. cry
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
nja, volgens mij weten niet echt veel mensen iets van beveiliging van je sites af enzo
en als ze weten dat het nodig is, zijn ze zo gierig om niet eens 10 eurie voor een beveiligingscheck neer te leggen cry
0
Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sjerdo:

Jurrie:
mysql_query("UPDATE `users` SET saldo=saldo-HOEVEELHEID WHERE `username` = $_GET[user]");

wat versta jij onder het woord geven ?

met je -

Lees eerst eens. Hij zegt dat het automatisch moet gebeuren, dus niets geven.
Met die code komt het er automatisch bij zonder ergens op te hoeven klikken confused
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Ach, ze komen er vanzelf wel achter als ineens iedereen uberveel punten heeft. emo
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Lennard schreef:
Ach, ze komen er vanzelf wel achter als ineens iedereen uberveel punten heeft. emo
of in de min...

Jurrie:
mysql_query("UPDATE `users` SET saldo=saldo-HOEVEELHEID WHERE `username` = $_GET[user]");
0
Nathan

Lid · Topicstarter

Berichten
4.936
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Lennard schreef:
Ach, ze komen er vanzelf wel achter als ineens iedereen uberveel punten heeft. emo
heb het nog geen eens aangepast..
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Nathan schreef:
Eerdere citaten tonen
Lennard schreef:
Ach, ze komen er vanzelf wel achter als ineens iedereen uberveel punten heeft. emo
heb het nog geen eens aangepast..
Ik had het over beveiliging, en toen ik zei dat die slecht was riep jij meteen dat het daar nu niet om ging, dus je had niet echt de bedoeling om dat aan te passen.
0
Nathan

Lid · Topicstarter

Berichten
4.936
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
als jij het voor me wilt doen wink
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren