Post July Update – No affiliate links

Wow – so I realized nothing on this website was updated May.

In addition, Google Analytics was not tracking, so no baseline or metrics are visible.

Hey, if we’re going to turn this in to a part-affiliate, part-how-to-generate income with your projects website, then we need to place things here.

Time, technology and burnout?

So what are you using for affiliate links on your website?

Performing a quick search for ‘affiliate links plugin’ really does not produce anything new. Lot’s of paid affiliate link solutions and some that are way too complicated to simply setting up a simple redirection.

Redirection?

Turns out one can accomplish this with a redirection plugin. This fine gent has a great posting on this here.

Go link now!

 

 

 

Show files within directory on server

 

[pastacode lang="php" message="Show files within directory" highlight="" provider="manual"]

<?php
// reading files in directory
$directory = "C:/My file path";
$directory = "";	// files within current directory

// show .php files
$phpfiles = glob($directory . "*.php");
foreach($phpfiles as $phpfile)
{
echo "<a href=$phpfile>".basename($phpfile)."</a><br/>";
}


echo '<h2>.htm files</h2>';
// show .htm files
$phpfiles = glob($directory . "*.htm");

foreach($phpfiles as $phpfile)
{
echo "<a href=$phpfile>".basename($phpfile)."</a><br/>";
}

echo '<h2>.html files</h2>';
// show .html files
$phpfiles = glob($directory . "*.html");

foreach($phpfiles as $phpfile)
{
echo "<a href=$phpfile>".basename($phpfile)."</a><br/>";
}
exit;
?>

[/pastacode]

Findings in WordPress, Development & Design