I'm still bored so I made up a ceaser cipher in php.
Here is the function
function ceaser($clicks,$input) {
//set output to stop errors from showing
$output = "";
//get the length of the string once to aid in efficency
$str_len = strlen($input);
//encryption loop
for($i=0;$i<$str_len;$i++) {
//get the ascii value of the current character
$cur_char = ord(substr($input,$i,1));
//if this is an upper case letter
if($cur_char > 64 && $cur_char < 91) {
//turn the letter into its position in the alphebet
$cur_char = $cur_char - 65;
//move the position according to clicks and turn the position
//back into the value of the ascii letter
$cur_char = ($cur_char + $clicks)%26 + 65;
//if this is a lower case letter
} elseif ($cur_char > 96 && $cur_char < 123) {
//turn the letter into its position in the alphebet
$cur_char = $cur_char - 97;
//move the position according to clicks and turn the position
//back into the value of the ascii letter
$cur_char = ($cur_char + $clicks)%26 + 97;
} //end if
$output .= chr($cur_char);
} //end for
return $output;
} //end rot13
the attachment is a complete working example