Forum Moderators: coopster
basically what im trying todo is to check if $art is set or not and also to see if anyone is trying to create a loop,,index.php3 is the main file where this code resides and where there is and include ($art);.
<?php
$art = $_GET['art'];
if($art == 'index.php3')
{$art='index.txt';
}
elseif(!isset($art)) {
$art='index.txt';
}
?>