<iframe src="<?php echo $site; ?>" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%" scrolling="auto"></iframe> Code (markup): I running a redirection script depending on referrer and need to pull up the site in a iframe, but I can not get the frame width/height 100% any help.
This isn't a PHP issue at all, it's an HTML/CSS issue. Try using CSS. Make sure it's parent container is also 100% (both width and height).