0byt3m1n1
Path:
/
home
/
artemisi
/
public_html
/
phpGenImageTest__3e4c3ab
/
[
Home
]
File: shadowHTML.php
<?php $bgimg = $_GET['bgimg']; if (strlen($bgimg)<1) $bgimg = "bluegradient.jpg"; $title = $_GET['title']; if (strlen($title)<1) $title = "Bid Item"; $font = $_GET['font']; if (strlen($font)<1) $font = "BOOKOS.TTF"; $size = $_GET['size']; if (strlen($size)<1) $size = 20; $angle = $_GET['angle']; if (strlen($angle)<1) $angle = 0; $offset = $_GET['offset']; if (strlen($offset)<1) $offset = 1; $depth = $_GET['depth']; if (strlen($depth)<1) $depth = 2; //$tdir = dirname($_SERVER["PATH_TRANSLATED"]); $t = dirname($_SERVER["HTTP_HOST"].$_SERVER["PHP_SELF"]); //$t = $_SERVER["HTTP_HOST"].$_SERVER["PHP_SELF"]; $tdir = "http://".$t; //echo $t; $the_html=$tdir."/titlemaker.php?title=".urlencode($title)."&bgimg=".urlencode($bgimg)."&font=".urlencode($font)."&size=".urlencode($size)."&angle=".urlencode($angle)."&offset=".urlencode($offset)."&depth=".urlencode($depth); echo "Here is the html to generate your image:<br><div style=\"border:thin solid #666666;overflow: auto; background-color: #FFFFCC;width:auto;text-align: left;padding: 5px;\"><img src=\"".$the_html."\"></div>"; echo "<br>If the html file you are using the above image in is not in the same directory as \"titlemaker.php\", you must add the path information. (for example: <img src=\"../otherdir/titlemaker.php?title=...)<br>Here is what the image will look like:<br> <img src=\"".$the_html."\">"; echo "<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br>yeah!"; ?>