A PHP Problem. Help me fix it! (35)

14 Name: h-cube!h3/bEAAN16 04/12/14(Tue)07:44 ID:+o9/+EUZ [Del]

Needs more getimagesize() and less munging around with strings and regular expressions trying to infer file type.

>My code, of course, is flawless.
$it=array_rand($files);    
header("Location: ".$url.$file);

Eh? $file is the last file you read in the readdir() loop, no?

This thread has been closed. You cannot post in this thread any longer.