Show PhP page in iFrame


#1

Hi Guys

I need help in showing a PhP page in iFrame but do not know the correct syntax.
got the following code:

HTML with PHP body { margin: 0px; } <?php $url = $_SERVER['REQUEST_URI']; $parts = explode('?=', $url); $page = $parts[1]; echo ''; ?>

Any pointers would be appreciated.


#2

Most php installs are not configured to allow specifying an external uri. It’s a security issue.