window.location.replace(\"".$url."\")"; } redirect("gallery.php"); ?>