"", php

Gestart doorDaiman12 reacties82 weergaven

13 berichten · pagina 1 van 1

Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
heya

ik heb hier een hele lijst met proxys

maar ik wel nu dat elke proxy incl poort tussen "", komt

75.183.7.150:9090
202.90.112.43:8080
98.208.46.176:9090
75.83.57.219:9090
62.168.173.33:3128
190.202.87.1:3128
221.208.50.110:80
160.7.251.98:9090


zoiets maar dan heb ik er een paar duizen

hoe kan ik dit doen met php of wat?
0
Berichten
1.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Simpel, alles in een tabel zetten.
Vervolgens de tabel laten zien met

echo ";
echo $rij[ip];
echo ";

zoiets?
Jij snapt het vast welyummie
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
nope dat lukt niet

dan moet ik nog alles 1 voor in in een tabel zetten
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php
$bestand[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fopen"]fopen[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]bestand.txt[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$exp[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"n"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$bestand[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/for"]for[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]<[/COLOR] [URL="http://www.php.net/count"]count[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$exp[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++)
{[/COLOR]
    
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$exp[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]].[/COLOR]"[COLOR= #007700];

}[/COLOR]
?>


Zoiets?
0
Berichten
1.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja oke uhh..

Kan je dan niet:

$ips =
"
Hier al je ips
";

INSERT INTO naam(

$ips

)

Zoiets? Anders weet ik het nietredface
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dan krijg je duizenden queries emoAangezien je dat dan met een for moet doen
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@Erik: je was iets vergeten

Ik heb ff die van Erik gepakt een een beetje aangepast

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]$string = array([/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"n"[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$bestand[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fopen"]fopen[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]bestand.txt[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$exp[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"n"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$bestand[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/for"]for[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]<[/COLOR] [URL="http://www.php.net/count"]count[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$exp[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++)
{[/COLOR]
    
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$exp[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]",[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"n"[/COLOR][COLOR= #007700];

}[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]);[/COLOR][COLOR= #007700];[/COLOR]
?>


Deze geeft dit als output

Quote:
$string = array(
"ip:poort",
"ip:poort",
"ip:poort",
);
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Wat was ik dan vergeten?
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Een na $exp[$i].
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oh
0
Daiman

Lid · Topicstarter

Berichten
5.795
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
hij was ook de letter ,r achter bestand.txt vergeten maar het is inmiddels opgelost

bedankt allemaal
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Graag gedaan wink
0
Berichten
9.969
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
voor de volgende keer: je kan dit ook super makkelijk met Word doen...
ctrl + f en dan vervangen, en dan wat klooien met speciale tekens (regeleinde enzo)
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