Get custom field outside wordpress loop on new php page

ok got it myself didnt thought it would be that simple

require_once($_SERVER['DOCUMENT_ROOT'] . '/wp-load.php');
$postid = $_GET["postid"];

$custom = get_post_custom($postid);

 {

        echo '<meta http-equiv="refresh" content="0; URL= ' . get_post_meta($postid, 'custom-filed-key', true) . ' ">';
}