Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Results 1 to 2 of 2

Thread: Opening Images into html using htaccess?




  1. #1
    Join Date
    Apr 2007
    Posts
    7

    Default Opening Images into html using htaccess?

    Addhandler Images into php or html
    <hr style="color: black;" size="1"> <!-- / icon and title --> <!-- message --> I know this is possible but cannot find it anywhere how to fix this. I would like to open all of my images into a php or html file using htaccess.

    Following line were placed in htaccess:

    AddHandler headered .jpg
    Action headered /header/header.php

    Then in the header.php, I've placed:
    <?php

    $header = "header.html";
    $footer = "footer.html";

    $image = $_SERVER["PATH_TRANSLATED"];
    readfile($header);
    readfile($image);
    readfile($footer);

    ?>

    But the above is opening images as a file. Please Help. Thanks.
    <!-- / message --><!-- sig --> __________________

  2. #2
    Join Date
    Apr 2007
    Posts
    7

    Default Re: Opening Images into html using htaccess?

    Basically this is what I need. All of my gallery images opens up in the browser like this.

    http://silentpix.com/gallery/nsfw/pl...titties/00.jpg

    is there a way I can open all images to look like this...

    http://silentpix.com/image.html

    using htaccess so I don't have to recreate all htmls manually.

    Thank you in advance.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •