Welcome to Get BlackHat the best place to learn SEO, Affiliate and Internet Marketing Register Now to access everything

Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VIP] My PHP script to generate Mediafire-cloned pages
#1
Quote:As requested, here is the PHP script including
the complete HTML, stylesheet and images of the Mediafire clone I
created. Instructions and download for the images are below.

The method was outlined here:
You must post to unlock this link

.
<?php

$titlefile
=file_get_contents("dltitle.txt");

$sizefile=file_get_contents("dlsize.txt");

$title=explode("\n",$titlefile);

$size=explode("\n",$sizefile);

$s=count($title);

for(
$i=0;$i<$s;$i++)

//generate file name

$qfname=str_replace("\n","",$title[$i]);

$qfname=str_replace(" ","-",$qfname);

$qfname=str_replace("?","",$qfname);

$html='<html>

<head>

<title>'
.$title[$i].' <br/>');

}

?>
.
Images and stylesheet (upload to /images/):
You must post to unlock this link
[/url] (Is it ironic that I uploaded to Mediafire?) [Image: biggrin.gif]

Save the PHP file as something unique, for example 'mediafiregen.php".
You will need to create two text files and upload them to the same
directory, titled 'dltitle.txt' and 'dlsize.txt'. In these files, you
add the file titles and sizes, respectively, on separate lines. Once
they are uploaded, load yourdomain.com/mediafiregen.php in to your
browser. The browser will return a page displaying the URLs of all pages
created, along with the file title in a format that can be imported
straight in to Scrapebox, like this:

.
You must post to unlock this link
{Apostle of Hustle - Folkloric Feel (2005, 320kbps + covers)}

You must post to unlock this link
{Bernard Fanning - Tea and Sympathy (2005)}

You must post to unlock this link
{Bjork (complete) discography}

You must post to unlock this link
{Broken
Social Scene Discography}
.
I'm no PHP guru, so I didn't code any
kind of security I'm afraid. I guess as long as you keep the PHP file
title completely unique, you should be safe.

I've only used this to generate up to 200 pages at a time. To order the
file titles and sizes fast, I copy and paste downloads from torrent
sites in to excel. With some tweaking you can get the titles and sizes
in two columns, and then copy and paste each column in to notepad!

Good luck with using this.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)