ironmanro
Active Members-
Posts
89 -
Joined
-
Last visited
Everything posted by ironmanro
-
Hello to all. I want to introduce to you a new TE: Auto-Surf.ro We are still in prelaunch so bear with us if there are errors. What do we offer: 10-300 seconds surf time 90% surf ratio while in prelaunch Unlimited traffic slots As we all know by now Amazon AWS free tier and google cloud IP's tend to get YouTube accounts disabled so those ip ranges are not allowed. Proxy traffic is also not allowed on our exchange. Custom referer (still in alpha testing so use at own risk) Extremely fast support. All sites submitted are checked by admin at lease once a day Coming soon Adblock and Javablock detection. Next gen geo-targeting. If there are any questions/suggestions please feel free to share them here. Thank you! Nu ma injurati prea rau, am baut prea mult ca sa mai fiu coerent!
-
Problema incepator php si mysql atribuire gift unic in functie de ip.
ironmanro replied to ironmanro's topic in Programare
Buna seara! Scriptul cu gifturile a iesit super misto dar m-a dus cu gandul spre alta chestie care mi s-a parut interesanta. Un site rotator cu referal remover si unique ip/site. (cum am ajuns de la gifts la ideea asta nici eu nu stiu, probabil deprivare de somn si multa cofeina) <?php $ip = $_SERVER['REMOTE_ADDR']; $con=mysqli_connect('localhost','*******','********','*********'); $rezultat=array(); $siteuri=array(); $sql = "SELECT siteid FROM user_sites WHERE ip_address = '$ip'"; $result = mysqli_query($con, $sql); while($row = $result->fetch_array(MYSQLI_ASSOC)) {array_push($rezultat, $row["siteid"]);} $sql="SELECT siteid FROM sites"; $result = mysqli_query($con,$sql); while ($row = mysqli_fetch_assoc($result)) {array_push($siteuri, $row["siteid"]);} $final = array_diff($siteuri, $rezultat); $nextvisit = $final[array_rand($final)]; if ( !empty($final)){ $sql = "INSERT INTO user_sites (ip_address, siteid) VALUES ('$ip', '$nextvisit')"; $insertip = mysqli_query($con, $sql); print_r($nextvisit); $sql = "SELECT url FROM sites WHERE siteid = '$nextvisit'"; $result = mysqli_query($con, $sql); while ($row = $result->fetch_assoc()){ $url=$row['url']; } $sql = "UPDATE sites SET visited_today = visited_today + 1 WHERE siteid = $nextvisit"; $result = mysqli_query($con, $sql); $sql = "UPDATE sites SET visited_total = visited_total + 1 WHERE siteid = $nextvisit"; $result = mysqli_query($con, $sql); mysqli_close($con); echo '<a href="'.$url.'" rel="noreferrer" id="autoclick"></a>'; echo "<script>document.getElementById('autoclick').click();</script>"; } else { echo 'No more sites for you!'; } ?> DB sites [siteid] [site_name] [visited_today] [visited_total] usersites [idu] [ip_address] [siteid] Aici am ajuns de m-am dat cu capul de pereti! Sau gresesc eu grav undeva sau array_rand() nu da rezultate tocmai random. De ce spun asta? 90% din vizite s-au dus la primul site dupa cum reiese din statisticile salvate in baza de date. La momentul asta nu imi vine in cap nici un fel de posibila rezolvare, de asta apelez la voi. Multumesc mult! P.S. Va rog sa nu radeti prea tare de mine, cum spuneam si in primul post, sunt incepator in domeniul asta, vreau sa invat, dar dupa o varsta e un pic mai greu.... Daca vedeti erori sau ucruri care se pot imbunatati va rog sa imi spuneti. P.P.S. Evercookie e dementiala ce idee de tracking dar ma intreb daca e si legala din prisma "legislatiei mUE" legata de cookies. -
http://www.timesnewroman.ro/life-death/cei-15-refugiati-ajunsi-la-galati-s-au-integrat-perfect-au-plecat-deja-la-munca-in-italia
-
Problema incepator php si mysql atribuire gift unic in functie de ip.
ironmanro replied to ironmanro's topic in Programare
Am reusit sa fac ce mi-am propus in proportie de 70% (din cauza timpului) in schimb codul arata intr-un mare fel si mai e nevoie si de sanitize la sql. Cand termin o sa postez aici poate mai primesc niste idei/sfaturi. Multumesc tuturor. Fara ajutorul vostru nu as fi reusit. -
Problema incepator php si mysql atribuire gift unic in functie de ip.
ironmanro replied to ironmanro's topic in Programare
Assigned static in intranet. Altfel alegeam abordarea cu cookie dar si alea pot fi sterse -
Problema incepator php si mysql atribuire gift unic in functie de ip.
ironmanro replied to ironmanro's topic in Programare
Merci mult. Sa vad unde ajung de aici -
Salutare. Am o problema de genul: User1 intra pe site prima data si primeste gift1 Cand User1 intra din nou pe site primeste gift2 si tot asa pana se termina gifturile User2 intra pe site prima data si primeste gift1, apoi gift2, gift3.... Userii sunt identificati dupa IP. Pana acum am reusit sa fac asta: user intra pe site, se cauta ip in baza de date > daca nu e gasit se adauga si echo(1) > daca e gasit echo(2) <?php $db = new PDO( 'mysql:host=localhost;dbname=************', '*************', '*************' ); $ipData = [ ':ip' => $_SERVER['REMOTE_ADDR'] ]; $statement = $db->prepare(' SELECT count(*) FROM IP_used WHERE ip_address = :ip '); $statement->execute($ipData); if ($statement->fetchColumn() == 0 ) { // add to list $statement = $db->prepare(' INSERT INTO IP_used ( ip_address ) VALUES ( :ip ) '); $statement->execute($ipData); echo(1); } else { echo(2); } ?> Puteti sa ma indrumati in directia buna? Sunt mai mult decat incepator in domeniul asta. Multumesc.
-
Eu acum 2 ani aveam $0.7 pe mesothelioma law firm / US click
-
Bani din porn, varianta 0 investiti (mini tut)
ironmanro replied to iulik's topic in Black SEO & monetizare
Imi puteti recomanda va rog un host "ieftin si bun" pentru xxx? Multumesc. -
La mine a mers dimineata asta fara probleme.
-
We've got 350,000 free Steam games to give away Pick up space shooter Enemy Mind for nothing. We've got 350,000 free Steam games to give away • Eurogamer.net
-
Free Steam key encore giveaway: five games up for grabs Free Steam key encore giveaway: five games up for grabs - PC Gamer
-
Two of the funniest adventure games on Steam are now yours to own entirely for free, thanks to this week's massive Steam key giveaway! Time Gentlemen, Please and Ben There Dan That affectionately parody '90s point and click classics with a gag-a-minute script and referential puzzles that poke fun at the genre. If you've ever enjoyed an adventure game, don't miss out. Grab free Steam keys for Time Gentlemen, Please and Ben There Dan That - PC Gamer
-
-- ..- .-.. - ..- -- . ... -.-.
-
Multumim awnly3jhc2g Codul a fost deja folosit dar jigodia care l-a luat nu a avut bunul simt sa spuna un multumesc.
-
Am luat .party si .webcam. Multumesc OP.
-
Bravo domnule! In sfarsit am vazut o prezentare fara "imi place cs si hachereala".
-
Am cumparat si eu 3+1 de la em20346. Baiat de nota 10.
-
Castiga 1$ instant pe un share de facebook !!!
ironmanro replied to albertynos's topic in Free stuff
Your spot has been reserved! PayPal is currently limiting the amount of real time payments to our members to $10,000 (TEN THOUSAND DOLLARS) per day which we are coming close to exceeding. Due to the rapid success and the volume of users coming in we are currently limiting new users per day to ensure everyone gets paid immediately. We will send you an email with your invite shortly. -
Salut. Ai cumva si conturi mai vechi sau numai noi? Multumesc.
-
offtopic: ce zdrentele masii sunt redirectele alea de cacat de cs? Ca m-am saturat de disperati din astia de 12-13 ani care fut rdp-uri si vnc-uri bune cu cacatul lor ce cs redirect. Sau alta intrebere: Se pot face bani din saracia aia de counter redirect, ca alta logica nu vad sa futi un server bun cu cacatul ala? Multumesc!
-
E ca buba aia din varful limbii, ar trece mai repede daca nu as tot fredona-o . Pana la urma poate cineva, va rog, sa imi dea si mie parola pe pm? Multumesc.
-
Mi-am dat seama. Sunt mai prost decat permite legea. Am ajuns la Ka**** Sa*** ca metoda de criptare dar aici m-am blocat. Nu gasesc echivalent pentru toate caracterele