PHP implements real-time websites. Formactionscreenshot_it.php website address (not included): brinputnamesitetypetextsize15valuewww.br size: brinputnamextypetextvalue800size3xinputnameyty
$ 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 ';
}
$ MMS = 'image/'. $ ifm;
$ FN = 'screenshot. '. $ ifm;
If (isset ($ _ REQUEST ['preview']) {
$ Iurl = 'http: // domain name/subdirectory/screenshot_it.php? Site = '. $ site.' & x = '. $ x.' & y = '. $ y.' & format = '. $ format;
// Example: http://0907.org/screenshot/screenshot_it.php? Site = '. $ site.' & x = '. $ x.' & y = '. $ y.' & format = '. $ format;
$ Gwptitle = $ _ REQUEST ['site']. 'blogtail907.org ';
Include_once ("../css. php ");
// You can delete it here! Because it is CSS
Echo'
';
Echo '»Click to download the image!
';
} Else {
Header ("Content-type: $ IBD ");
Header ("Content-Disposition: attachment; filename = $ FN ");
Readfile ($ surl );
}
?>
Http://www.bkjia.com/PHPjc/532683.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532683.htmlTechArticleform action = screenshot_it.php site address (without http: //): br/input name = site type = text size = 15 value = www. /br/size: br/input name = x type = text value = 800 size = 3/xinput name = y ty...