Jump to content

Why does not this work ?-images


Rommeo

Recommended Posts

I have images that I m using like

 

<img src = "myimage.jpg">

 

I want to avoid my images to be downloaded. There was a way that I forget, you write the images like :

 

<img src = "showimage.php?id=53-24">

 

but for this way, what's the code in showimage.php ? 

I tried this but it didnt work;

<?php
$myimage=$_GET['id']
echo "photofolder/$myimage".".jpg".";
?>

Can someone tell me what should I write in showimage.php file ?

Link to comment
https://forums.phpfreaks.com/topic/183335-why-does-not-this-work-images/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.