Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link href='https://fonts.googleapis.com/css?family=Orbitron' rel='stylesheet' type='text/css'>
- <style>
- h1,#scan{
- font-family: 'Orbitron', sans-serif;
- }
- </style>
- <center>
- <h1>Extract Information Behind Any Image -H4T3D</h1>
- <form action="" method="POST">
- Image Url : <input type="text" name="url" size="50" value="http://fotoforensics.com/img/books-orig.jpg">
- <input type="submit" name="scan" id="scan" value="Image Url">
- </form>
- </center>
- <?php
- error_reporting(0);
- if(isset($_POST["url"])){
- $url=$_POST["url"];
- $content = file_get_contents($url);
- file_put_contents('iamge.jpg', $content);
- $exif = exif_read_data("iamge.jpg", 0, true);
- echo"<table style=\"width:100%\" border=\"10px\">";
- foreach ($exif as $key => $section) {
- foreach ($section as $name => $val) {
- echo "<tr><th>$key</th><td>$name: $val</td></tr>\n";
- }
- }
- echo"</table>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement