[ SEA-GHOST MINI SHELL]
<html>
<body bgcolor='AAAAFF'>
<h1>Generate Title with Drop Shadow</h1><br>
<form action="shadowHTML.php" method="get">
Title: <input type="text" name="title"><br>
Background Image:
<?php
$tdir = dirname($_SERVER["PATH_TRANSLATED"]);
$tdir .= "/images/";
$dh = opendir($tdir);
echo "<select name=\"bgimg\">\n";
while (($file = readdir($dh)) !== false) {
if (filetype($tdir . $file) == 'file' && (str_replace('.','',strstr($file, '.')) == 'png' || str_replace('.','',strstr($file, '.')) == 'PNG' || str_replace('.','',strstr($file, '.')) == 'jpg' || str_replace('.','',strstr($file, '.')) == 'JPG'))
//echo "<!-- ". mime_content_type($file)."-->\n";
echo "<option value='$file'>$file</option>\n";
// echo "filename: $file : filetype: " . filetype($tdir . $file) . "<br>\n";
}
echo "</select>\n";
closedir($dh);
?>
<br>
Font:
<?php
$tdir = dirname($_SERVER["PATH_TRANSLATED"]);
$tdir .= "/fonts/";
$dh = opendir($tdir);
echo "<select name=\"font\">\n";
while (($file = readdir($dh)) !== false) {
if (filetype($tdir . $file) == 'file'&& (str_replace('.','',strstr($file, '.')) == 'ttf' || str_replace('.','',strstr($file, '.')) == 'TTF'))
echo "<option value='$file'>$file</option>\n";
// echo "filename: $file : filetype: " . filetype($tdir . $file) . "<br>\n";
}
echo "</select>\n";
closedir($dh);
?>
<br>
Font Size: <input type="text" name="size" value="20"><br>
Angle of text: <input type="text" name="angle" value="0"><br>
Offset of Shadow (with reguards to the original text):<input type="text" name="offset" value="1"><br>
Depth (thickness) of Shadow: <input type="text" name="depth" value="2"><br>
<input type="submit" name="Generate HTML">
</form>
<br><hr><br>
<h2>Notes:</h2>
<p><b>Background Image</b>: Background image can be either a JPG or a PNG (no gifs, but PNG can do just about everything GIF can). Place images to be used as background images in the "images" folder. They will automatically be added to the pulldown menu.
</p>
<p><b>Fonts</b>: Almost any True Type Font (TTF) can be used. To use a font just move it to the "fonts" folder. They will automatically be added to the pulldown menu. Some rare TTF fonts will not work, and will produce blocky characters.
</p>
<p><b>Font Size and Title</b>: These are fairly straight forward: the size of the font (in points), and the text of the title. !NOTE!: Currently, the maximum number of characters for the title is 44 (at least with the background image, font and size I've been testing). I'm not sure why. If this is a problem, I can probably fix it.<br> If the font size is too big, part of the text will dissapear.
</p>
<p><b>Angle of Text</b>: An angle of '0' means horizontal text. '90' is straight up. '-90' or '270' are straight down. Anything more than +or-90 will be to the left of the image.
</p>
<p><b>Offest of Shadow</b>: An offset of 1 means that the shadow will touch the original text. A larger number will cause it to be cast farther down and to the right (giving the impression the text is floatin). A negative number will make it apear to the top and left.
</p>
<p><b>Depth</b>: This is how thick the shadow is. It gets lighter at the edges.
</p>
</body>
</html>
SEA-GHOST - SHELL CODING BY SEA-GHOST