Bursting Horizon

September 15th, 2005 | Comments

Exploiting all the possible colors in a sunset overlooking a modern bridge best mountains. There’s a surprise if you look closely enough. Uses blends, saturations, and blurs.

cascades

  • Share/Bookmark

Affiliate Redirection Tracking

September 11th, 2005 | Comments

This tutorial will track all the hits (clicks) that you give your affiliates. Again, thanks to Maddy for the script. ^^ This tutorial assumes you will be adding your first TWO affiliates.

First open your text editor, create a new file, enter a number (e.g. 16) and save it as 1.txt. Repeat the process and save the file as 2.txt.

Next, open a new file in your text editor and paste these codes:

//function to track clicks - Do not alter
function countaff($affid)

{
$filename=$affid.".txt";

//this opens the text file which stores the hit value
$fp=fopen("$filename","r+");
flock($fp,1);

//this command will get the first 6 digits - it's 6 digit counter
$count=fgets($fp,6);
$count+=1;
rewind($fp);
fputs($fp,$count);
flock($fp,3);
fclose($fp);
}

//your 1st affy's stats
if($affid=="01"){
countaff(1);
Header("Location: http://www.first_affiliate_url/");
}//your 2nd affy's stats

if($affid=="02"){
countaff(2);
Header("Location: http://www.second_affiliate_url/");

}
?>

Edit the bold text to the URL of your affiliates and save this file as affiliate.php. Creat a new file again and paste these codes:

Redirection Statistics of Affiliates
function filename($file)
{
$ff="$file.txt";
readfile($ff)or die("Could not read");
}

echo "<li>Name Of First Affiliate : ";
filename(1);
echo "</li><li>Name of Second Affiliate: ";
filename(2);
?></li>

Save this file as stats.php. Now, upload all the files to your server. CHMOD all .txt files (e.g. 01.txt and 02.txt) to 666.

At your main page you should link your two affiliates like this:affiliate.php?affid=01 or affiliate.php?affid=02, depending on the number you designated for your affiliate.

There! You can add as many affiliates as you want as long as you create a new text file for them, name it correctly, CHMOD it to 666, and edit affiliate.php and stats.php accordingly.

  • Share/Bookmark

Category: MySQL, PHP, Web Design

Death Scythe

September 10th, 2005 | 1 Comment

I was playing around with layers and blending options when I made this. I mirrored the image just for the effect also. I also made a layout with this same image, with the same title. =)

made by licorne
Title: Death Scythe
Made by : Licorne
Series: Sailormoon
[ 800 x 600 ] [ 1024 x 747 ]

  • Share/Bookmark