Advertisement
underbottom

Untitled

Jan 27th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. <?php
  2. if (isset($_GET['image'])) {
  3.     $path = $_GET['image'];
  4.     $imageName = [
  5.         'semen' => 'img/semen.jpg',
  6.         'ilya' => 'img/ilya.jpg',
  7.         'cry' => 'img/cry.jpg',
  8.         '444' => 'img/444.jpg'
  9.     ];
  10.     $path = $imageName[$path];
  11.  
  12.     echo '<img src=' . $path . '>';
  13. }else{
  14.     echo 'ПОШЁЛ НА ХУЙ';
  15. }
  16.  
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement