[ASK] anyway to hide the iframe url?

amberlamps

BANNED
Joined
Jun 24, 2010
Messages
331
Reaction score
145
is their any way to hide the iframe url. like say im iframing email submits is their anyway to hide the iframe from anyone finding out what the affiliate?

hope its clear what i mean
 
I don't really understand what you are trying to accomplish, can you put more information or the HTML code which is a problem ?
 
bascially im talking about iframe email submits and i dont want people to right click the iframe section and getting the url
 
bascially im talking about iframe email submits and i dont want people to right click the iframe section and getting the url

You could disable right click I guess.. but that's a stupid pointless thing to do really. No matter what you do, as long as a browser can read it so can any human being who posseses a little knowledge.
 
i have right click disabled but, if iframe site is not mines so it still able to right click it,
 
Well there is many way to hide your url, but it will be always possible to retrieve the originate url.

Two idea come to my mind right now :
1/ You can use 301 redirect services like bit.ly or ************ . You put your short link in the iframe source which will redirect to your affiliate URL.

2/ You create a webpage wich contains only the iframe of your affiliate, you host this page on any web server you want. In your mail you put an iframe to this page new page (you will have an iframe in an iframe...)
 
yeah this how i have it set up iframe within a iframe, i guess it is what it is, cause they can always the right click the frame part and open this page in a new tab and will open the aff link in it own tab exposing the url im trying to hide.
 
Maybe you could try to load the iframe page in a local php page with cURL. Then just echo the results back to the output. This way it will look if its a local page on your server inside the iframe. I don't know if the affil will have problems with this though as you are nuking your referrer this way.

Let me know if you need any php code to try this.
 
Maybe you could try to load the iframe page in a local php page with cURL. Then just echo the results back to the output. This way it will look if its a local page on your server inside the iframe. I don't know if the affil will have problems with this though as you are nuking your referrer this way.

Let me know if you need any php code to try this.

Hi There, Can You post it or PM?

Thanks in advance!
 
Maybe you could try to load the iframe page in a local php page with cURL. Then just echo the results back to the output. This way it will look if its a local page on your server inside the iframe. I don't know if the affil will have problems with this though as you are nuking your referrer this way.

Let me know if you need any php code to try this.

You can set the referrer to whatever you want when requesting a page with cURL. But only do this if you are looking to give your network a good reason to ban you. PHP = serverside, and everytime cURL grabs the contents of the page your server IP would be used..
 
i haven't actually tested this but here's the theory:

have 2 iframes, 1 inside the other one.

someone looking at the page source (on the outer iframe) will only see the url of the inner iframe.

if they try to do a "view this frame", then you have a script on the inner iframe page which detects that it's been popped, and redirects them somewhere else so they can't see what your actual affiliate url is.

requires a little bit of coding, but i think it'll effectively hide your affiliate url.
 
Well what Grizzy says seems very valid. I hadn't thought about that but indeed it will always come from your server IP. Then when someone enters the information they are being sent to the affil and the affil suddenly sees a different IP.

Anyhow, here is some code:

<?php

$url = "hxxp:// affil . link . c0m/";
$ref = "hxxp:// my . website . c0m/";
$useragent = $_SERVER['HTTP_USER_AGENT'];

$s = curl_init();
curl_setopt($s,CURLOPT_URL,$url);
curl_setopt($s,CURLOPT_HTTPHEADER,array('Expect:'));
curl_setopt($s,CURLOPT_USERAGENT,$useragent);
if (!empty($ref)) curl_setopt($s,CURLOPT_REFERER, $ref);
curl_setopt($s,CURLOPT_AUTOREFERER, true);
curl_setopt($s,CURLOPT_FOLLOWLOCATION, true);
curl_setopt($s,CURLOPT_MAXREDIRS, 5);
curl_setopt($s,CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($s);
curl_close($s);
echo $content;

?>


Please note that it might be needed to do some strreplace to modify the target of the form in the html.

(replace the hxxp urls by valid urls, seems i am not allowed to post URLs yet)
 
saxgod
perfectly if also can change IP :D
thanks for share mate
 
Back
Top