Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
$checkvalue = 'x';
function checkfor( $checkvalue ) {
$array = file( 'filename.txt' );
foreach ( $array as $key => $value ) {
if ( $checkvalue == $value ) {
return $array[ $key + 210 ];
}
}
}
$checkvalue = $_POST['search'];
function checkfor($checkvalue) {
$array = file( 'stats.txt' );
foreach ( $array as $key => $value ) {
if ( $checkvalue == $value ) {
return $array[ $key + 210 ];
echo $array;
}
}
}
checkfor();
checkfor();
checkfor( $checkvalue );
<form id="form1" name="form1" method="post" action="">
<label>Search
<input type="text" name="search" id="search" />
</label>
<p>
<label>
<input type="submit" name="Submit" id="Submit" value="Submit" />
</label>
</p>
</form>
<?php
$checkvalue = $_POST['search'];
function checkfor($checkvalue) {
$array = file( 'stats.txt' );
foreach ( $array as $key => $value ) {
if ( $checkvalue == $value ) {
return $array[ $key + 2 ];
}
}
}
echo checkfor($_POST['search']);
?>
8927e2b5ca2d7336bf59adfaecbcf698
sky Pr0n3
a424aa287c03586d9f68982d3557895f
L00n3y&noob
f444256bea9cb6bdcafd574a634f932d
Blackrj
b15c720cad4b7c731541224e301f826d
[Cowboy]Varwe
<form id="form1" name="form1" method="post" action="">
<label>Search
<input type="text" name="Search" id="Search" />
</label>
<p>
<label>
<input type="submit" name="Submit" id="Submit" value="Submit" />
</label>
</p>
</form>
<?php
$bestand = file('stats.txt');
$zoek = $_POST['Search'];
foreach ($bestand as $lijn_num => $lijn) {
if(trim($lijn) == $zoek) {
$value1 = $bestand[$lijn_num+1];
echo $value;
break;
}
}
?>
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.