View Single Post
Old 11-14-2012, 05:24 PM  
EliteWebmaster
Confirmed User
 
EliteWebmaster's Avatar
 
Join Date: Feb 2010
Posts: 3,975
I was thinking of something like this below but limiting the variable to 10 results.

<?php
// Get URL variable "u"
$url = $_GET['u'];

// Now you have some choices to make
// whether or not to include "http://" with the URL or not

// "http://" is not included, so add it on ...
$url = "http://".$url;

// Now display your <iframe> ...
echo"
<iframe src='$url'" style="border:1px 348 solid;" name="iframe_name" scrolling="yes" frameborder="0" align="center" height="px" width="200px">
</iframe>
";

?>
EliteWebmaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote