Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_GET['id'])) {
- $file = dirname(FILE).'/up/' . (int)$_GET['id'] . '.' . 'png';
- $im = imagecreatefrompng($file);
- }
- else
- echo 'не указан id';
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement