• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

mass iframe script

Ruriko

New Member
I'm looking for a script that can covert a bulk of links into iframe links. Like this example http://7fd5953f.linkbucks.com you see the top frame has ads while the bottom has content. What I want to do is post a bunch of rapidshare links and convert them to have iframes on the top. I could just do this manually but this would take alot of time if I have soo many links
 
Sorry, I am not 100% sure what you mean. Are you meaning to say that you want to make a script that will load a web page in an iFrame and have your adds displayed at the top of the page (like in the example) and when someone clicks on the site, you want it to open in the frame?
 
[UW]Glenn;1054520 said:
Sorry, I am not 100% sure what you mean. Are you meaning to say that you want to make a script that will load a web page in an iFrame and have your adds displayed at the top of the page (like in the example) and when someone clicks on the site, you want it to open in the frame?

Yes I want a website to load in an iframe with ads on the top frame but I don't want it when someone clicks on the site it open in the frame. What I want is convert any link for example http://www.google.com to have a frame just like the previous link. Now I want to convert a batch of links
 
Are you looking to have the script load the page (i.e. google.com) then display ads in the top with the script converting every link to open within the same frame (or a new window with a frame of ads)

If you want the script to do it on the fly, you'll be making a proxy, then you'll need to use PHP or ASP/NET to find any "href" statements then get them to open like such, adLink.php?u=http://google.com/page1/

It would be tricky work, it will be slow and painful when loading and it will chew up Server Load, Ram and Transfer. I don't know of anyone who would do such a painstaking task for free.

You'd be best using HTML to tell the frame to open every link within the frame, in the frame as apposed to doing the whole proxy bypass approach.

That can be done using this;
HTML:
<frameset framespacing="0" border="0" frameborder="0" rows="64,*">
	<frame name="header" scrolling="no" noresize target="main" src="ads.htm">
	<frame name="main" scrolling="auto" noresize target="main" src="http://google.com/">
	<-------->
 
I actually found a script to do it but the problem is it only works with images. This script only needs PHP and web space. I was wondering if anyone could anyone modify it to work with urls instead of images?
http://www.mediafire.com/?oxcjuhwmx0b
Currently it's set to this format
HTML:
[url= Link to image here][img]path to thumbnail here[/img][/url]
I want to change it to
Code:
http://www.youdomain.com
 
Back
Top