my.php file runs whenever a jpeg file is requested. The directive looks like....
<Directory "/opt/lampp/htdocs/images/">
AddHandler image/jpeg .jpg
Action image/jpeg /opt/lampp/cgi-bin/my.php
</Directory>
again, this works, however, the jpeg image does not display in the browser. I need my.php to run AND the jpeg file that was requested to be displayed in the browser.
thanks for any help.
<Directory "/opt/lampp/htdocs/images/">
AddHandler image/jpeg .jpg
Action image/jpeg /opt/lampp/cgi-bin/my.php
</Directory>
again, this works, however, the jpeg image does not display in the browser. I need my.php to run AND the jpeg file that was requested to be displayed in the browser.
thanks for any help.