Categories

Adverising

Blogroll

Everyone working on internet marketing knows that it is required to rotate landing pages to test which landing pages can have better CTR and convert better. Here is code which I have been using.

1. Create index.php and paste the following code. $landingpage[1] =

is where you need to keep on adding landingpages as $landingpage[1], $landingpage[2], $landingpage[3] and so on. all landing pages should be in same directory.

———

<?

//Tracking202 Landing Page Rotation Script

//landing pages filenames, theses will be rotated between eachother
//theses landing pages must be in the same DIRECTORY as this file
//you can add as many landing pages here as you like
$landingpage[1] = ‘fb1.htm’;
$landingpage[2] = ‘fb2.htm’;

//this is the text file, which will be stored in the same directory as this file,
//count.txt needs to be CHMOD to 777, full privlledges, to read and write to it.
$myFile = “count.txt”;

//open the txt file
$fh = @fopen($myFile, ‘r’);
$lpNumber = @fread($fh, 5);
@fclose($fh);

//see which landing page is next in line to be shown.
if ($lpNumber >= count($landingpage)) {
$lpNumber = 1;
} else {
$lpNumber = $lpNumber + 1;
}

//write to the txt file.
$fh = fopen($myFile, ‘w’) or die(“can’t open file”);
$stringData = $lpNumber . “\n”;
fwrite($fh, $stringData);
fclose($fh);

//include the landing page
include_once($landingpage[$lpNumber]);

//terminate script
die();

?>

——–

2. Create count.txt , empty file

3. I have more than one scripts to rotate landing pages and I can’t recall where I copied this code from but this really is helpful to me. I am grateful to the person who posted this code on internet.

none

As windows used 32bit block numbers lowest storage stack, this actually limit to support single storage drives (LUNs) using hardware raid not having more than 2TB.  In order to have logical disk more than 2TB, disk format must convert from MBR (Master boot record) to GPT (GUID partition tables) to be usable.

How to convert from MBR to GPT

1. download diskpart

2. use diskpart command. Open command prompt-> type diskpart

3. at diskpart prompt, type list disk.

4. at the diskpart prompt, type select disk <disk number>

5. at the diskpart prompt, type clean. Clean command will delete partitions and volumns on the disk

6. then type convert gpt


references:

none

Most commented

  • None found