I can think of 2 php ways off the top of my head.
In your frameset, set the src using php like
<frame src="<? echo $url;?>">
or set the frame src to a php file that contains
header("Location: " . $url);
The first should work, the second should work but you'll never know for sure until you try.