powergun
-
Posts
14 -
Joined
-
Last visited
Never
Posts posted by powergun
-
-
another code will also work for me ,
what i am looking is to accept just one referrer visitors to domain.com/thispage.html
when i use the code given above it blocks all visitors but accept preferred referrer traffic to whole domain domain.com/1.html , 2 .html , 3 .html whole domains get effected is there any way to make the htaccess rule for just one page of domain
-
How to accept single referrer traffic to specific page of website using htaccess ?
the code given below accept single referrer traffic to whole domain , can this code be altered in a way so that only domain.com/thispage.html only get effect by the htaccess rule
RewriteEngine On RewriteCond %{HTTP_REFERER} !(www.)?example.com/download-page.php RewriteRule .* - [F]
-
can any one help ?
-
i mean how to detect referrre outside the frame ,
can this be achieved with parent.document.refererr ?
-
Hello guys ,
how to find referrer of framer website ?
for example first.com is putting 2nd.com in it as frame ...
so usually 2nd.com will see first.com as its referrer , is there any way to find referrer of first.com in 2nd.com
how to find referrer of top level domain
-
special thanks to quickoldcard very expert [quick responce]
and thank you drummin for your help
You can add the domain name to the iframe path.
<?php if(isset($_GET['frame']) && $_GET['frame'] != ""){ $frame = $_GET['frame']; } else { $frame = "./"; } ?> <iframe src="website1one.com/<?php echo $frame;?>" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
-
yes sir this code is working perfectly fine when i run this url
?frame=123.html
?frame=http://website2two.com/123.html
but i was wondering can this be done ?frame=123.html
should read as
<iframe src="http://website2two.com/123.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
instead of website1one.com/123.html
This should be able to do a simple page your own site, or also from a url
<?php if(isset($_GET['frame']) && $_GET['frame'] != ""){ $frame = $_GET['frame']; } else { $frame = "./"; } ?> <iframe src="<?php echo $frame;?>" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
-
quite similar function
but it would be perfect if i can get the output i am desiring
http://website1one.com/this-script-name/?frame=123.html
should produce this code
<iframe src="http://website2two.com/123.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
your current script code is Just Making this url in iframe 123.html
can,t it put second domain in iframe including page 123.html
i have heard using str replace it can be done ?
by using $_GET
<?php $frame = $_GET['frame']; if(isset($_GET['frame']) && $_GET['frame'] != ""){ ?> <iframe src="./<?php echo $frame;?>" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe> <?php } else { echo "no frame specified"; } ?>
usage would be to visit in the browser this type url
http://website1one.com/this-script-name/?frame=123.html
-
sir i do not want to rotate url
what i want to do is
for example when i put this url in browser http://website1one.com/?123.html
it should generate this out put in browser
<iframe src="http://website2two.com/123.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
-
i have found this code ...
<?php //default url if none is set $nourl = "http://www.domainname.com"; $url=$_GET["url"]; if(!$url) { $url=$nourl; } ?> <html> <head> <title>YOUR TITILE</title> </head> <frameset rows="85px,*" frameborder="NO" border="0" framespacing="0"> <frame src="frame.php?url=<?php echo"$url" ?>" name="frame" scrolling="NO" noresize> <frame src="<?php echo "$url"; ?>" name="main"> </frameset> <noframes> <body> </body> </noframes> </html>
how to replace "<frameset rows="85px,*" frameborder="NO" border="0" framespacing="0">
<frame src="frame.php?url=http://website.com" name="frame" scrolling="NO" noresize>
<frame src="http://website.com" name="main">
</frameset>
<noframes> to this one====== <iframe src="http://website.com" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe> ======
-
please help
-
Hello EXPERTS ,
i want to Frame many pages of same code so how to do it from one page
example 1 =
www.abcd.com/Frame1.html [has the code given below in it]
<iframe src="http://abcdsecond.com/Frame1.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
www.abcd.com/Frame2.html [has the code given below in it]
<iframe src="http://abcdsecond.com/Frame2.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
and so on , so is it possible to create one php script in www.abcd.com so when abcd.com/Frame1.html or Frame2.html or Frame3.html is run it will run this code
<iframe src="http://abcdsecond.com/Frame1.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
<iframe src="http://abcdsecond.com/Frame2.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
<iframe src="http://abcdsecond.com/Frame3.html" border="0" framespacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
would appreciate help
htaccess help need
in Apache HTTP Server
Posted
can any one provide me htaccess working code