Jump to content

redirect url


lonerunner

Recommended Posts

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

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.