Frameset in internal file

Hi

I would like to use a piece of code I picked up online. It is based on frameset. I know this is not supported in html5.The file is meant to be the target of an internal redirect. It wors very well in my computer, but I wonder if this is the case with all modern browsers.

Let me explain further: in my main html page I have a link that redirects to this file based on frameset. What it does is to open a external url.

Hope the above is understandable…

[quote=“qim, post:1, topic:112487”]
It wors very well in my computer, but I wonder if this is the case with all modern browsers.
[/quote]Couldn’t you just test it through all the latest browsers? That’s the only way to really tell if your webpage will run properly and have no other coding bugs, etc.

Not sure I agree with you using frames though.

Well… if you’re offering…

The idea is to remove a link from the main page and “hide” the link in a different folder that when the link is pressed activates a php file that acts as if the link was pressed directly.

The starnge thing “to me” ids that insteaof the url of the original link, what you see in the address bar is the location of the file in my computer, i.e.the file with the frameset.

I would certainly like to do it with more modern code…

What’s in the PHP file? Are you sorta just looking for something LIKE this?

I’m just trying to fully understand your requirements. I mean unless your php file needs to run and render…then you should be fine with something like this (as a starting point?)

Hi
I’ve just tested one page with 2 links in all 4 main browsers and it works fine. What I reaally meant was ig it worked across different oerating systems. I have Windows7, but wahat about the others?

This is all "cloak & dagger stuff…to avoid a number of things, like affiliate code theft, improperly coded links, hide links from bots, and a few other things. I’m not happy about pasting my codes online. I will write a brief description of my “requirements”… and send you private message, if you don’t mind.

Is this related to your other topic?

If so, can they be merged?

Can test across any number of browsers and platforms.

I’d rather not get a PM, simply because this is a forum and you should expect to give information out if you want answers :wink: . Besides, I might be a bad person :smiley: .

1 Like

Yes, but that I managed to work it on my own, eventually. Hurray!

Now, it all works but I am not sure how… and I have 2 different systems. The acloaker needs file for every single link (and I have over 100…) the other is better but I would likwe the php file to be amended to show the url like in acloaker.

and php is big mystery to me, even more than html/css!

CIA, you mentioned at one time. That says all!

I have to go out now. I will send a more comprehensice message in about an hour or so.

Well, in fact the other post you referred to mentioned the origin of the php file. What I need is to know if it is possible to amnd it, so that when the link is called what appears in the address bar is not the real url but the location of the file in my system.

is that possible? if so, at what door shall I go and knock?

Off Topic:

Can your other topic be closed, then? It’s a bit silly to let other folk try and help if you’ve already solved the problem.

You’re quite right. I waited for emails wirth answers. As they did not come, i’m afraid I forgot about the thread.

My apologies.

How do I close it?

I’ll do that.

Thanks

I’ve added a few words to inform that the query has been resolved.

What about my php problem? Should I start again in the php section? Really now it’s about adding, if possible the code to change the url

I’m confused. It sounds like you are either wanting to do what is known as “browser hijacking” or show file paths instead of URLs.

Showing file paths doesn’t make any sense and would be anywhere from confusing for visitors to risky in terms of revealing more information than needed.

Showing URLs in the address bar that are not “real” is considered as a security risk and browsers have taken great pains to not allow sites to to this.

Hi Mittineague

I found some old code on the Net that does exactly that, and works nicely on all browsers. It is a good idea because you may click on an affiliate link and then decide to wait until you get home. You copy the url and when you get home you open it directly and not through the original publisher’s page. Result: I get no commission.

besides, urls of affiliate links are very long and ugly and put off viisitors that wonder what they are getting into. Substituting it for a file path looks better, there is nothing shady about it, and if the url is copied it will return to the original site.

My problem now is to transfer that “magic” from the old html file to work on a separate php. file that does the same sort of redirecting but showing the full original url

Returning to the question of risk, I cannot see how placing an affiliate code “hidden” in a robots protected folder can be more risky than having it in the html file that anyone can see by simply opening the “View code”.

Hi Ryan

Sorry, I’ve just seen this post of yours.

What I would like to do (or know if it is possible) is to amend the following php script so that when the link is called the address bar will show the file path and not the real url (the long, ugly url of most affiliate links)

Please, see the basic script here, which works fine but without that needed bit of magic:

Maybe not in your case, but because phishing sites were changing the address bar URL to look like
www.yourbank.com etc.
and asking visitors to submit sensitive information to a wrong site browsers removed the ability for sites to do this.

Ahhh…

Good idea!

Anyway, I don’t believe that doing it is illegal in any sense, Besides, unfortunately, my site is not called PintoBank.com! Wish it were! It is just http://pintotours.net

Coming back to my question: is this somnething that I could get help from in the Forum, or is it considered “shady”!

Not shady, but because it has been abused by others it might be impossible (at least for newer browsers).

Maybe you could use a bitly type of link? Not pretty, but definitely shorter.

What’s that?

But, you know this is already in several pages of my site (since yesterday)-

For instance, click on the Occidental link in the sidebar of http://pintotours.net/Americas/DomRepublic/sightsStoDom.html