- Joined
- Dec 16, 2011
- Messages
- 1,994
- Reaction score
- 633
Hello there, I'm making a little script where it'll grab an image, IE:
Now, I started on a little script;
Now, that's just a small base script I started, but I was wondering if someone could possibly make the script more clean, and/or help me with making it so people can't just right click on the image and open it in a new tab.
You must be registered to see links
Now, I started on a little script;
PHP:
<?php
$url = "http://website.com";$png = $_GET['png'];if(is_numeric($png)){?><img src=<?php echo $url, $png; ?>.gif'><?php print("<br /><br /> Text will go under the image");}else{ print("The image you were looking for wasn't found!");}?>
Now, that's just a small base script I started, but I was wondering if someone could possibly make the script more clean, and/or help me with making it so people can't just right click on the image and open it in a new tab.