lonerunner Posted March 24, 2009 Share Posted March 24, 2009 i am not sure how this is called and it is in right section. but many call it redirect link. you already seen links like this www.somesitename.com/goto.php?=http://www.someothersite.com/somevideo.php my point is: i am making site with videos but streams are on other site. i dont wanna send my users to other site, i wanna redirect them to watch videos but to stay on my site. so i wanna pull page from that site where video is, but my header to be on top of that redirection, so when user click on link from my site, basically it show him my site header, and iframe with site where video is. im not sure if i can post some links as examples or some images to show Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 24, 2009 Share Posted March 24, 2009 http://www.yoursite.com/show.php?url=http://www.someothersite.com/somevideo.php <?php if(!isset($_GET['url'])) die("No URL found"); ?> <html> <head> <title>Some title</title> </head> <body> <div>Here is your header</div> <iframe src="<?php echo $_GET['url']; ?>" style="width:100%;"></iframe> </body> </html> Quote Link to comment Share on other sites More sharing options...
lonerunner Posted March 24, 2009 Author Share Posted March 24, 2009 i found it. i was looking frame redirection script. this is short description of script. "This allows a webmaster to have a service like what appears on a lot of the big link sites, when you click on a link the site displays a frame at the top with their info and the link is displayed in a frame underneath. This script will do this, also shows how put ion your own advertising if required in the top frame." i dont wanna put link of script here because i dont know if i'm allowed? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.