G2A Many GEOs
SHARE
TWEET

image.php

a guest Jun 21st, 2019 18 in 23 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. include_once 'connect.php';
  3. $sql = "SELECT image, image_format FROM images WHERE image_id = ".(int)$_GET['id'];
  4. $req = mssql_query ($sql);
  5. if (!$req) {
  6.     die('MSSQL error: ' . mssql_get_last_message());
  7. }
  8. $res = mssql_fetch_row($req);
  9. header('Content-type: ' . $res[1]);
  10.  
  11. echo $res[0];
  12.  
  13. mssql_free_result($req);
  14. ?>
RAW Paste Data
Ledger Nano X - The secure hardware wallet
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top