Code: Select all
<?php
$array = array(@fopen("file.php", "r"));
if(in_array($query, $array, TRUE)) {
echo "Results were found.";
} else {
echo "No results were found.";
}
?>Moderator: General Moderators
Code: Select all
<?php
$array = array(@fopen("file.php", "r"));
if(in_array($query, $array, TRUE)) {
echo "Results were found.";
} else {
echo "No results were found.";
}
?>Code: Select all
$array = file("file.php");Code: Select all
$array=array(@fopen("file.php", "r"));