Website achterhalen.

Gestart doorJurgen18 reacties64 weergaven

19 berichten · pagina 2 van 2

Berichten
4.749
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik vind dit ook wel handig voor mijn proxy.
0
Jurgen

Lid · Topicstarter

Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb nu wel een database, en weet wel hoe je een normaal formuliertje naar een database laat gaan, maar deze niet:

<form method="post" action="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]][/COLOR] ?>">
    <ul id="form">
      <li id="address_bar"><label>Web Address <input id="address_box" type="text" name="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$GLOBALS[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]_config[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]url_var_name[/COLOR][COLOR= #007700]][/COLOR] ?>" value="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$GLOBALS[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]_url[/COLOR][COLOR= #007700]]) ?[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$GLOBALS[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]_url[/COLOR][COLOR= #007700]]) :[/COLOR] [COLOR= #DD0000][/COLOR] ?>" onfocus="this.select()" /></label> <input id="go" type="submit" value="submit" />


?>
</li>


Er staat dat "name"
"[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$GLOBALS[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]_config[/COLOR][COLOR= #007700]][[/COLOR][COLOR= #DD0000]url_var_name[/COLOR][COLOR= #007700]][/COLOR] ?>"


Is, maar zo kan ik het toch nooit verzenden naar mijn database?
0
Berichten
13.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
$_POST[$GLOBALS[_config][url_var_name]]


? emo
0
Jurgen

Lid · Topicstarter

Berichten
15.303
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sjoerd schreef:
$_POST[$GLOBALS[_config][url_var_name]]
? emo
Juist..
En waar moet ik dat neerzetten? emo
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