Best Blackhat Forum

Full Version: Show any website under Your Domain Name - Duplicate Content Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you want to show a website under your Domain Name use the code below:

PHP Code:
<?php 
$url 
"sample.com";
$ch curl_init($url);
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
$curl_scraped_page curl_exec($ch);
curl_close($ch);


echo 
$curl_scraped_page;
 

?>

You could always try copying the source by hand or using a program like HTTrack:
Code:
http://www.httrack.com/

You could try str_replace() or preg_match_all(), it somewhat like a proxy,
check this out http://snoopy.sourceforge.net . yet its very hard to meet all HTML tags by use a solid script or method if your site has a complex structure.

Or Use the code below:
PHP Code:
<?php
   
function get_contents($url){
                
$ch curl_init();     
                
curl_setopt ($chCURLOPT_URL$url);     
                
curl_setopt ($chCURLOPT_RETURNTRANSFER1);
                
curl_setopt ($chCURLOPT_TIMEOUT1000); 
                
$file_contents curl_exec($ch);     
                
curl_close($ch);
                return 
$file_contents;
        }
        
        
$data=get_contents("http://www.google.com");
        
$data str_replace("google","yahoo",$data); 
        echo 
$data;
?>
Though images, css and js won't work.

I'll share more helpful information/guide soon. [Image: smile.gif]
Press THANKS or REP me if you found it useful. [Image: cool.gif]
so what's the use for this?
Hi all. I think best black hat forum is best forum to SEO.
Reference URL's