Kan ik dit doen?

Gestart doorBoude14 reacties51 weergaven

15 berichten · pagina 1 van 1

Boude

Lid · Topicstarter

Berichten
2.837
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kijk
ik wil een proxy toevoeg lijst maken. Maar nu wil ik dat ik een lijst in een texarea neer zet dus telken

i.pyummieoort maar hij moet ip in een tabbel zetten en de poort ook en dan alle ips en poorten dus.. Zou dat kunnen?
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
alles in aparte tekstarea
0
Boude

Lid · Topicstarter

Berichten
2.837
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nee alles bij elkaar
dus

ipyummieoort
ipyummieoort
ipyummieoort
enz.
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
exploden op n
en dan exploden op :
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
een tabel in textarea kan volgens mij niet
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nielsie:
een tabel in textarea kan volgens mij niet
nee, maar andersom wel smilemaar dan moet je met meer texareas werken yummie
0
Boude

Lid · Topicstarter

Berichten
2.837
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@luuk

dat snap ik effe niet bloos..
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Boude schreef:
dat snap ik effe niet bloos..
Als ik het goed begrijp wil je het in een mysql tabel zetten?
0
Boude

Lid · Topicstarter

Berichten
2.837
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jha ip bij ip en poort bij poort (met : ervoor)
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
*laat maar had het denk ik niet begrepen*
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #FF8000]//MYSQL CONNECTIE MAKEN[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]submit[/COLOR][COLOR= #007700]]))
    {[/COLOR]
        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]proxylist[/COLOR][COLOR= #007700]]))
        {[/COLOR]  
            [COLOR= #0000BB]$array[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"n"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]proxylist[/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]$array[/COLOR][COLOR= #007700]);[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++)
            {[/COLOR]
                [COLOR= #0000BB]$explode[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]:[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$array[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]]);[/COLOR]
                [COLOR= #0000BB]$ip[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$explode[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]];[/COLOR]
                [COLOR= #0000BB]$port[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$explode[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]];[/COLOR]
                [COLOR= #0000BB]$q[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT 1 FROM `proxies` WHERE `ip` = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ip[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]" AND `port` = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$port[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]""[/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/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$q[/COLOR][COLOR= #007700]))
                {[/COLOR]
                    [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO `proxies` (`ip`, `port`) VALUES ("[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$ip[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]","[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$port[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]")"[/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/echo"]echo[/URL] [COLOR= #DD0000]Toegevoegd[/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]Je hebt niks ingevuld[/COLOR][COLOR= #007700];
        }
    }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]           
?>

<form method="post" action="#">
    <strong>Proxylijst</strong><br />
    <textarea name="proxylist"></textarea><br />
    <input type="submit" value="Toevoegen" name="submit" />
</form>

[COLOR= #0000BB]<?php[/COLOR]
    [COLOR= #007700]}[/COLOR]
?>


Probeer dit eens
0
Boude

Lid · Topicstarter

Berichten
2.837
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@luuk bedankt

check hij ook of dat hij er nog niet instaat? bloos..
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Boude schreef:
@luuk bedankt
check hij ook of dat hij er nog niet instaat? bloos..
ja
0
Boude

Lid · Topicstarter

Berichten
2.837
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@luuk ik heb net effe een test gedaan dat doet hij niet bloos..

Luuk ik heb het zelf al gemaakt luuk heel erg bedankt wink..
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Boude schreef:
@luuk ik heb net effe een test gedaan dat doet hij niet bloos..
Luuk ik heb het zelf al gemaakt luuk heel erg bedankt wink..
Graag gedaansmile
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