You are here: Re: Trouble with AddType application/x-httpd-php .png « PHP Programming Language « IT news, forums, messages
Re: Trouble with AddType application/x-httpd-php .png

Posted by Rik Wasmus on 10/26/07 22:01

On Fri, 26 Oct 2007 23:39:14 +0200, Kevin Blount <kevin.blount@gmail.com>
wrote:
> AddType application/x-httpd-php .png
> RewriteEngine On
> RewriteRule .png /phpsigs/create-sig.php
>
>
> basically just redirects all .PNG requests to a single PHP script, I
> can then grab the file name, etc and personalize the image being
> returned.

Hmm, either parse png's for code, or rewrite the url's. Doing both is just
silly, so I'd lose the AddType...
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация