View Single Post
Old 05-08-2007, 02:20 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,130
Quote:
Originally Posted by SilentSpic View Post
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.
Ok, back

None of that is going to work for what you are trying to do.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote