Posts

Capture Screenshot of Website from URL using PHP

Image
  In this post, we gonna write a simple PHP script to grab the given website URL screenshot. There are many solutions to capture screenshots of Web pages. Using the Google Page Speed API is often better because internally Google uses the Chrome browser to capture exactly the way pages are presented to users. In this tutorial we gonna use Bootstrap for design. Let’s create an HTML form to collect URLs from the user. Output: HTML Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50   <!doctype html> <html lang = "en" >    <head>      <meta charset = "utf-8" >      <meta name = "viewport" content = "width=device-width, initial-scale=1" >      <title> How to Take Website Screen Shot From URL in PHP </title>        <link rel = "stylesheet" href = "ht...