Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. if ($_REQUEST['type']=='jpg') {
  2. header('Content-Type: image/jpeg');
  3. } else if ($_REQUEST['type']=='png') {
  4. header('Content-Type: image/png');
  5. }
  6.  
  7. HTTP/1.1 200 OK
  8. Date: Mon, 27 Jun 2016 05:23:58 GMT
  9. Server: Apache/2.2.31 (Amazon) DAV/2 PHP/5.3.29
  10. X-Powered-By: PHP/5.3.29
  11. Expires: Tue, 27 Jun 2017 05:23:58 GMT
  12. Cache-Control: max-age=31536000
  13. Last-Modified: Tue, 28 Apr 2015 21:30:32 GMT
  14. Vary: Accept-Encoding
  15. Content-Encoding: gzip
  16. Content-Length: 1887
  17. Connection: close
  18. Content-Type: image/png
  19.  
  20. HTTP/1.1 200 OK
  21. Date: Mon, 27 Jun 2016 05:23:18 GMT
  22. Server: Apache/2.2.31 (Amazon) DAV/2 PHP/5.3.29
  23. X-Powered-By: PHP/5.3.29
  24. Expires: Tue, 27 Jun 2017 05:23:18 GMT
  25. Cache-Control: max-age=31536000
  26. Vary: Accept-Encoding
  27. Content-Encoding: gzip
  28. Content-Length: 15704
  29. Connection: close
  30. Content-Type:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement