okay i need help searching for an image
i'm trying to search with an "*"
but its not working
basically i'm looking for any file that ends in
$GET[DNID]_p1
so it could be
1_2_p1
2_2_p1
89_2_p1
bob_2_p1
smelly_bob_2_p1
$img1 = "*$GET[DNID]_p1";
if(file_exists("$img1"))
{print("<a href=\"javascript:popUp('$img1')\"> <img src='$img1' width='150' height='150' border=0></a>");}
else
{print(" <a href=\"javascript:popUp('up.php?P=p1&W=def')\">Upload Image 1</a> ");}