<form action= "screenshot_it.php" > website address (without http://): <br/><input name= "Site" type= "text" size= "15" Value= "www." /> <br/> Size: <br/><input name= "x" type= "text" value= "" size= "3"/>x<input name= "y" type= "text "Value=" 1000 size= "3"/>px<br/> Picture format: <br/><select name= "format" > <option value= "PNG" >PNG </option> <option value= "JPEG" >JPEG</option> </select> <br/><br/><input type = "Submit" Name= "Preview" value= "Generate screenshot"/></form>
<?php $x = $_request[' x '];
$y = $_request[' y '];
$format = $_request[' format '];
$site = $_request[' site ']; $surl = ' http://0907.org/screenshot/screenshot_it.php?site= '. $site. '
&x= '. $x. ' &y= '. $y. ' &format= '. $format;
if ($_request[' format '] = = ' png ') {$IFM = ' png ';} else {$ifm = ' jpg ';} $IMT = ' image/'. $IFM; $IFN = ' screenshot. '
$IFM; if (isset ($_request[' preview ')) {$iurl = ' http://domain name/subdirectory/screenshot_it.php?site= '. $site. '
&x= '. $x. ' &y= '. $y. ' &format= '. $format; For example: http://0907.org/screenshot/screenshot_it.php?site= '. $site. '
&x= '. $x. ' &y= '. $y. ' &format= '. $format;
$gwptitle = $_request[' site ']. ' blog.0907.org '; Include_once ("..
/css.php "); Here you can delete yo!
Because it is the CSS echo ' <div class= ' status4xx ' > '; Echo '»<b> click picture Download screenshot! </div></b><br/><a href= "'. $iurl. '"
></a><br/> "; else {header ("Content-type: $imt"); header ("Content-disposition:attachment;
Filename= $IFN ");ReadFile ($surl); }?>