Jump to content

merrydown

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

merrydown's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for the explanation businessman, it wasn't explicit in your initial post that it wasn't possible.  It sounded like you were saying it was bad practice.  It won't take much work to do it the other way, I converted it from file storage to database in the first place, so no biggy. Cheers again, Jim
  2. Thanks for the advice.  Point taken.  Is there a way to pass the name though?  On the size of system I am dealing with, the performance hit isn't a big deal and I'd just like to know if anyone can help me?
  3. Hi, I am storing images in a database for use on a website.  The problem is that when I try to save an image I am displaying on the page, the script name is the save name. (  The image src is typically: "view.php?imageID=3&size=thumb".  The code / headers in the script view.php which displays the images are: if (!empty($row_imageRS['image'])){     // Output the MIME header     header("Content-Type: {".$row_imageRS['mimeName']."}"); $latifah=$row_imageRS['name']; if ($_GET['size']=='main') { // Output the image     echo $row_imageRS['image'];} if ($_GET['size']=='thumb') { // Output the image     echo $row_imageRS['thumb'];} } My question is, how do I get the displayed image to right-click save as $row_imageRS['name'] ? Cheers for any help offered! Jim
×
×
  • 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.