Jump to content

mateamargo

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mateamargo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks people. I don't even know about that kind of queries.
  2. I need to list all the tables from a database dinamically. Is there any way to do that? Thanks.
  3. The technique you are looking for is [b]Obfuscation[/b]. Try searching google about that. Look if this works for you: [a href=\"http://www.yuki-onna.co.uk/html/encode.html\" target=\"_blank\"]http://www.yuki-onna.co.uk/html/encode.html[/a]
  4. I think you misunderstood my problem. I have already the file in my database into a longblob column, and also I have the original file name and the file type. [b]getimage.php[/b] page [code] <?php require_once("filedisplay.class.php"); $id = $_GET["id"]; $ob_disp = new filedisplay(); $row = mysqli_fetch_array($ob_disp->get_by_id($id)); header("Content-Type:".$row["file_type"]); echo $row["file_blob"]; ¿> [/code] [b]MAIN.php[/b] page [code] <img src="getimage.php?id=1" /> [/code] The image displays correctly, the ID 1 is just for the example. I want that when I save the image into my disk (right click on it and "Save image as...") appears the real image name (that I have stored in "file_name" field into my database. It is clear now? Thanks!
  5. I have an image in a blob column. In a page called getimage.php I do an echo of the content, and the image displays correctly in the main.php so, I use [b]<img src="getimage.php?id=1" />[/b] The problem is when I save the picture to the disk the name is getimage.jpg. I have the original name saved into the database, is there any way to display the original name when saving? Thanks.
×
×
  • 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.